unity-builder/action/index.js
2021-01-13 00:16:19 +01:00

1 line
2.8 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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<n.length;++r){if(typeof n[r]!=="undefined"){a.push(n[r])}}t.obj[t.prop]=a}}};var r=function arrayToObject(e,t){var i=t&&t.plainObjects?Object.create(null):{};for(var n=0;n<e.length;++n){if(typeof e[n]!=="undefined"){i[n]=e[n]}}return i};var s=function merge(e,n,a){if(!n){return e}if(typeof n!=="object"){if(i(e)){e.push(n)}else if(e&&typeof e==="object"){if(a&&(a.plainObjects||a.allowPrototypes)||!t.call(Object.prototype,n)){e[n]=true}}else{return[e,n]}return e}if(!e||typeof e!=="object"){return[e].concat(n)}var s=e;if(i(e)&&!i(n)){s=r(e,a)}if(i(e)&&i(n)){n.forEach(function(i,n){if(t.call(e,n)){var r=e[n];if(r&&typeof r==="object"&&i&&typeof i==="object"){e[n]=merge(r,i,a)}else{e.push(i)}}else{e[n]=i}});return e}return Object.keys(n).reduce(function(e,i){var r=n[i];if(t.call(e,i)){e[i]=merge(e[i],r,a)}else{e[i]=r}return e},s)};var o=function assignSingleSource(e,t){return Object.keys(t).reduce(function(e,i){e[i]=t[i];return e},e)};var u=function(e,t,i){var n=e.replace(/\+/g," ");if(i==="iso-8859-1"){return n.replace(/%[0-9a-f]{2}/gi,unescape)}try{return decodeURIComponent(n)}catch(e){return n}};var l=function encode(e,t,i){if(e.length===0){return e}var a=e;if(typeof e==="symbol"){a=Symbol.prototype.toString.call(e)}else if(typeof e!=="string"){a=String(e)}if(i==="iso-8859-1"){return escape(a).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"})}var r="";for(var s=0;s<a.length;++s){var o=a.charCodeAt(s);if(o===45||o===46||o===95||o===126||o>=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<t.length;++n){var r=t[n];var s=r.obj[r.prop];var o=Object.keys(s);for(var u=0;u<o.length;++u){var l=o[u];var c=s[l];if(typeof c==="object"&&c!==null&&i.indexOf(c)===-1){t.push({obj:s,prop:l});i.push(c)}}}a(t);return e};var d=function isRegExp(e){return Object.prototype.toString.call(e)==="[object RegExp]"};var p=function isBuffer(e){if(!e||typeof e!=="object"){return false}return!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))};var f=function combine(e,t){return[].concat(e,t)};var h=function maybeMap(e,t){if(i(e)){var n=[];for(var a=0;a<e.length;a+=1){n.push(t(e[a]))}return n}return t(e)};e.exports={arrayToObject:r,assign:o,combine:f,compact:c,decode:u,encode:l,isBuffer:p,isRegExp:d,maybeMap:h,merge:s}},,,,function(e,t,i){var n=i(87);var a=i(602);a.register("cd",_cd,{});function _cd(e,t){if(!t)t=n.homedir();if(t==="-"){if(!process.env.OLDPWD){a.error("could not find previous directory")}else{t=process.env.OLDPWD}}try{var i=process.cwd();process.chdir(t);process.env.OLDPWD=i}catch(e){var r;try{a.statFollowLinks(t);r="not a directory: "+t}catch(e){r="no such file or directory: "+t}if(r)a.error(r)}return""}e.exports=_cd},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())})};var a=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 r=a(i(87));const s=a(i(614));const o=a(i(129));const u=a(i(622));const l=a(i(1));const c=a(i(672));const d=process.platform==="win32";class ToolRunner extends s.EventEmitter{constructor(e,t,i){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=t||[];this.options=i||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,t){const i=this._getSpawnFileName();const n=this._getSpawnArgs(e);let a=t?"":"[command]";if(d){if(this._isCmdFile()){a+=i;for(const e of n){a+=` ${e}`}}else if(e.windowsVerbatimArguments){a+=`"${i}"`;for(const e of n){a+=` ${e}`}}else{a+=this._windowsQuoteCmdArg(i);for(const e of n){a+=` ${this._windowsQuoteCmdArg(e)}`}}}else{a+=i;for(const e of n){a+=` ${e}`}}return a}_processLineBuffer(e,t,i){try{let n=t+e.toString();let a=n.indexOf(r.EOL);while(a>-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;r<e.length;r++){const s=e.charAt(r);if(s==='"'){if(!n){i=!i}else{append(s)}continue}if(s==="\\"&&n){append(s);continue}if(s==="\\"&&i){n=true;continue}if(s===" "&&!i){if(a.length>0){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.length;i++){t[i]=arguments[i]}var n=e.apply(this,t);var a=t[t.length-1];if(typeof n==="function"&&n!==a){Object.keys(a).forEach(function(e){n[e]=a[e]})}return n}}},,function(e,t,i){"use strict";var n=i(897);var a=i(755);var r=i(719);e.exports={formats:r,parse:a,stringify:n}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=i(659);function encode(e,t){if(t===void 0){t="utf8"}if(Buffer.isBuffer(e)){return fromBase64(e.toString("base64"))}return fromBase64(Buffer.from(e,t).toString("base64"))}function decode(e,t){if(t===void 0){t="utf8"}return Buffer.from(toBase64(e),"base64").toString(t)}function toBase64(e){e=e.toString();return n.default(e).replace(/\-/g,"+").replace(/_/g,"/")}function fromBase64(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function toBuffer(e){return Buffer.from(toBase64(e),"base64")}var a=encode;a.encode=encode;a.decode=decode;a.toBase64=toBase64;a.fromBase64=fromBase64;a.toBuffer=toBuffer;t.default=a},function(e,t,i){"use strict";const n=i(87);const a=/\s+at.*(?:\(|\s)(.*)\)?/;const r=/^(?:(?:(?:node|(?:internal\/[\w/]*|.*node_modules\/(?:babel-polyfill|pirates)\/.*)?\w+)\.js:\d+:\d+)|native)/;const s=typeof n.homedir==="undefined"?"":n.homedir();e.exports=((e,t)=>{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<t.length;i++){if(t[i]._listener)return t[i]._listener}return undefined},set(t){const i=this.listeners(e);for(var n=0;n<i.length;n++){if(i[n]._listener)this.removeListener(e,i[n])}this.addEventListener(e,t)}})});WebSocket.prototype.addEventListener=d.addEventListener;WebSocket.prototype.removeEventListener=d.removeEventListener;e.exports=WebSocket;function initAsClient(e,t,i,n){const o=Object.assign({protocolVersion:z[1],maxPayload:100*1024*1024,perMessageDeflate:true,followRedirects:false,maxRedirects:10},n,{createConnection:undefined,socketPath:undefined,hostname:undefined,protocol:undefined,timeout:undefined,method:undefined,auth:undefined,host:undefined,path:undefined,port:undefined});if(!z.includes(o.protocolVersion)){throw new RangeError(`Unsupported protocol version: ${o.protocolVersion} `+`(supported versions: ${z.join(", ")})`)}var u;if(typeof t==="object"&&t.href!==undefined){u=t;e.url=t.href}else{u=l.URL?new l.URL(t):l.parse(t);e.url=t}const d=u.protocol==="ws+unix:";if(!u.host&&(!d||!u.pathname)){throw new Error(`Invalid URL: ${e.url}`)}const f=u.protocol==="wss:"||u.protocol==="https:";const h=f?443:80;const m=a.randomBytes(16).toString("base64");const b=f?r.get:s.get;const y=u.search?`${u.pathname||"/"}${u.search}`:u.pathname||"/";var S;o.createConnection=f?tlsConnect:netConnect;o.defaultPort=o.defaultPort||h;o.port=u.port||h;o.host=u.hostname.startsWith("[")?u.hostname.slice(1,-1):u.hostname;o.headers=Object.assign({"Sec-WebSocket-Version":o.protocolVersion,"Sec-WebSocket-Key":m,Connection:"Upgrade",Upgrade:"websocket"},o.headers);o.path=y;o.timeout=o.handshakeTimeout;if(o.perMessageDeflate){S=new c(o.perMessageDeflate!==true?o.perMessageDeflate:{},false,o.maxPayload);o.headers["Sec-WebSocket-Extensions"]=p.format({[c.extensionName]:S.offer()})}if(i){o.headers["Sec-WebSocket-Protocol"]=i}if(o.origin){if(o.protocolVersion<13){o.headers["Sec-WebSocket-Origin"]=o.origin}else{o.headers.Origin=o.origin}}if(u.auth){o.auth=u.auth}else if(u.username||u.password){o.auth=`${u.username}:${u.password}`}if(d){const e=y.split(":");o.socketPath=e[0];o.path=e[1]}var w=e._req=b(o);if(o.timeout){w.on("timeout",()=>{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<i;t+=1){arguments[t].forEach(collectType)}return e}function Schema(e){this.include=e.include||[];this.implicit=e.implicit||[];this.explicit=e.explicit||[];this.implicit.forEach(function(e){if(e.loadKind&&e.loadKind!=="scalar"){throw new a("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}});this.compiledImplicit=compileList(this,"implicit",[]);this.compiledExplicit=compileList(this,"explicit",[]);this.compiledTypeMap=compileMap(this.compiledImplicit,this.compiledExplicit)}Schema.DEFAULT=null;Schema.create=function createSchema(){var e,t;switch(arguments.length){case 1:e=Schema.DEFAULT;t=arguments[0];break;case 2:e=arguments[0];t=arguments[1];break;default:throw new a("Wrong number of arguments for Schema.create function")}e=n.toArray(e);t=n.toArray(t);if(!e.every(function(e){return e instanceof Schema})){throw new a("Specified list of super schemas (or a single Schema object) contains a non-Schema object.")}if(!t.every(function(e){return e instanceof r})){throw new a("Specified list of YAML types (or a single Type object) contains a non-Type object.")}return new Schema({include:e,explicit:t})};e.exports=Schema},function(e,t,i){"use strict";var n=i(128);var a=i(945);function isHexCode(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function isOctCode(e){return 48<=e&&e<=55}function isDecCode(e){return 48<=e&&e<=57}function resolveYamlInteger(e){if(e===null)return false;var t=e.length,i=0,n=false,a;if(!t)return false;a=e[i];if(a==="-"||a==="+"){a=e[++i]}if(a==="0"){if(i+1===t)return true;a=e[++i];if(a==="b"){i++;for(;i<t;i++){a=e[i];if(a==="_")continue;if(a!=="0"&&a!=="1")return false;n=true}return n&&a!=="_"}if(a==="x"){i++;for(;i<t;i++){a=e[i];if(a==="_")continue;if(!isHexCode(e.charCodeAt(i)))return false;n=true}return n&&a!=="_"}for(;i<t;i++){a=e[i];if(a==="_")continue;if(!isOctCode(e.charCodeAt(i)))return false;n=true}return n&&a!=="_"}if(a==="_")return false;for(;i<t;i++){a=e[i];if(a==="_")continue;if(a===":")break;if(!isDecCode(e.charCodeAt(i))){return false}n=true}if(!n||a==="_")return false;if(a!==":")return true;return/^(:[0-5]?[0-9])+$/.test(e.slice(i))}function constructYamlInteger(e){var t=e,i=1,n,a,r=[];if(t.indexOf("_")!==-1){t=t.replace(/_/g,"")}n=t[0];if(n==="-"||n==="+"){if(n==="-")i=-1;t=t.slice(1);n=t[0]}if(t==="0")return 0;if(n==="0"){if(t[1]==="b")return i*parseInt(t.slice(2),2);if(t[1]==="x")return i*parseInt(t,16);return i*parseInt(t,8)}if(t.indexOf(":")!==-1){t.split(":").forEach(function(e){r.unshift(parseInt(e,10))});t=0;a=1;r.forEach(function(e){t+=e*a;a*=60});return i*t}return i*parseInt(t,10)}function isInteger(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1===0&&!n.isNegativeZero(e))}e.exports=new a("tag:yaml.org,2002:int",{kind:"scalar",resolve:resolveYamlInteger,construct:constructYamlInteger,predicate:isInteger,represent:{binary:function(e){return e>=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<r.length;s++)_addRule(e,r[s],t)}else{_addRule(e,r,t)}var o=t.metaSchema;if(o){if(t.$data&&this._opts.$data){o={anyOf:[o,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}}t.validateSchema=this.compile(o,true)}}i.keywords[e]=i.all[e]=true;function _addRule(e,t,n){var r;for(var s=0;s<i.length;s++){var o=i[s];if(o.type==t){r=o;break}}if(!r){r={type:t,rules:[]};i.push(r)}var u={keyword:e,definition:n,custom:true,code:a,implements:n.implements};r.rules.push(u);i.custom[e]=u}return this}function getKeyword(e){var t=this.RULES.custom[e];return t?t.definition:this.RULES.keywords[e]||false}function removeKeyword(e){var t=this.RULES;delete t.keywords[e];delete t.all[e];delete t.custom[e];for(var i=0;i<t.length;i++){var n=t[i].rules;for(var a=0;a<n.length;a++){if(n[a].keyword==e){n.splice(a,1);break}}}return this}function validateKeyword(e,t){validateKeyword.errors=null;var i=this._validateKeyword=this._validateKeyword||this.compile(r,true);if(i(e))return true;validateKeyword.errors=i.errors;if(t)throw new Error("custom keyword definition is invalid: "+this.errorsText(i.errors));else return false}},,,function(e,t,i){const n=i(39);const{OPError:a,RPError:r}=i(572);const s=i(564);const o=i(166);const u=i(933);const{CLOCK_TOLERANCE:l,HTTP_OPTIONS:c}=i(468);const d=i(368);const{setDefaults:p}=i(204);e.exports={Issuer:n,Registry:s,Strategy:o,TokenSet:u,errors:{OPError:a,RPError:r},custom:{setHttpOptionsDefaults:p,http_options:c,clock_tolerance:l},generators:d}},function(e,t,i){var n=i(11);e.exports=n(once);e.exports.strict=n(onceStrict);once.proto=once(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})});function once(e){var t=function(){if(t.called)return t.value;t.called=true;return t.value=e.apply(this,arguments)};t.called=false;return t}function onceStrict(e){var t=function(){if(t.called)throw new Error(t.onceError);t.called=true;return t.value=e.apply(this,arguments)};var i=e.name||"Function wrapped with `once`";t.onceError=i+" shouldn't be called more than once";t.called=false;return t}},function(e){e.exports=["ac","com.ac","edu.ac","gov.ac","net.ac","mil.ac","org.ac","ad","nom.ad","ae","co.ae","net.ae","org.ae","sch.ae","ac.ae","gov.ae","mil.ae","aero","accident-investigation.aero","accident-prevention.aero","aerobatic.aero","aeroclub.aero","aerodrome.aero","agents.aero","aircraft.aero","airline.aero","airport.aero","air-surveillance.aero","airtraffic.aero","air-traffic-control.aero","ambulance.aero","amusement.aero","association.aero","author.aero","ballooning.aero","broker.aero","caa.aero","cargo.aero","catering.aero","certification.aero","championship.aero","charter.aero","civilaviation.aero","club.aero","conference.aero","consultant.aero","consulting.aero","control.aero","council.aero","crew.aero","design.aero","dgca.aero","educator.aero","emergency.aero","engine.aero","engineer.aero","entertainment.aero","equipment.aero","exchange.aero","express.aero","federation.aero","flight.aero","freight.aero","fuel.aero","gliding.aero","government.aero","groundhandling.aero","group.aero","hanggliding.aero","homebuilt.aero","insurance.aero","journal.aero","journalist.aero","leasing.aero","logistics.aero","magazine.aero","maintenance.aero","media.aero","microlight.aero","modelling.aero","navigation.aero","parachuting.aero","paragliding.aero","passenger-association.aero","pilot.aero","press.aero","production.aero","recreation.aero","repbody.aero","res.aero","research.aero","rotorcraft.aero","safety.aero","scientist.aero","services.aero","show.aero","skydiving.aero","software.aero","student.aero","trader.aero","trading.aero","trainer.aero","union.aero","workinggroup.aero","works.aero","af","gov.af","com.af","org.af","net.af","edu.af","ag","com.ag","org.ag","net.ag","co.ag","nom.ag","ai","off.ai","com.ai","net.ai","org.ai","al","com.al","edu.al","gov.al","mil.al","net.al","org.al","am","co.am","com.am","commune.am","net.am","org.am","ao","ed.ao","gv.ao","og.ao","co.ao","pb.ao","it.ao","aq","ar","com.ar","edu.ar","gob.ar","gov.ar","int.ar","mil.ar","musica.ar","net.ar","org.ar","tur.ar","arpa","e164.arpa","in-addr.arpa","ip6.arpa","iris.arpa","uri.arpa","urn.arpa","as","gov.as","asia","at","ac.at","co.at","gv.at","or.at","au","com.au","net.au","org.au","edu.au","gov.au","asn.au","id.au","info.au","conf.au","oz.au","act.au","nsw.au","nt.au","qld.au","sa.au","tas.au","vic.au","wa.au","act.edu.au","catholic.edu.au","nsw.edu.au","nt.edu.au","qld.edu.au","sa.edu.au","tas.edu.au","vic.edu.au","wa.edu.au","qld.gov.au","sa.gov.au","tas.gov.au","vic.gov.au","wa.gov.au","education.tas.edu.au","schools.nsw.edu.au","aw","com.aw","ax","az","com.az","net.az","int.az","gov.az","org.az","edu.az","info.az","pp.az","mil.az","name.az","pro.az","biz.az","ba","com.ba","edu.ba","gov.ba","mil.ba","net.ba","org.ba","bb","biz.bb","co.bb","com.bb","edu.bb","gov.bb","info.bb","net.bb","org.bb","store.bb","tv.bb","*.bd","be","ac.be","bf","gov.bf","bg","a.bg","b.bg","c.bg","d.bg","e.bg","f.bg","g.bg","h.bg","i.bg","j.bg","k.bg","l.bg","m.bg","n.bg","o.bg","p.bg","q.bg","r.bg","s.bg","t.bg","u.bg","v.bg","w.bg","x.bg","y.bg","z.bg","0.bg","1.bg","2.bg","3.bg","4.bg","5.bg","6.bg","7.bg","8.bg","9.bg","bh","com.bh","edu.bh","net.bh","org.bh","gov.bh","bi","co.bi","com.bi","edu.bi","or.bi","org.bi","biz","bj","asso.bj","barreau.bj","gouv.bj","bm","com.bm","edu.bm","gov.bm","net.bm","org.bm","bn","com.bn","edu.bn","gov.bn","net.bn","org.bn","bo","com.bo","edu.bo","gob.bo","int.bo","org.bo","net.bo","mil.bo","tv.bo","web.bo","academia.bo","agro.bo","arte.bo","blog.bo","bolivia.bo","ciencia.bo","cooperativa.bo","democracia.bo","deporte.bo","ecologia.bo","economia.bo","empresa.bo","indigena.bo","industria.bo","info.bo","medicina.bo","movimiento.bo","musica.bo","natural.bo","nombre.bo","noticias.bo","patria.bo","politica.bo","profesional.bo","plurinacional.bo","pueblo.bo","revista.bo","salud.bo","tecnologia.bo","tksat.bo","transporte.bo","wiki.bo","br","9guacu.br","abc.br","adm.br","adv.br","agr.br","aju.br","am.br","anani.br","aparecida.br","arq.br","art.br","ato.br","b.br","barueri.br","belem.br","bhz.br","bio.br","blog.br","bmd.br","boavista.br","bsb.br","campinagrande.br","campinas.br","caxias.br","cim.br","cng.br","cnt.br","com.br","contagem.br","coop.br","cri.br","cuiaba.br","curitiba.br","def.br","ecn.br","eco.br","edu.br","emp.br","eng.br","esp.br","etc.br","eti.br","far.br","feira.br","flog.br","floripa.br","fm.br","fnd.br","fortal.br","fot.br","foz.br","fst.br","g12.br","ggf.br","goiania.br","gov.br","ac.gov.br","al.gov.br","am.gov.br","ap.gov.br","ba.gov.br","ce.gov.br","df.gov.br","es.gov.br","go.gov.br","ma.gov.br","mg.gov.br","ms.gov.br","mt.gov.br","pa.gov.br","pb.gov.br","pe.gov.br","pi.gov.br","pr.gov.br","rj.gov.br","rn.gov.br","ro.gov.br","rr.gov.br","rs.gov.br","sc.gov.br","se.gov.br","sp.gov.br","to.gov.br","gru.br","imb.br","ind.br","inf.br","jab.br","jampa.br","jdf.br","joinville.br","jor.br","jus.br","leg.br","lel.br","londrina.br","macapa.br","maceio.br","manaus.br","maringa.br","mat.br","med.br","mil.br","morena.br","mp.br","mus.br","natal.br","net.br","niteroi.br","*.nom.br","not.br","ntr.br","odo.br","ong.br","org.br","osasco.br","palmas.br","poa.br","ppg.br","pro.br","psc.br","psi.br","pvh.br","qsl.br","radio.br","rec.br","recife.br","ribeirao.br","rio.br","riobranco.br","riopreto.br","salvador.br","sampa.br","santamaria.br","santoandre.br","saobernardo.br","saogonca.br","sjc.br","slg.br","slz.br","sorocaba.br","srv.br","taxi.br","tc.br","teo.br","the.br","tmp.br","trd.br","tur.br","tv.br","udi.br","vet.br","vix.br","vlog.br","wiki.br","zlg.br","bs","com.bs","net.bs","org.bs","edu.bs","gov.bs","bt","com.bt","edu.bt","gov.bt","net.bt","org.bt","bv","bw","co.bw","org.bw","by","gov.by","mil.by","com.by","of.by","bz","com.bz","net.bz","org.bz","edu.bz","gov.bz","ca","ab.ca","bc.ca","mb.ca","nb.ca","nf.ca","nl.ca","ns.ca","nt.ca","nu.ca","on.ca","pe.ca","qc.ca","sk.ca","yk.ca","gc.ca","cat","cc","cd","gov.cd","cf","cg","ch","ci","org.ci","or.ci","com.ci","co.ci","edu.ci","ed.ci","ac.ci","net.ci","go.ci","asso.ci","aéroport.ci","int.ci","presse.ci","md.ci","gouv.ci","*.ck","!www.ck","cl","aprendemas.cl","co.cl","gob.cl","gov.cl","mil.cl","cm","co.cm","com.cm","gov.cm","net.cm","cn","ac.cn","com.cn","edu.cn","gov.cn","net.cn","org.cn","mil.cn","公司.cn","网络.cn","網絡.cn","ah.cn","bj.cn","cq.cn","fj.cn","gd.cn","gs.cn","gz.cn","gx.cn","ha.cn","hb.cn","he.cn","hi.cn","hl.cn","hn.cn","jl.cn","js.cn","jx.cn","ln.cn","nm.cn","nx.cn","qh.cn","sc.cn","sd.cn","sh.cn","sn.cn","sx.cn","tj.cn","xj.cn","xz.cn","yn.cn","zj.cn","hk.cn","mo.cn","tw.cn","co","arts.co","com.co","edu.co","firm.co","gov.co","info.co","int.co","mil.co","net.co","nom.co","org.co","rec.co","web.co","com","coop","cr","ac.cr","co.cr","ed.cr","fi.cr","go.cr","or.cr","sa.cr","cu","com.cu","edu.cu","org.cu","net.cu","gov.cu","inf.cu","cv","cw","com.cw","edu.cw","net.cw","org.cw","cx","gov.cx","cy","ac.cy","biz.cy","com.cy","ekloges.cy","gov.cy","ltd.cy","name.cy","net.cy","org.cy","parliament.cy","press.cy","pro.cy","tm.cy","cz","de","dj","dk","dm","com.dm","net.dm","org.dm","edu.dm","gov.dm","do","art.do","com.do","edu.do","gob.do","gov.do","mil.do","net.do","org.do","sld.do","web.do","dz","com.dz","org.dz","net.dz","gov.dz","edu.dz","asso.dz","pol.dz","art.dz","ec","com.ec","info.ec","net.ec","fin.ec","k12.ec","med.ec","pro.ec","org.ec","edu.ec","gov.ec","gob.ec","mil.ec","edu","ee","edu.ee","gov.ee","riik.ee","lib.ee","med.ee","com.ee","pri.ee","aip.ee","org.ee","fie.ee","eg","com.eg","edu.eg","eun.eg","gov.eg","mil.eg","name.eg","net.eg","org.eg","sci.eg","*.er","es","com.es","nom.es","org.es","gob.es","edu.es","et","com.et","gov.et","org.et","edu.et","biz.et","name.et","info.et","net.et","eu","fi","aland.fi","fj","ac.fj","biz.fj","com.fj","gov.fj","info.fj","mil.fj","name.fj","net.fj","org.fj","pro.fj","*.fk","fm","fo","fr","asso.fr","com.fr","gouv.fr","nom.fr","prd.fr","tm.fr","aeroport.fr","avocat.fr","avoues.fr","cci.fr","chambagri.fr","chirurgiens-dentistes.fr","experts-comptables.fr","geometre-expert.fr","greta.fr","huissier-justice.fr","medecin.fr","notaires.fr","pharmacien.fr","port.fr","veterinaire.fr","ga","gb","gd","ge","com.ge","edu.ge","gov.ge","org.ge","mil.ge","net.ge","pvt.ge","gf","gg","co.gg","net.gg","org.gg","gh","com.gh","edu.gh","gov.gh","org.gh","mil.gh","gi","com.gi","ltd.gi","gov.gi","mod.gi","edu.gi","org.gi","gl","co.gl","com.gl","edu.gl","net.gl","org.gl","gm","gn","ac.gn","com.gn","edu.gn","gov.gn","org.gn","net.gn","gov","gp","com.gp","net.gp","mobi.gp","edu.gp","org.gp","asso.gp","gq","gr","com.gr","edu.gr","net.gr","org.gr","gov.gr","gs","gt","com.gt","edu.gt","gob.gt","ind.gt","mil.gt","net.gt","org.gt","gu","com.gu","edu.gu","gov.gu","guam.gu","info.gu","net.gu","org.gu","web.gu","gw","gy","co.gy","com.gy","edu.gy","gov.gy","net.gy","org.gy","hk","com.hk","edu.hk","gov.hk","idv.hk","net.hk","org.hk","公司.hk","教育.hk","敎育.hk","政府.hk","個人.hk","个人.hk","箇人.hk","網络.hk","网络.hk","组織.hk","網絡.hk","网絡.hk","组织.hk","組織.hk","組织.hk","hm","hn","com.hn","edu.hn","org.hn","net.hn","mil.hn","gob.hn","hr","iz.hr","from.hr","name.hr","com.hr","ht","com.ht","shop.ht","firm.ht","info.ht","adult.ht","net.ht","pro.ht","org.ht","med.ht","art.ht","coop.ht","pol.ht","asso.ht","edu.ht","rel.ht","gouv.ht","perso.ht","hu","co.hu","info.hu","org.hu","priv.hu","sport.hu","tm.hu","2000.hu","agrar.hu","bolt.hu","casino.hu","city.hu","erotica.hu","erotika.hu","film.hu","forum.hu","games.hu","hotel.hu","ingatlan.hu","jogasz.hu","konyvelo.hu","lakas.hu","media.hu","news.hu","reklam.hu","sex.hu","shop.hu","suli.hu","szex.hu","tozsde.hu","utazas.hu","video.hu","id","ac.id","biz.id","co.id","desa.id","go.id","mil.id","my.id","net.id","or.id","ponpes.id","sch.id","web.id","ie","gov.ie","il","ac.il","co.il","gov.il","idf.il","k12.il","muni.il","net.il","org.il","im","ac.im","co.im","com.im","ltd.co.im","net.im","org.im","plc.co.im","tt.im","tv.im","in","co.in","firm.in","net.in","org.in","gen.in","ind.in","nic.in","ac.in","edu.in","res.in","gov.in","mil.in","info","int","eu.int","io","com.io","iq","gov.iq","edu.iq","mil.iq","com.iq","org.iq","net.iq","ir","ac.ir","co.ir","gov.ir","id.ir","net.ir","org.ir","sch.ir","ایران.ir","ايران.ir","is","net.is","com.is","edu.is","gov.is","org.is","int.is","it","gov.it","edu.it","abr.it","abruzzo.it","aosta-valley.it","aostavalley.it","bas.it","basilicata.it","cal.it","calabria.it","cam.it","campania.it","emilia-romagna.it","emiliaromagna.it","emr.it","friuli-v-giulia.it","friuli-ve-giulia.it","friuli-vegiulia.it","friuli-venezia-giulia.it","friuli-veneziagiulia.it","friuli-vgiulia.it","friuliv-giulia.it","friulive-giulia.it","friulivegiulia.it","friulivenezia-giulia.it","friuliveneziagiulia.it","friulivgiulia.it","fvg.it","laz.it","lazio.it","lig.it","liguria.it","lom.it","lombardia.it","lombardy.it","lucania.it","mar.it","marche.it","mol.it","molise.it","piedmont.it","piemonte.it","pmn.it","pug.it","puglia.it","sar.it","sardegna.it","sardinia.it","sic.it","sicilia.it","sicily.it","taa.it","tos.it","toscana.it","trentin-sud-tirol.it","trentin-süd-tirol.it","trentin-sudtirol.it","trentin-südtirol.it","trentin-sued-tirol.it","trentin-suedtirol.it","trentino-a-adige.it","trentino-aadige.it","trentino-alto-adige.it","trentino-altoadige.it","trentino-s-tirol.it","trentino-stirol.it","trentino-sud-tirol.it","trentino-süd-tirol.it","trentino-sudtirol.it","trentino-südtirol.it","trentino-sued-tirol.it","trentino-suedtirol.it","trentino.it","trentinoa-adige.it","trentinoaadige.it","trentinoalto-adige.it","trentinoaltoadige.it","trentinos-tirol.it","trentinostirol.it","trentinosud-tirol.it","trentinosüd-tirol.it","trentinosudtirol.it","trentinosüdtirol.it","trentinosued-tirol.it","trentinosuedtirol.it","trentinsud-tirol.it","trentinsüd-tirol.it","trentinsudtirol.it","trentinsüdtirol.it","trentinsued-tirol.it","trentinsuedtirol.it","tuscany.it","umb.it","umbria.it","val-d-aosta.it","val-daosta.it","vald-aosta.it","valdaosta.it","valle-aosta.it","valle-d-aosta.it","valle-daosta.it","valleaosta.it","valled-aosta.it","valledaosta.it","vallee-aoste.it","vallée-aoste.it","vallee-d-aoste.it","vallée-d-aoste.it","valleeaoste.it","valléeaoste.it","valleedaoste.it","valléedaoste.it","vao.it","vda.it","ven.it","veneto.it","ag.it","agrigento.it","al.it","alessandria.it","alto-adige.it","altoadige.it","an.it","ancona.it","andria-barletta-trani.it","andria-trani-barletta.it","andriabarlettatrani.it","andriatranibarletta.it","ao.it","aosta.it","aoste.it","ap.it","aq.it","aquila.it","ar.it","arezzo.it","ascoli-piceno.it","ascolipiceno.it","asti.it","at.it","av.it","avellino.it","ba.it","balsan-sudtirol.it","balsan-südtirol.it","balsan-suedtirol.it","balsan.it","bari.it","barletta-trani-andria.it","barlettatraniandria.it","belluno.it","benevento.it","bergamo.it","bg.it","bi.it","biella.it","bl.it","bn.it","bo.it","bologna.it","bolzano-altoadige.it","bolzano.it","bozen-sudtirol.it","bozen-südtirol.it","bozen-suedtirol.it","bozen.it","br.it","brescia.it","brindisi.it","bs.it","bt.it","bulsan-sudtirol.it","bulsan-südtirol.it","bulsan-suedtirol.it","bulsan.it","bz.it","ca.it","cagliari.it","caltanissetta.it","campidano-medio.it","campidanomedio.it","campobasso.it","carbonia-iglesias.it","carboniaiglesias.it","carrara-massa.it","carraramassa.it","caserta.it","catania.it","catanzaro.it","cb.it","ce.it","cesena-forli.it","cesena-forlì.it","cesenaforli.it","cesenaforlì.it","ch.it","chieti.it","ci.it","cl.it","cn.it","co.it","como.it","cosenza.it","cr.it","cremona.it","crotone.it","cs.it","ct.it","cuneo.it","cz.it","dell-ogliastra.it","dellogliastra.it","en.it","enna.it","fc.it","fe.it","fermo.it","ferrara.it","fg.it","fi.it","firenze.it","florence.it","fm.it","foggia.it","forli-cesena.it","forlì-cesena.it","forlicesena.it","forlìcesena.it","fr.it","frosinone.it","ge.it","genoa.it","genova.it","go.it","gorizia.it","gr.it","grosseto.it","iglesias-carbonia.it","iglesiascarbonia.it","im.it","imperia.it","is.it","isernia.it","kr.it","la-spezia.it","laquila.it","laspezia.it","latina.it","lc.it","le.it","lecce.it","lecco.it","li.it","livorno.it","lo.it","lodi.it","lt.it","lu.it","lucca.it","macerata.it","mantova.it","massa-carrara.it","massacarrara.it","matera.it","mb.it","mc.it","me.it","medio-campidano.it","mediocampidano.it","messina.it","mi.it","milan.it","milano.it","mn.it","mo.it","modena.it","monza-brianza.it","monza-e-della-brianza.it","monza.it","monzabrianza.it","monzaebrianza.it","monzaedellabrianza.it","ms.it","mt.it","na.it","naples.it","napoli.it","no.it","novara.it","nu.it","nuoro.it","og.it","ogliastra.it","olbia-tempio.it","olbiatempio.it","or.it","oristano.it","ot.it","pa.it","padova.it","padua.it","palermo.it","parma.it","pavia.it","pc.it","pd.it","pe.it","perugia.it","pesaro-urbino.it","pesarourbino.it","pescara.it","pg.it","pi.it","piacenza.it","pisa.it","pistoia.it","pn.it","po.it","pordenone.it","potenza.it","pr.it","prato.it","pt.it","pu.it","pv.it","pz.it","ra.it","ragusa.it","ravenna.it","rc.it","re.it","reggio-calabria.it","reggio-emilia.it","reggiocalabria.it","reggioemilia.it","rg.it","ri.it","rieti.it","rimini.it","rm.it","rn.it","ro.it","roma.it","rome.it","rovigo.it","sa.it","salerno.it","sassari.it","savona.it","si.it","siena.it","siracusa.it","so.it","sondrio.it","sp.it","sr.it","ss.it","suedtirol.it","südtirol.it","sv.it","ta.it","taranto.it","te.it","tempio-olbia.it","tempioolbia.it","teramo.it","terni.it","tn.it","to.it","torino.it","tp.it","tr.it","trani-andria-barletta.it","trani-barletta-andria.it","traniandriabarletta.it","tranibarlettaandria.it","trapani.it","trento.it","treviso.it","trieste.it","ts.it","turin.it","tv.it","ud.it","udine.it","urbino-pesaro.it","urbinopesaro.it","va.it","varese.it","vb.it","vc.it","ve.it","venezia.it","venice.it","verbania.it","vercelli.it","verona.it","vi.it","vibo-valentia.it","vibovalentia.it","vicenza.it","viterbo.it","vr.it","vs.it","vt.it","vv.it","je","co.je","net.je","org.je","*.jm","jo","com.jo","org.jo","net.jo","edu.jo","sch.jo","gov.jo","mil.jo","name.jo","jobs","jp","ac.jp","ad.jp","co.jp","ed.jp","go.jp","gr.jp","lg.jp","ne.jp","or.jp","aichi.jp","akita.jp","aomori.jp","chiba.jp","ehime.jp","fukui.jp","fukuoka.jp","fukushima.jp","gifu.jp","gunma.jp","hiroshima.jp","hokkaido.jp","hyogo.jp","ibaraki.jp","ishikawa.jp","iwate.jp","kagawa.jp","kagoshima.jp","kanagawa.jp","kochi.jp","kumamoto.jp","kyoto.jp","mie.jp","miyagi.jp","miyazaki.jp","nagano.jp","nagasaki.jp","nara.jp","niigata.jp","oita.jp","okayama.jp","okinawa.jp","osaka.jp","saga.jp","saitama.jp","shiga.jp","shimane.jp","shizuoka.jp","tochigi.jp","tokushima.jp","tokyo.jp","tottori.jp","toyama.jp","wakayama.jp","yamagata.jp","yamaguchi.jp","yamanashi.jp","栃木.jp","愛知.jp","愛媛.jp","兵庫.jp","熊本.jp","茨城.jp","北海道.jp","千葉.jp","和歌山.jp","長崎.jp","長野.jp","新潟.jp","青森.jp","静岡.jp","東京.jp","石川.jp","埼玉.jp","三重.jp","京都.jp","佐賀.jp","大分.jp","大阪.jp","奈良.jp","宮城.jp","宮崎.jp","富山.jp","山口.jp","山形.jp","山梨.jp","岩手.jp","岐阜.jp","岡山.jp","島根.jp","広島.jp","徳島.jp","沖縄.jp","滋賀.jp","神奈川.jp","福井.jp","福岡.jp","福島.jp","秋田.jp","群馬.jp","香川.jp","高知.jp","鳥取.jp","鹿児島.jp","*.kawasaki.jp","*.kitakyushu.jp","*.kobe.jp","*.nagoya.jp","*.sapporo.jp","*.sendai.jp","*.yokohama.jp","!city.kawasaki.jp","!city.kitakyushu.jp","!city.kobe.jp","!city.nagoya.jp","!city.sapporo.jp","!city.sendai.jp","!city.yokohama.jp","aisai.aichi.jp","ama.aichi.jp","anjo.aichi.jp","asuke.aichi.jp","chiryu.aichi.jp","chita.aichi.jp","fuso.aichi.jp","gamagori.aichi.jp","handa.aichi.jp","hazu.aichi.jp","hekinan.aichi.jp","higashiura.aichi.jp","ichinomiya.aichi.jp","inazawa.aichi.jp","inuyama.aichi.jp","isshiki.aichi.jp","iwakura.aichi.jp","kanie.aichi.jp","kariya.aichi.jp","kasugai.aichi.jp","kira.aichi.jp","kiyosu.aichi.jp","komaki.aichi.jp","konan.aichi.jp","kota.aichi.jp","mihama.aichi.jp","miyoshi.aichi.jp","nishio.aichi.jp","nisshin.aichi.jp","obu.aichi.jp","oguchi.aichi.jp","oharu.aichi.jp","okazaki.aichi.jp","owariasahi.aichi.jp","seto.aichi.jp","shikatsu.aichi.jp","shinshiro.aichi.jp","shitara.aichi.jp","tahara.aichi.jp","takahama.aichi.jp","tobishima.aichi.jp","toei.aichi.jp","togo.aichi.jp","tokai.aichi.jp","tokoname.aichi.jp","toyoake.aichi.jp","toyohashi.aichi.jp","toyokawa.aichi.jp","toyone.aichi.jp","toyota.aichi.jp","tsushima.aichi.jp","yatomi.aichi.jp","akita.akita.jp","daisen.akita.jp","fujisato.akita.jp","gojome.akita.jp","hachirogata.akita.jp","happou.akita.jp","higashinaruse.akita.jp","honjo.akita.jp","honjyo.akita.jp","ikawa.akita.jp","kamikoani.akita.jp","kamioka.akita.jp","katagami.akita.jp","kazuno.akita.jp","kitaakita.akita.jp","kosaka.akita.jp","kyowa.akita.jp","misato.akita.jp","mitane.akita.jp","moriyoshi.akita.jp","nikaho.akita.jp","noshiro.akita.jp","odate.akita.jp","oga.akita.jp","ogata.akita.jp","semboku.akita.jp","yokote.akita.jp","yurihonjo.akita.jp","aomori.aomori.jp","gonohe.aomori.jp","hachinohe.aomori.jp","hashikami.aomori.jp","hiranai.aomori.jp","hirosaki.aomori.jp","itayanagi.aomori.jp","kuroishi.aomori.jp","misawa.aomori.jp","mutsu.aomori.jp","nakadomari.aomori.jp","noheji.aomori.jp","oirase.aomori.jp","owani.aomori.jp","rokunohe.aomori.jp","sannohe.aomori.jp","shichinohe.aomori.jp","shingo.aomori.jp","takko.aomori.jp","towada.aomori.jp","tsugaru.aomori.jp","tsuruta.aomori.jp","abiko.chiba.jp","asahi.chiba.jp","chonan.chiba.jp","chosei.chiba.jp","choshi.chiba.jp","chuo.chiba.jp","funabashi.chiba.jp","futtsu.chiba.jp","hanamigawa.chiba.jp","ichihara.chiba.jp","ichikawa.chiba.jp","ichinomiya.chiba.jp","inzai.chiba.jp","isumi.chiba.jp","kamagaya.chiba.jp","kamogawa.chiba.jp","kashiwa.chiba.jp","katori.chiba.jp","katsuura.chiba.jp","kimitsu.chiba.jp","kisarazu.chiba.jp","kozaki.chiba.jp","kujukuri.chiba.jp","kyonan.chiba.jp","matsudo.chiba.jp","midori.chiba.jp","mihama.chiba.jp","minamiboso.chiba.jp","mobara.chiba.jp","mutsuzawa.chiba.jp","nagara.chiba.jp","nagareyama.chiba.jp","narashino.chiba.jp","narita.chiba.jp","noda.chiba.jp","oamishirasato.chiba.jp","omigawa.chiba.jp","onjuku.chiba.jp","otaki.chiba.jp","sakae.chiba.jp","sakura.chiba.jp","shimofusa.chiba.jp","shirako.chiba.jp","shiroi.chiba.jp","shisui.chiba.jp","sodegaura.chiba.jp","sosa.chiba.jp","tako.chiba.jp","tateyama.chiba.jp","togane.chiba.jp","tohnosho.chiba.jp","tomisato.chiba.jp","urayasu.chiba.jp","yachimata.chiba.jp","yachiyo.chiba.jp","yokaichiba.chiba.jp","yokoshibahikari.chiba.jp","yotsukaido.chiba.jp","ainan.ehime.jp","honai.ehime.jp","ikata.ehime.jp","imabari.ehime.jp","iyo.ehime.jp","kamijima.ehime.jp","kihoku.ehime.jp","kumakogen.ehime.jp","masaki.ehime.jp","matsuno.ehime.jp","matsuyama.ehime.jp","namikata.ehime.jp","niihama.ehime.jp","ozu.ehime.jp","saijo.ehime.jp","seiyo.ehime.jp","shikokuchuo.ehime.jp","tobe.ehime.jp","toon.ehime.jp","uchiko.ehime.jp","uwajima.ehime.jp","yawatahama.ehime.jp","echizen.fukui.jp","eiheiji.fukui.jp","fukui.fukui.jp","ikeda.fukui.jp","katsuyama.fukui.jp","mihama.fukui.jp","minamiechizen.fukui.jp","obama.fukui.jp","ohi.fukui.jp","ono.fukui.jp","sabae.fukui.jp","sakai.fukui.jp","takahama.fukui.jp","tsuruga.fukui.jp","wakasa.fukui.jp","ashiya.fukuoka.jp","buzen.fukuoka.jp","chikugo.fukuoka.jp","chikuho.fukuoka.jp","chikujo.fukuoka.jp","chikushino.fukuoka.jp","chikuzen.fukuoka.jp","chuo.fukuoka.jp","dazaifu.fukuoka.jp","fukuchi.fukuoka.jp","hakata.fukuoka.jp","higashi.fukuoka.jp","hirokawa.fukuoka.jp","hisayama.fukuoka.jp","iizuka.fukuoka.jp","inatsuki.fukuoka.jp","kaho.fukuoka.jp","kasuga.fukuoka.jp","kasuya.fukuoka.jp","kawara.fukuoka.jp","keisen.fukuoka.jp","koga.fukuoka.jp","kurate.fukuoka.jp","kurogi.fukuoka.jp","kurume.fukuoka.jp","minami.fukuoka.jp","miyako.fukuoka.jp","miyama.fukuoka.jp","miyawaka.fukuoka.jp","mizumaki.fukuoka.jp","munakata.fukuoka.jp","nakagawa.fukuoka.jp","nakama.fukuoka.jp","nishi.fukuoka.jp","nogata.fukuoka.jp","ogori.fukuoka.jp","okagaki.fukuoka.jp","okawa.fukuoka.jp","oki.fukuoka.jp","omuta.fukuoka.jp","onga.fukuoka.jp","onojo.fukuoka.jp","oto.fukuoka.jp","saigawa.fukuoka.jp","sasaguri.fukuoka.jp","shingu.fukuoka.jp","shinyoshitomi.fukuoka.jp","shonai.fukuoka.jp","soeda.fukuoka.jp","sue.fukuoka.jp","tachiarai.fukuoka.jp","tagawa.fukuoka.jp","takata.fukuoka.jp","toho.fukuoka.jp","toyotsu.fukuoka.jp","tsuiki.fukuoka.jp","ukiha.fukuoka.jp","umi.fukuoka.jp","usui.fukuoka.jp","yamada.fukuoka.jp","yame.fukuoka.jp","yanagawa.fukuoka.jp","yukuhashi.fukuoka.jp","aizubange.fukushima.jp","aizumisato.fukushima.jp","aizuwakamatsu.fukushima.jp","asakawa.fukushima.jp","bandai.fukushima.jp","date.fukushima.jp","fukushima.fukushima.jp","furudono.fukushima.jp","futaba.fukushima.jp","hanawa.fukushima.jp","higashi.fukushima.jp","hirata.fukushima.jp","hirono.fukushima.jp","iitate.fukushima.jp","inawashiro.fukushima.jp","ishikawa.fukushima.jp","iwaki.fukushima.jp","izumizaki.fukushima.jp","kagamiishi.fukushima.jp","kaneyama.fukushima.jp","kawamata.fukushima.jp","kitakata.fukushima.jp","kitashiobara.fukushima.jp","koori.fukushima.jp","koriyama.fukushima.jp","kunimi.fukushima.jp","miharu.fukushima.jp","mishima.fukushima.jp","namie.fukushima.jp","nango.fukushima.jp","nishiaizu.fukushima.jp","nishigo.fukushima.jp","okuma.fukushima.jp","omotego.fukushima.jp","ono.fukushima.jp","otama.fukushima.jp","samegawa.fukushima.jp","shimogo.fukushima.jp","shirakawa.fukushima.jp","showa.fukushima.jp","soma.fukushima.jp","sukagawa.fukushima.jp","taishin.fukushima.jp","tamakawa.fukushima.jp","tanagura.fukushima.jp","tenei.fukushima.jp","yabuki.fukushima.jp","yamato.fukushima.jp","yamatsuri.fukushima.jp","yanaizu.fukushima.jp","yugawa.fukushima.jp","anpachi.gifu.jp","ena.gifu.jp","gifu.gifu.jp","ginan.gifu.jp","godo.gifu.jp","gujo.gifu.jp","hashima.gifu.jp","hichiso.gifu.jp","hida.gifu.jp","higashishirakawa.gifu.jp","ibigawa.gifu.jp","ikeda.gifu.jp","kakamigahara.gifu.jp","kani.gifu.jp","kasahara.gifu.jp","kasamatsu.gifu.jp","kawaue.gifu.jp","kitagata.gifu.jp","mino.gifu.jp","minokamo.gifu.jp","mitake.gifu.jp","mizunami.gifu.jp","motosu.gifu.jp","nakatsugawa.gifu.jp","ogaki.gifu.jp","sakahogi.gifu.jp","seki.gifu.jp","sekigahara.gifu.jp","shirakawa.gifu.jp","tajimi.gifu.jp","takayama.gifu.jp","tarui.gifu.jp","toki.gifu.jp","tomika.gifu.jp","wanouchi.gifu.jp","yamagata.gifu.jp","yaotsu.gifu.jp","yoro.gifu.jp","annaka.gunma.jp","chiyoda.gunma.jp","fujioka.gunma.jp","higashiagatsuma.gunma.jp","isesaki.gunma.jp","itakura.gunma.jp","kanna.gunma.jp","kanra.gunma.jp","katashina.gunma.jp","kawaba.gunma.jp","kiryu.gunma.jp","kusatsu.gunma.jp","maebashi.gunma.jp","meiwa.gunma.jp","midori.gunma.jp","minakami.gunma.jp","naganohara.gunma.jp","nakanojo.gunma.jp","nanmoku.gunma.jp","numata.gunma.jp","oizumi.gunma.jp","ora.gunma.jp","ota.gunma.jp","shibukawa.gunma.jp","shimonita.gunma.jp","shinto.gunma.jp","showa.gunma.jp","takasaki.gunma.jp","takayama.gunma.jp","tamamura.gunma.jp","tatebayashi.gunma.jp","tomioka.gunma.jp","tsukiyono.gunma.jp","tsumagoi.gunma.jp","ueno.gunma.jp","yoshioka.gunma.jp","asaminami.hiroshima.jp","daiwa.hiroshima.jp","etajima.hiroshima.jp","fuchu.hiroshima.jp","fukuyama.hiroshima.jp","hatsukaichi.hiroshima.jp","higashihiroshima.hiroshima.jp","hongo.hiroshima.jp","jinsekikogen.hiroshima.jp","kaita.hiroshima.jp","kui.hiroshima.jp","kumano.hiroshima.jp","kure.hiroshima.jp","mihara.hiroshima.jp","miyoshi.hiroshima.jp","naka.hiroshima.jp","onomichi.hiroshima.jp","osakikamijima.hiroshima.jp","otake.hiroshima.jp","saka.hiroshima.jp","sera.hiroshima.jp","seranishi.hiroshima.jp","shinichi.hiroshima.jp","shobara.hiroshima.jp","takehara.hiroshima.jp","abashiri.hokkaido.jp","abira.hokkaido.jp","aibetsu.hokkaido.jp","akabira.hokkaido.jp","akkeshi.hokkaido.jp","asahikawa.hokkaido.jp","ashibetsu.hokkaido.jp","ashoro.hokkaido.jp","assabu.hokkaido.jp","atsuma.hokkaido.jp","bibai.hokkaido.jp","biei.hokkaido.jp","bifuka.hokkaido.jp","bihoro.hokkaido.jp","biratori.hokkaido.jp","chippubetsu.hokkaido.jp","chitose.hokkaido.jp","date.hokkaido.jp","ebetsu.hokkaido.jp","embetsu.hokkaido.jp","eniwa.hokkaido.jp","erimo.hokkaido.jp","esan.hokkaido.jp","esashi.hokkaido.jp","fukagawa.hokkaido.jp","fukushima.hokkaido.jp","furano.hokkaido.jp","furubira.hokkaido.jp","haboro.hokkaido.jp","hakodate.hokkaido.jp","hamatonbetsu.hokkaido.jp","hidaka.hokkaido.jp","higashikagura.hokkaido.jp","higashikawa.hokkaido.jp","hiroo.hokkaido.jp","hokuryu.hokkaido.jp","hokuto.hokkaido.jp","honbetsu.hokkaido.jp","horokanai.hokkaido.jp","horonobe.hokkaido.jp","ikeda.hokkaido.jp","imakane.hokkaido.jp","ishikari.hokkaido.jp","iwamizawa.hokkaido.jp","iwanai.hokkaido.jp","kamifurano.hokkaido.jp","kamikawa.hokkaido.jp","kamishihoro.hokkaido.jp","kamisunagawa.hokkaido.jp","kamoenai.hokkaido.jp","kayabe.hokkaido.jp","kembuchi.hokkaido.jp","kikonai.hokkaido.jp","kimobetsu.hokkaido.jp","kitahiroshima.hokkaido.jp","kitami.hokkaido.jp","kiyosato.hokkaido.jp","koshimizu.hokkaido.jp","kunneppu.hokkaido.jp","kuriyama.hokkaido.jp","kuromatsunai.hokkaido.jp","kushiro.hokkaido.jp","kutchan.hokkaido.jp","kyowa.hokkaido.jp","mashike.hokkaido.jp","matsumae.hokkaido.jp","mikasa.hokkaido.jp","minamifurano.hokkaido.jp","mombetsu.hokkaido.jp","moseushi.hokkaido.jp","mukawa.hokkaido.jp","muroran.hokkaido.jp","naie.hokkaido.jp","nakagawa.hokkaido.jp","nakasatsunai.hokkaido.jp","nakatombetsu.hokkaido.jp","nanae.hokkaido.jp","nanporo.hokkaido.jp","nayoro.hokkaido.jp","nemuro.hokkaido.jp","niikappu.hokkaido.jp","niki.hokkaido.jp","nishiokoppe.hokkaido.jp","noboribetsu.hokkaido.jp","numata.hokkaido.jp","obihiro.hokkaido.jp","obira.hokkaido.jp","oketo.hokkaido.jp","okoppe.hokkaido.jp","otaru.hokkaido.jp","otobe.hokkaido.jp","otofuke.hokkaido.jp","otoineppu.hokkaido.jp","oumu.hokkaido.jp","ozora.hokkaido.jp","pippu.hokkaido.jp","rankoshi.hokkaido.jp","rebun.hokkaido.jp","rikubetsu.hokkaido.jp","rishiri.hokkaido.jp","rishirifuji.hokkaido.jp","saroma.hokkaido.jp","sarufutsu.hokkaido.jp","shakotan.hokkaido.jp","shari.hokkaido.jp","shibecha.hokkaido.jp","shibetsu.hokkaido.jp","shikabe.hokkaido.jp","shikaoi.hokkaido.jp","shimamaki.hokkaido.jp","shimizu.hokkaido.jp","shimokawa.hokkaido.jp","shinshinotsu.hokkaido.jp","shintoku.hokkaido.jp","shiranuka.hokkaido.jp","shiraoi.hokkaido.jp","shiriuchi.hokkaido.jp","sobetsu.hokkaido.jp","sunagawa.hokkaido.jp","taiki.hokkaido.jp","takasu.hokkaido.jp","takikawa.hokkaido.jp","takinoue.hokkaido.jp","teshikaga.hokkaido.jp","tobetsu.hokkaido.jp","tohma.hokkaido.jp","tomakomai.hokkaido.jp","tomari.hokkaido.jp","toya.hokkaido.jp","toyako.hokkaido.jp","toyotomi.hokkaido.jp","toyoura.hokkaido.jp","tsubetsu.hokkaido.jp","tsukigata.hokkaido.jp","urakawa.hokkaido.jp","urausu.hokkaido.jp","uryu.hokkaido.jp","utashinai.hokkaido.jp","wakkanai.hokkaido.jp","wassamu.hokkaido.jp","yakumo.hokkaido.jp","yoichi.hokkaido.jp","aioi.hyogo.jp","akashi.hyogo.jp","ako.hyogo.jp","amagasaki.hyogo.jp","aogaki.hyogo.jp","asago.hyogo.jp","ashiya.hyogo.jp","awaji.hyogo.jp","fukusaki.hyogo.jp","goshiki.hyogo.jp","harima.hyogo.jp","himeji.hyogo.jp","ichikawa.hyogo.jp","inagawa.hyogo.jp","itami.hyogo.jp","kakogawa.hyogo.jp","kamigori.hyogo.jp","kamikawa.hyogo.jp","kasai.hyogo.jp","kasuga.hyogo.jp","kawanishi.hyogo.jp","miki.hyogo.jp","minamiawaji.hyogo.jp","nishinomiya.hyogo.jp","nishiwaki.hyogo.jp","ono.hyogo.jp","sanda.hyogo.jp","sannan.hyogo.jp","sasayama.hyogo.jp","sayo.hyogo.jp","shingu.hyogo.jp","shinonsen.hyogo.jp","shiso.hyogo.jp","sumoto.hyogo.jp","taishi.hyogo.jp","taka.hyogo.jp","takarazuka.hyogo.jp","takasago.hyogo.jp","takino.hyogo.jp","tamba.hyogo.jp","tatsuno.hyogo.jp","toyooka.hyogo.jp","yabu.hyogo.jp","yashiro.hyogo.jp","yoka.hyogo.jp","yokawa.hyogo.jp","ami.ibaraki.jp","asahi.ibaraki.jp","bando.ibaraki.jp","chikusei.ibaraki.jp","daigo.ibaraki.jp","fujishiro.ibaraki.jp","hitachi.ibaraki.jp","hitachinaka.ibaraki.jp","hitachiomiya.ibaraki.jp","hitachiota.ibaraki.jp","ibaraki.ibaraki.jp","ina.ibaraki.jp","inashiki.ibaraki.jp","itako.ibaraki.jp","iwama.ibaraki.jp","joso.ibaraki.jp","kamisu.ibaraki.jp","kasama.ibaraki.jp","kashima.ibaraki.jp","kasumigaura.ibaraki.jp","koga.ibaraki.jp","miho.ibaraki.jp","mito.ibaraki.jp","moriya.ibaraki.jp","naka.ibaraki.jp","namegata.ibaraki.jp","oarai.ibaraki.jp","ogawa.ibaraki.jp","omitama.ibaraki.jp","ryugasaki.ibaraki.jp","sakai.ibaraki.jp","sakuragawa.ibaraki.jp","shimodate.ibaraki.jp","shimotsuma.ibaraki.jp","shirosato.ibaraki.jp","sowa.ibaraki.jp","suifu.ibaraki.jp","takahagi.ibaraki.jp","tamatsukuri.ibaraki.jp","tokai.ibaraki.jp","tomobe.ibaraki.jp","tone.ibaraki.jp","toride.ibaraki.jp","tsuchiura.ibaraki.jp","tsukuba.ibaraki.jp","uchihara.ibaraki.jp","ushiku.ibaraki.jp","yachiyo.ibaraki.jp","yamagata.ibaraki.jp","yawara.ibaraki.jp","yuki.ibaraki.jp","anamizu.ishikawa.jp","hakui.ishikawa.jp","hakusan.ishikawa.jp","kaga.ishikawa.jp","kahoku.ishikawa.jp","kanazawa.ishikawa.jp","kawakita.ishikawa.jp","komatsu.ishikawa.jp","nakanoto.ishikawa.jp","nanao.ishikawa.jp","nomi.ishikawa.jp","nonoichi.ishikawa.jp","noto.ishikawa.jp","shika.ishikawa.jp","suzu.ishikawa.jp","tsubata.ishikawa.jp","tsurugi.ishikawa.jp","uchinada.ishikawa.jp","wajima.ishikawa.jp","fudai.iwate.jp","fujisawa.iwate.jp","hanamaki.iwate.jp","hiraizumi.iwate.jp","hirono.iwate.jp","ichinohe.iwate.jp","ichinoseki.iwate.jp","iwaizumi.iwate.jp","iwate.iwate.jp","joboji.iwate.jp","kamaishi.iwate.jp","kanegasaki.iwate.jp","karumai.iwate.jp","kawai.iwate.jp","kitakami.iwate.jp","kuji.iwate.jp","kunohe.iwate.jp","kuzumaki.iwate.jp","miyako.iwate.jp","mizusawa.iwate.jp","morioka.iwate.jp","ninohe.iwate.jp","noda.iwate.jp","ofunato.iwate.jp","oshu.iwate.jp","otsuchi.iwate.jp","rikuzentakata.iwate.jp","shiwa.iwate.jp","shizukuishi.iwate.jp","sumita.iwate.jp","tanohata.iwate.jp","tono.iwate.jp","yahaba.iwate.jp","yamada.iwate.jp","ayagawa.kagawa.jp","higashikagawa.kagawa.jp","kanonji.kagawa.jp","kotohira.kagawa.jp","manno.kagawa.jp","marugame.kagawa.jp","mitoyo.kagawa.jp","naoshima.kagawa.jp","sanuki.kagawa.jp","tadotsu.kagawa.jp","takamatsu.kagawa.jp","tonosho.kagawa.jp","uchinomi.kagawa.jp","utazu.kagawa.jp","zentsuji.kagawa.jp","akune.kagoshima.jp","amami.kagoshima.jp","hioki.kagoshima.jp","isa.kagoshima.jp","isen.kagoshima.jp","izumi.kagoshima.jp","kagoshima.kagoshima.jp","kanoya.kagoshima.jp","kawanabe.kagoshima.jp","kinko.kagoshima.jp","kouyama.kagoshima.jp","makurazaki.kagoshima.jp","matsumoto.kagoshima.jp","minamitane.kagoshima.jp","nakatane.kagoshima.jp","nishinoomote.kagoshima.jp","satsumasendai.kagoshima.jp","soo.kagoshima.jp","tarumizu.kagoshima.jp","yusui.kagoshima.jp","aikawa.kanagawa.jp","atsugi.kanagawa.jp","ayase.kanagawa.jp","chigasaki.kanagawa.jp","ebina.kanagawa.jp","fujisawa.kanagawa.jp","hadano.kanagawa.jp","hakone.kanagawa.jp","hiratsuka.kanagawa.jp","isehara.kanagawa.jp","kaisei.kanagawa.jp","kamakura.kanagawa.jp","kiyokawa.kanagawa.jp","matsuda.kanagawa.jp","minamiashigara.kanagawa.jp","miura.kanagawa.jp","nakai.kanagawa.jp","ninomiya.kanagawa.jp","odawara.kanagawa.jp","oi.kanagawa.jp","oiso.kanagawa.jp","sagamihara.kanagawa.jp","samukawa.kanagawa.jp","tsukui.kanagawa.jp","yamakita.kanagawa.jp","yamato.kanagawa.jp","yokosuka.kanagawa.jp","yugawara.kanagawa.jp","zama.kanagawa.jp","zushi.kanagawa.jp","aki.kochi.jp","geisei.kochi.jp","hidaka.kochi.jp","higashitsuno.kochi.jp","ino.kochi.jp","kagami.kochi.jp","kami.kochi.jp","kitagawa.kochi.jp","kochi.kochi.jp","mihara.kochi.jp","motoyama.kochi.jp","muroto.kochi.jp","nahari.kochi.jp","nakamura.kochi.jp","nankoku.kochi.jp","nishitosa.kochi.jp","niyodogawa.kochi.jp","ochi.kochi.jp","okawa.kochi.jp","otoyo.kochi.jp","otsuki.kochi.jp","sakawa.kochi.jp","sukumo.kochi.jp","susaki.kochi.jp","tosa.kochi.jp","tosashimizu.kochi.jp","toyo.kochi.jp","tsuno.kochi.jp","umaji.kochi.jp","yasuda.kochi.jp","yusuhara.kochi.jp","amakusa.kumamoto.jp","arao.kumamoto.jp","aso.kumamoto.jp","choyo.kumamoto.jp","gyokuto.kumamoto.jp","kamiamakusa.kumamoto.jp","kikuchi.kumamoto.jp","kumamoto.kumamoto.jp","mashiki.kumamoto.jp","mifune.kumamoto.jp","minamata.kumamoto.jp","minamioguni.kumamoto.jp","nagasu.kumamoto.jp","nishihara.kumamoto.jp","oguni.kumamoto.jp","ozu.kumamoto.jp","sumoto.kumamoto.jp","takamori.kumamoto.jp","uki.kumamoto.jp","uto.kumamoto.jp","yamaga.kumamoto.jp","yamato.kumamoto.jp","yatsushiro.kumamoto.jp","ayabe.kyoto.jp","fukuchiyama.kyoto.jp","higashiyama.kyoto.jp","ide.kyoto.jp","ine.kyoto.jp","joyo.kyoto.jp","kameoka.kyoto.jp","kamo.kyoto.jp","kita.kyoto.jp","kizu.kyoto.jp","kumiyama.kyoto.jp","kyotamba.kyoto.jp","kyotanabe.kyoto.jp","kyotango.kyoto.jp","maizuru.kyoto.jp","minami.kyoto.jp","minamiyamashiro.kyoto.jp","miyazu.kyoto.jp","muko.kyoto.jp","nagaokakyo.kyoto.jp","nakagyo.kyoto.jp","nantan.kyoto.jp","oyamazaki.kyoto.jp","sakyo.kyoto.jp","seika.kyoto.jp","tanabe.kyoto.jp","uji.kyoto.jp","ujitawara.kyoto.jp","wazuka.kyoto.jp","yamashina.kyoto.jp","yawata.kyoto.jp","asahi.mie.jp","inabe.mie.jp","ise.mie.jp","kameyama.mie.jp","kawagoe.mie.jp","kiho.mie.jp","kisosaki.mie.jp","kiwa.mie.jp","komono.mie.jp","kumano.mie.jp","kuwana.mie.jp","matsusaka.mie.jp","meiwa.mie.jp","mihama.mie.jp","minamiise.mie.jp","misugi.mie.jp","miyama.mie.jp","nabari.mie.jp","shima.mie.jp","suzuka.mie.jp","tado.mie.jp","taiki.mie.jp","taki.mie.jp","tamaki.mie.jp","toba.mie.jp","tsu.mie.jp","udono.mie.jp","ureshino.mie.jp","watarai.mie.jp","yokkaichi.mie.jp","furukawa.miyagi.jp","higashimatsushima.miyagi.jp","ishinomaki.miyagi.jp","iwanuma.miyagi.jp","kakuda.miyagi.jp","kami.miyagi.jp","kawasaki.miyagi.jp","marumori.miyagi.jp","matsushima.miyagi.jp","minamisanriku.miyagi.jp","misato.miyagi.jp","murata.miyagi.jp","natori.miyagi.jp","ogawara.miyagi.jp","ohira.miyagi.jp","onagawa.miyagi.jp","osaki.miyagi.jp","rifu.miyagi.jp","semine.miyagi.jp","shibata.miyagi.jp","shichikashuku.miyagi.jp","shikama.miyagi.jp","shiogama.miyagi.jp","shiroishi.miyagi.jp","tagajo.miyagi.jp","taiwa.miyagi.jp","tome.miyagi.jp","tomiya.miyagi.jp","wakuya.miyagi.jp","watari.miyagi.jp","yamamoto.miyagi.jp","zao.miyagi.jp","aya.miyazaki.jp","ebino.miyazaki.jp","gokase.miyazaki.jp","hyuga.miyazaki.jp","kadogawa.miyazaki.jp","kawaminami.miyazaki.jp","kijo.miyazaki.jp","kitagawa.miyazaki.jp","kitakata.miyazaki.jp","kitaura.miyazaki.jp","kobayashi.miyazaki.jp","kunitomi.miyazaki.jp","kushima.miyazaki.jp","mimata.miyazaki.jp","miyakonojo.miyazaki.jp","miyazaki.miyazaki.jp","morotsuka.miyazaki.jp","nichinan.miyazaki.jp","nishimera.miyazaki.jp","nobeoka.miyazaki.jp","saito.miyazaki.jp","shiiba.miyazaki.jp","shintomi.miyazaki.jp","takaharu.miyazaki.jp","takanabe.miyazaki.jp","takazaki.miyazaki.jp","tsuno.miyazaki.jp","achi.nagano.jp","agematsu.nagano.jp","anan.nagano.jp","aoki.nagano.jp","asahi.nagano.jp","azumino.nagano.jp","chikuhoku.nagano.jp","chikuma.nagano.jp","chino.nagano.jp","fujimi.nagano.jp","hakuba.nagano.jp","hara.nagano.jp","hiraya.nagano.jp","iida.nagano.jp","iijima.nagano.jp","iiyama.nagano.jp","iizuna.nagano.jp","ikeda.nagano.jp","ikusaka.nagano.jp","ina.nagano.jp","karuizawa.nagano.jp","kawakami.nagano.jp","kiso.nagano.jp","kisofukushima.nagano.jp","kitaaiki.nagano.jp","komagane.nagano.jp","komoro.nagano.jp","matsukawa.nagano.jp","matsumoto.nagano.jp","miasa.nagano.jp","minamiaiki.nagano.jp","minamimaki.nagano.jp","minamiminowa.nagano.jp","minowa.nagano.jp","miyada.nagano.jp","miyota.nagano.jp","mochizuki.nagano.jp","nagano.nagano.jp","nagawa.nagano.jp","nagiso.nagano.jp","nakagawa.nagano.jp","nakano.nagano.jp","nozawaonsen.nagano.jp","obuse.nagano.jp","ogawa.nagano.jp","okaya.nagano.jp","omachi.nagano.jp","omi.nagano.jp","ookuwa.nagano.jp","ooshika.nagano.jp","otaki.nagano.jp","otari.nagano.jp","sakae.nagano.jp","sakaki.nagano.jp","saku.nagano.jp","sakuho.nagano.jp","shimosuwa.nagano.jp","shinanomachi.nagano.jp","shiojiri.nagano.jp","suwa.nagano.jp","suzaka.nagano.jp","takagi.nagano.jp","takamori.nagano.jp","takayama.nagano.jp","tateshina.nagano.jp","tatsuno.nagano.jp","togakushi.nagano.jp","togura.nagano.jp","tomi.nagano.jp","ueda.nagano.jp","wada.nagano.jp","yamagata.nagano.jp","yamanouchi.nagano.jp","yasaka.nagano.jp","yasuoka.nagano.jp","chijiwa.nagasaki.jp","futsu.nagasaki.jp","goto.nagasaki.jp","hasami.nagasaki.jp","hirado.nagasaki.jp","iki.nagasaki.jp","isahaya.nagasaki.jp","kawatana.nagasaki.jp","kuchinotsu.nagasaki.jp","matsuura.nagasaki.jp","nagasaki.nagasaki.jp","obama.nagasaki.jp","omura.nagasaki.jp","oseto.nagasaki.jp","saikai.nagasaki.jp","sasebo.nagasaki.jp","seihi.nagasaki.jp","shimabara.nagasaki.jp","shinkamigoto.nagasaki.jp","togitsu.nagasaki.jp","tsushima.nagasaki.jp","unzen.nagasaki.jp","ando.nara.jp","gose.nara.jp","heguri.nara.jp","higashiyoshino.nara.jp","ikaruga.nara.jp","ikoma.nara.jp","kamikitayama.nara.jp","kanmaki.nara.jp","kashiba.nara.jp","kashihara.nara.jp","katsuragi.nara.jp","kawai.nara.jp","kawakami.nara.jp","kawanishi.nara.jp","koryo.nara.jp","kurotaki.nara.jp","mitsue.nara.jp","miyake.nara.jp","nara.nara.jp","nosegawa.nara.jp","oji.nara.jp","ouda.nara.jp","oyodo.nara.jp","sakurai.nara.jp","sango.nara.jp","shimoichi.nara.jp","shimokitayama.nara.jp","shinjo.nara.jp","soni.nara.jp","takatori.nara.jp","tawaramoto.nara.jp","tenkawa.nara.jp","tenri.nara.jp","uda.nara.jp","yamatokoriyama.nara.jp","yamatotakada.nara.jp","yamazoe.nara.jp","yoshino.nara.jp","aga.niigata.jp","agano.niigata.jp","gosen.niigata.jp","itoigawa.niigata.jp","izumozaki.niigata.jp","joetsu.niigata.jp","kamo.niigata.jp","kariwa.niigata.jp","kashiwazaki.niigata.jp","minamiuonuma.niigata.jp","mitsuke.niigata.jp","muika.niigata.jp","murakami.niigata.jp","myoko.niigata.jp","nagaoka.niigata.jp","niigata.niigata.jp","ojiya.niigata.jp","omi.niigata.jp","sado.niigata.jp","sanjo.niigata.jp","seiro.niigata.jp","seirou.niigata.jp","sekikawa.niigata.jp","shibata.niigata.jp","tagami.niigata.jp","tainai.niigata.jp","tochio.niigata.jp","tokamachi.niigata.jp","tsubame.niigata.jp","tsunan.niigata.jp","uonuma.niigata.jp","yahiko.niigata.jp","yoita.niigata.jp","yuzawa.niigata.jp","beppu.oita.jp","bungoono.oita.jp","bungotakada.oita.jp","hasama.oita.jp","hiji.oita.jp","himeshima.oita.jp","hita.oita.jp","kamitsue.oita.jp","kokonoe.oita.jp","kuju.oita.jp","kunisaki.oita.jp","kusu.oita.jp","oita.oita.jp","saiki.oita.jp","taketa.oita.jp","tsukumi.oita.jp","usa.oita.jp","usuki.oita.jp","yufu.oita.jp","akaiwa.okayama.jp","asakuchi.okayama.jp","bizen.okayama.jp","hayashima.okayama.jp","ibara.okayama.jp","kagamino.okayama.jp","kasaoka.okayama.jp","kibichuo.okayama.jp","kumenan.okayama.jp","kurashiki.okayama.jp","maniwa.okayama.jp","misaki.okayama.jp","nagi.okayama.jp","niimi.okayama.jp","nishiawakura.okayama.jp","okayama.okayama.jp","satosho.okayama.jp","setouchi.okayama.jp","shinjo.okayama.jp","shoo.okayama.jp","soja.okayama.jp","takahashi.okayama.jp","tamano.okayama.jp","tsuyama.okayama.jp","wake.okayama.jp","yakage.okayama.jp","aguni.okinawa.jp","ginowan.okinawa.jp","ginoza.okinawa.jp","gushikami.okinawa.jp","haebaru.okinawa.jp","higashi.okinawa.jp","hirara.okinawa.jp","iheya.okinawa.jp","ishigaki.okinawa.jp","ishikawa.okinawa.jp","itoman.okinawa.jp","izena.okinawa.jp","kadena.okinawa.jp","kin.okinawa.jp","kitadaito.okinawa.jp","kitanakagusuku.okinawa.jp","kumejima.okinawa.jp","kunigami.okinawa.jp","minamidaito.okinawa.jp","motobu.okinawa.jp","nago.okinawa.jp","naha.okinawa.jp","nakagusuku.okinawa.jp","nakijin.okinawa.jp","nanjo.okinawa.jp","nishihara.okinawa.jp","ogimi.okinawa.jp","okinawa.okinawa.jp","onna.okinawa.jp","shimoji.okinawa.jp","taketomi.okinawa.jp","tarama.okinawa.jp","tokashiki.okinawa.jp","tomigusuku.okinawa.jp","tonaki.okinawa.jp","urasoe.okinawa.jp","uruma.okinawa.jp","yaese.okinawa.jp","yomitan.okinawa.jp","yonabaru.okinawa.jp","yonaguni.okinawa.jp","zamami.okinawa.jp","abeno.osaka.jp","chihayaakasaka.osaka.jp","chuo.osaka.jp","daito.osaka.jp","fujiidera.osaka.jp","habikino.osaka.jp","hannan.osaka.jp","higashiosaka.osaka.jp","higashisumiyoshi.osaka.jp","higashiyodogawa.osaka.jp","hirakata.osaka.jp","ibaraki.osaka.jp","ikeda.osaka.jp","izumi.osaka.jp","izumiotsu.osaka.jp","izumisano.osaka.jp","kadoma.osaka.jp","kaizuka.osaka.jp","kanan.osaka.jp","kashiwara.osaka.jp","katano.osaka.jp","kawachinagano.osaka.jp","kishiwada.osaka.jp","kita.osaka.jp","kumatori.osaka.jp","matsubara.osaka.jp","minato.osaka.jp","minoh.osaka.jp","misaki.osaka.jp","moriguchi.osaka.jp","neyagawa.osaka.jp","nishi.osaka.jp","nose.osaka.jp","osakasayama.osaka.jp","sakai.osaka.jp","sayama.osaka.jp","sennan.osaka.jp","settsu.osaka.jp","shijonawate.osaka.jp","shimamoto.osaka.jp","suita.osaka.jp","tadaoka.osaka.jp","taishi.osaka.jp","tajiri.osaka.jp","takaishi.osaka.jp","takatsuki.osaka.jp","tondabayashi.osaka.jp","toyonaka.osaka.jp","toyono.osaka.jp","yao.osaka.jp","ariake.saga.jp","arita.saga.jp","fukudomi.saga.jp","genkai.saga.jp","hamatama.saga.jp","hizen.saga.jp","imari.saga.jp","kamimine.saga.jp","kanzaki.saga.jp","karatsu.saga.jp","kashima.saga.jp","kitagata.saga.jp","kitahata.saga.jp","kiyama.saga.jp","kouhoku.saga.jp","kyuragi.saga.jp","nishiarita.saga.jp","ogi.saga.jp","omachi.saga.jp","ouchi.saga.jp","saga.saga.jp","shiroishi.saga.jp","taku.saga.jp","tara.saga.jp","tosu.saga.jp","yoshinogari.saga.jp","arakawa.saitama.jp","asaka.saitama.jp","chichibu.saitama.jp","fujimi.saitama.jp","fujimino.saitama.jp","fukaya.saitama.jp","hanno.saitama.jp","hanyu.saitama.jp","hasuda.saitama.jp","hatogaya.saitama.jp","hatoyama.saitama.jp","hidaka.saitama.jp","higashichichibu.saitama.jp","higashimatsuyama.saitama.jp","honjo.saitama.jp","ina.saitama.jp","iruma.saitama.jp","iwatsuki.saitama.jp","kamiizumi.saitama.jp","kamikawa.saitama.jp","kamisato.saitama.jp","kasukabe.saitama.jp","kawagoe.saitama.jp","kawaguchi.saitama.jp","kawajima.saitama.jp","kazo.saitama.jp","kitamoto.saitama.jp","koshigaya.saitama.jp","kounosu.saitama.jp","kuki.saitama.jp","kumagaya.saitama.jp","matsubushi.saitama.jp","minano.saitama.jp","misato.saitama.jp","miyashiro.saitama.jp","miyoshi.saitama.jp","moroyama.saitama.jp","nagatoro.saitama.jp","namegawa.saitama.jp","niiza.saitama.jp","ogano.saitama.jp","ogawa.saitama.jp","ogose.saitama.jp","okegawa.saitama.jp","omiya.saitama.jp","otaki.saitama.jp","ranzan.saitama.jp","ryokami.saitama.jp","saitama.saitama.jp","sakado.saitama.jp","satte.saitama.jp","sayama.saitama.jp","shiki.saitama.jp","shiraoka.saitama.jp","soka.saitama.jp","sugito.saitama.jp","toda.saitama.jp","tokigawa.saitama.jp","tokorozawa.saitama.jp","tsurugashima.saitama.jp","urawa.saitama.jp","warabi.saitama.jp","yashio.saitama.jp","yokoze.saitama.jp","yono.saitama.jp","yorii.saitama.jp","yoshida.saitama.jp","yoshikawa.saitama.jp","yoshimi.saitama.jp","aisho.shiga.jp","gamo.shiga.jp","higashiomi.shiga.jp","hikone.shiga.jp","koka.shiga.jp","konan.shiga.jp","kosei.shiga.jp","koto.shiga.jp","kusatsu.shiga.jp","maibara.shiga.jp","moriyama.shiga.jp","nagahama.shiga.jp","nishiazai.shiga.jp","notogawa.shiga.jp","omihachiman.shiga.jp","otsu.shiga.jp","ritto.shiga.jp","ryuoh.shiga.jp","takashima.shiga.jp","takatsuki.shiga.jp","torahime.shiga.jp","toyosato.shiga.jp","yasu.shiga.jp","akagi.shimane.jp","ama.shimane.jp","gotsu.shimane.jp","hamada.shimane.jp","higashiizumo.shimane.jp","hikawa.shimane.jp","hikimi.shimane.jp","izumo.shimane.jp","kakinoki.shimane.jp","masuda.shimane.jp","matsue.shimane.jp","misato.shimane.jp","nishinoshima.shimane.jp","ohda.shimane.jp","okinoshima.shimane.jp","okuizumo.shimane.jp","shimane.shimane.jp","tamayu.shimane.jp","tsuwano.shimane.jp","unnan.shimane.jp","yakumo.shimane.jp","yasugi.shimane.jp","yatsuka.shimane.jp","arai.shizuoka.jp","atami.shizuoka.jp","fuji.shizuoka.jp","fujieda.shizuoka.jp","fujikawa.shizuoka.jp","fujinomiya.shizuoka.jp","fukuroi.shizuoka.jp","gotemba.shizuoka.jp","haibara.shizuoka.jp","hamamatsu.shizuoka.jp","higashiizu.shizuoka.jp","ito.shizuoka.jp","iwata.shizuoka.jp","izu.shizuoka.jp","izunokuni.shizuoka.jp","kakegawa.shizuoka.jp","kannami.shizuoka.jp","kawanehon.shizuoka.jp","kawazu.shizuoka.jp","kikugawa.shizuoka.jp","kosai.shizuoka.jp","makinohara.shizuoka.jp","matsuzaki.shizuoka.jp","minamiizu.shizuoka.jp","mishima.shizuoka.jp","morimachi.shizuoka.jp","nishiizu.shizuoka.jp","numazu.shizuoka.jp","omaezaki.shizuoka.jp","shimada.shizuoka.jp","shimizu.shizuoka.jp","shimoda.shizuoka.jp","shizuoka.shizuoka.jp","susono.shizuoka.jp","yaizu.shizuoka.jp","yoshida.shizuoka.jp","ashikaga.tochigi.jp","bato.tochigi.jp","haga.tochigi.jp","ichikai.tochigi.jp","iwafune.tochigi.jp","kaminokawa.tochigi.jp","kanuma.tochigi.jp","karasuyama.tochigi.jp","kuroiso.tochigi.jp","mashiko.tochigi.jp","mibu.tochigi.jp","moka.tochigi.jp","motegi.tochigi.jp","nasu.tochigi.jp","nasushiobara.tochigi.jp","nikko.tochigi.jp","nishikata.tochigi.jp","nogi.tochigi.jp","ohira.tochigi.jp","ohtawara.tochigi.jp","oyama.tochigi.jp","sakura.tochigi.jp","sano.tochigi.jp","shimotsuke.tochigi.jp","shioya.tochigi.jp","takanezawa.tochigi.jp","tochigi.tochigi.jp","tsuga.tochigi.jp","ujiie.tochigi.jp","utsunomiya.tochigi.jp","yaita.tochigi.jp","aizumi.tokushima.jp","anan.tokushima.jp","ichiba.tokushima.jp","itano.tokushima.jp","kainan.tokushima.jp","komatsushima.tokushima.jp","matsushige.tokushima.jp","mima.tokushima.jp","minami.tokushima.jp","miyoshi.tokushima.jp","mugi.tokushima.jp","nakagawa.tokushima.jp","naruto.tokushima.jp","sanagochi.tokushima.jp","shishikui.tokushima.jp","tokushima.tokushima.jp","wajiki.tokushima.jp","adachi.tokyo.jp","akiruno.tokyo.jp","akishima.tokyo.jp","aogashima.tokyo.jp","arakawa.tokyo.jp","bunkyo.tokyo.jp","chiyoda.tokyo.jp","chofu.tokyo.jp","chuo.tokyo.jp","edogawa.tokyo.jp","fuchu.tokyo.jp","fussa.tokyo.jp","hachijo.tokyo.jp","hachioji.tokyo.jp","hamura.tokyo.jp","higashikurume.tokyo.jp","higashimurayama.tokyo.jp","higashiyamato.tokyo.jp","hino.tokyo.jp","hinode.tokyo.jp","hinohara.tokyo.jp","inagi.tokyo.jp","itabashi.tokyo.jp","katsushika.tokyo.jp","kita.tokyo.jp","kiyose.tokyo.jp","kodaira.tokyo.jp","koganei.tokyo.jp","kokubunji.tokyo.jp","komae.tokyo.jp","koto.tokyo.jp","kouzushima.tokyo.jp","kunitachi.tokyo.jp","machida.tokyo.jp","meguro.tokyo.jp","minato.tokyo.jp","mitaka.tokyo.jp","mizuho.tokyo.jp","musashimurayama.tokyo.jp","musashino.tokyo.jp","nakano.tokyo.jp","nerima.tokyo.jp","ogasawara.tokyo.jp","okutama.tokyo.jp","ome.tokyo.jp","oshima.tokyo.jp","ota.tokyo.jp","setagaya.tokyo.jp","shibuya.tokyo.jp","shinagawa.tokyo.jp","shinjuku.tokyo.jp","suginami.tokyo.jp","sumida.tokyo.jp","tachikawa.tokyo.jp","taito.tokyo.jp","tama.tokyo.jp","toshima.tokyo.jp","chizu.tottori.jp","hino.tottori.jp","kawahara.tottori.jp","koge.tottori.jp","kotoura.tottori.jp","misasa.tottori.jp","nanbu.tottori.jp","nichinan.tottori.jp","sakaiminato.tottori.jp","tottori.tottori.jp","wakasa.tottori.jp","yazu.tottori.jp","yonago.tottori.jp","asahi.toyama.jp","fuchu.toyama.jp","fukumitsu.toyama.jp","funahashi.toyama.jp","himi.toyama.jp","imizu.toyama.jp","inami.toyama.jp","johana.toyama.jp","kamiichi.toyama.jp","kurobe.toyama.jp","nakaniikawa.toyama.jp","namerikawa.toyama.jp","nanto.toyama.jp","nyuzen.toyama.jp","oyabe.toyama.jp","taira.toyama.jp","takaoka.toyama.jp","tateyama.toyama.jp","toga.toyama.jp","tonami.toyama.jp","toyama.toyama.jp","unazuki.toyama.jp","uozu.toyama.jp","yamada.toyama.jp","arida.wakayama.jp","aridagawa.wakayama.jp","gobo.wakayama.jp","hashimoto.wakayama.jp","hidaka.wakayama.jp","hirogawa.wakayama.jp","inami.wakayama.jp","iwade.wakayama.jp","kainan.wakayama.jp","kamitonda.wakayama.jp","katsuragi.wakayama.jp","kimino.wakayama.jp","kinokawa.wakayama.jp","kitayama.wakayama.jp","koya.wakayama.jp","koza.wakayama.jp","kozagawa.wakayama.jp","kudoyama.wakayama.jp","kushimoto.wakayama.jp","mihama.wakayama.jp","misato.wakayama.jp","nachikatsuura.wakayama.jp","shingu.wakayama.jp","shirahama.wakayama.jp","taiji.wakayama.jp","tanabe.wakayama.jp","wakayama.wakayama.jp","yuasa.wakayama.jp","yura.wakayama.jp","asahi.yamagata.jp","funagata.yamagata.jp","higashine.yamagata.jp","iide.yamagata.jp","kahoku.yamagata.jp","kaminoyama.yamagata.jp","kaneyama.yamagata.jp","kawanishi.yamagata.jp","mamurogawa.yamagata.jp","mikawa.yamagata.jp","murayama.yamagata.jp","nagai.yamagata.jp","nakayama.yamagata.jp","nanyo.yamagata.jp","nishikawa.yamagata.jp","obanazawa.yamagata.jp","oe.yamagata.jp","oguni.yamagata.jp","ohkura.yamagata.jp","oishida.yamagata.jp","sagae.yamagata.jp","sakata.yamagata.jp","sakegawa.yamagata.jp","shinjo.yamagata.jp","shirataka.yamagata.jp","shonai.yamagata.jp","takahata.yamagata.jp","tendo.yamagata.jp","tozawa.yamagata.jp","tsuruoka.yamagata.jp","yamagata.yamagata.jp","yamanobe.yamagata.jp","yonezawa.yamagata.jp","yuza.yamagata.jp","abu.yamaguchi.jp","hagi.yamaguchi.jp","hikari.yamaguchi.jp","hofu.yamaguchi.jp","iwakuni.yamaguchi.jp","kudamatsu.yamaguchi.jp","mitou.yamaguchi.jp","nagato.yamaguchi.jp","oshima.yamaguchi.jp","shimonoseki.yamaguchi.jp","shunan.yamaguchi.jp","tabuse.yamaguchi.jp","tokuyama.yamaguchi.jp","toyota.yamaguchi.jp","ube.yamaguchi.jp","yuu.yamaguchi.jp","chuo.yamanashi.jp","doshi.yamanashi.jp","fuefuki.yamanashi.jp","fujikawa.yamanashi.jp","fujikawaguchiko.yamanashi.jp","fujiyoshida.yamanashi.jp","hayakawa.yamanashi.jp","hokuto.yamanashi.jp","ichikawamisato.yamanashi.jp","kai.yamanashi.jp","kofu.yamanashi.jp","koshu.yamanashi.jp","kosuge.yamanashi.jp","minami-alps.yamanashi.jp","minobu.yamanashi.jp","nakamichi.yamanashi.jp","nanbu.yamanashi.jp","narusawa.yamanashi.jp","nirasaki.yamanashi.jp","nishikatsura.yamanashi.jp","oshino.yamanashi.jp","otsuki.yamanashi.jp","showa.yamanashi.jp","tabayama.yamanashi.jp","tsuru.yamanashi.jp","uenohara.yamanashi.jp","yamanakako.yamanashi.jp","yamanashi.yamanashi.jp","ke","ac.ke","co.ke","go.ke","info.ke","me.ke","mobi.ke","ne.ke","or.ke","sc.ke","kg","org.kg","net.kg","com.kg","edu.kg","gov.kg","mil.kg","*.kh","ki","edu.ki","biz.ki","net.ki","org.ki","gov.ki","info.ki","com.ki","km","org.km","nom.km","gov.km","prd.km","tm.km","edu.km","mil.km","ass.km","com.km","coop.km","asso.km","presse.km","medecin.km","notaires.km","pharmaciens.km","veterinaire.km","gouv.km","kn","net.kn","org.kn","edu.kn","gov.kn","kp","com.kp","edu.kp","gov.kp","org.kp","rep.kp","tra.kp","kr","ac.kr","co.kr","es.kr","go.kr","hs.kr","kg.kr","mil.kr","ms.kr","ne.kr","or.kr","pe.kr","re.kr","sc.kr","busan.kr","chungbuk.kr","chungnam.kr","daegu.kr","daejeon.kr","gangwon.kr","gwangju.kr","gyeongbuk.kr","gyeonggi.kr","gyeongnam.kr","incheon.kr","jeju.kr","jeonbuk.kr","jeonnam.kr","seoul.kr","ulsan.kr","kw","com.kw","edu.kw","emb.kw","gov.kw","ind.kw","net.kw","org.kw","ky","edu.ky","gov.ky","com.ky","org.ky","net.ky","kz","org.kz","edu.kz","net.kz","gov.kz","mil.kz","com.kz","la","int.la","net.la","info.la","edu.la","gov.la","per.la","com.la","org.la","lb","com.lb","edu.lb","gov.lb","net.lb","org.lb","lc","com.lc","net.lc","co.lc","org.lc","edu.lc","gov.lc","li","lk","gov.lk","sch.lk","net.lk","int.lk","com.lk","org.lk","edu.lk","ngo.lk","soc.lk","web.lk","ltd.lk","assn.lk","grp.lk","hotel.lk","ac.lk","lr","com.lr","edu.lr","gov.lr","org.lr","net.lr","ls","ac.ls","biz.ls","co.ls","edu.ls","gov.ls","info.ls","net.ls","org.ls","sc.ls","lt","gov.lt","lu","lv","com.lv","edu.lv","gov.lv","org.lv","mil.lv","id.lv","net.lv","asn.lv","conf.lv","ly","com.ly","net.ly","gov.ly","plc.ly","edu.ly","sch.ly","med.ly","org.ly","id.ly","ma","co.ma","net.ma","gov.ma","org.ma","ac.ma","press.ma","mc","tm.mc","asso.mc","md","me","co.me","net.me","org.me","edu.me","ac.me","gov.me","its.me","priv.me","mg","org.mg","nom.mg","gov.mg","prd.mg","tm.mg","edu.mg","mil.mg","com.mg","co.mg","mh","mil","mk","com.mk","org.mk","net.mk","edu.mk","gov.mk","inf.mk","name.mk","ml","com.ml","edu.ml","gouv.ml","gov.ml","net.ml","org.ml","presse.ml","*.mm","mn","gov.mn","edu.mn","org.mn","mo","com.mo","net.mo","org.mo","edu.mo","gov.mo","mobi","mp","mq","mr","gov.mr","ms","com.ms","edu.ms","gov.ms","net.ms","org.ms","mt","com.mt","edu.mt","net.mt","org.mt","mu","com.mu","net.mu","org.mu","gov.mu","ac.mu","co.mu","or.mu","museum","academy.museum","agriculture.museum","air.museum","airguard.museum","alabama.museum","alaska.museum","amber.museum","ambulance.museum","american.museum","americana.museum","americanantiques.museum","americanart.museum","amsterdam.museum","and.museum","annefrank.museum","anthro.museum","anthropology.museum","antiques.museum","aquarium.museum","arboretum.museum","archaeological.museum","archaeology.museum","architecture.museum","art.museum","artanddesign.museum","artcenter.museum","artdeco.museum","arteducation.museum","artgallery.museum","arts.museum","artsandcrafts.museum","asmatart.museum","assassination.museum","assisi.museum","association.museum","astronomy.museum","atlanta.museum","austin.museum","australia.museum","automotive.museum","aviation.museum","axis.museum","badajoz.museum","baghdad.museum","bahn.museum","bale.museum","baltimore.museum","barcelona.museum","baseball.museum","basel.museum","baths.museum","bauern.museum","beauxarts.museum","beeldengeluid.museum","bellevue.museum","bergbau.museum","berkeley.museum","berlin.museum","bern.museum","bible.museum","bilbao.museum","bill.museum","birdart.museum","birthplace.museum","bonn.museum","boston.museum","botanical.museum","botanicalgarden.museum","botanicgarden.museum","botany.museum","brandywinevalley.museum","brasil.museum","bristol.museum","british.museum","britishcolumbia.museum","broadcast.museum","brunel.museum","brussel.museum","brussels.museum","bruxelles.museum","building.museum","burghof.museum","bus.museum","bushey.museum","cadaques.museum","california.museum","cambridge.museum","can.museum","canada.museum","capebreton.museum","carrier.museum","cartoonart.museum","casadelamoneda.museum","castle.museum","castres.museum","celtic.museum","center.museum","chattanooga.museum","cheltenham.museum","chesapeakebay.museum","chicago.museum","children.museum","childrens.museum","childrensgarden.museum","chiropractic.museum","chocolate.museum","christiansburg.museum","cincinnati.museum","cinema.museum","circus.museum","civilisation.museum","civilization.museum","civilwar.museum","clinton.museum","clock.museum","coal.museum","coastaldefence.museum","cody.museum","coldwar.museum","collection.museum","colonialwilliamsburg.museum","coloradoplateau.museum","columbia.museum","columbus.museum","communication.museum","communications.museum","community.museum","computer.museum","computerhistory.museum","comunicações.museum","contemporary.museum","contemporaryart.museum","convent.museum","copenhagen.museum","corporation.museum","correios-e-telecomunicações.museum","corvette.museum","costume.museum","countryestate.museum","county.museum","crafts.museum","cranbrook.museum","creation.museum","cultural.museum","culturalcenter.museum","culture.museum","cyber.museum","cymru.museum","dali.museum","dallas.museum","database.museum","ddr.museum","decorativearts.museum","delaware.museum","delmenhorst.museum","denmark.museum","depot.museum","design.museum","detroit.museum","dinosaur.museum","discovery.museum","dolls.museum","donostia.museum","durham.museum","eastafrica.museum","eastcoast.museum","education.museum","educational.museum","egyptian.museum","eisenbahn.museum","elburg.museum","elvendrell.museum","embroidery.museum","encyclopedic.museum","england.museum","entomology.museum","environment.museum","environmentalconservation.museum","epilepsy.museum","essex.museum","estate.museum","ethnology.museum","exeter.museum","exhibition.museum","family.museum","farm.museum","farmequipment.museum","farmers.museum","farmstead.museum","field.museum","figueres.museum","filatelia.museum","film.museum","fineart.museum","finearts.museum","finland.museum","flanders.museum","florida.museum","force.museum","fortmissoula.museum","fortworth.museum","foundation.museum","francaise.museum","frankfurt.museum","franziskaner.museum","freemasonry.museum","freiburg.museum","fribourg.museum","frog.museum","fundacio.museum","furniture.museum","gallery.museum","garden.museum","gateway.museum","geelvinck.museum","gemological.museum","geology.museum","georgia.museum","giessen.museum","glas.museum","glass.museum","gorge.museum","grandrapids.museum","graz.museum","guernsey.museum","halloffame.museum","hamburg.museum","handson.museum","harvestcelebration.museum","hawaii.museum","health.museum","heimatunduhren.museum","hellas.museum","helsinki.museum","hembygdsforbund.museum","heritage.museum","histoire.museum","historical.museum","historicalsociety.museum","historichouses.museum","historisch.museum","historisches.museum","history.museum","historyofscience.museum","horology.museum","house.museum","humanities.museum","illustration.museum","imageandsound.museum","indian.museum","indiana.museum","indianapolis.museum","indianmarket.museum","intelligence.museum","interactive.museum","iraq.museum","iron.museum","isleofman.museum","jamison.museum","jefferson.museum","jerusalem.museum","jewelry.museum","jewish.museum","jewishart.museum","jfk.museum","journalism.museum","judaica.museum","judygarland.museum","juedisches.museum","juif.museum","karate.museum","karikatur.museum","kids.museum","koebenhavn.museum","koeln.museum","kunst.museum","kunstsammlung.museum","kunstunddesign.museum","labor.museum","labour.museum","lajolla.museum","lancashire.museum","landes.museum","lans.museum","läns.museum","larsson.museum","lewismiller.museum","lincoln.museum","linz.museum","living.museum","livinghistory.museum","localhistory.museum","london.museum","losangeles.museum","louvre.museum","loyalist.museum","lucerne.museum","luxembourg.museum","luzern.museum","mad.museum","madrid.museum","mallorca.museum","manchester.museum","mansion.museum","mansions.museum","manx.museum","marburg.museum","maritime.museum","maritimo.museum","maryland.museum","marylhurst.museum","media.museum","medical.museum","medizinhistorisches.museum","meeres.museum","memorial.museum","mesaverde.museum","michigan.museum","midatlantic.museum","military.museum","mill.museum","miners.museum","mining.museum","minnesota.museum","missile.museum","missoula.museum","modern.museum","moma.museum","money.museum","monmouth.museum","monticello.museum","montreal.museum","moscow.museum","motorcycle.museum","muenchen.museum","muenster.museum","mulhouse.museum","muncie.museum","museet.museum","museumcenter.museum","museumvereniging.museum","music.museum","national.museum","nationalfirearms.museum","nationalheritage.museum","nativeamerican.museum","naturalhistory.museum","naturalhistorymuseum.museum","naturalsciences.museum","nature.museum","naturhistorisches.museum","natuurwetenschappen.museum","naumburg.museum","naval.museum","nebraska.museum","neues.museum","newhampshire.museum","newjersey.museum","newmexico.museum","newport.museum","newspaper.museum","newyork.museum","niepce.museum","norfolk.museum","north.museum","nrw.museum","nyc.museum","nyny.museum","oceanographic.museum","oceanographique.museum","omaha.museum","online.museum","ontario.museum","openair.museum","oregon.museum","oregontrail.museum","otago.museum","oxford.museum","pacific.museum","paderborn.museum","palace.museum","paleo.museum","palmsprings.museum","panama.museum","paris.museum","pasadena.museum","pharmacy.museum","philadelphia.museum","philadelphiaarea.museum","philately.museum","phoenix.museum","photography.museum","pilots.museum","pittsburgh.museum","planetarium.museum","plantation.museum","plants.museum","plaza.museum","portal.museum","portland.museum","portlligat.museum","posts-and-telecommunications.museum","preservation.museum","presidio.museum","press.museum","project.museum","public.museum","pubol.museum","quebec.museum","railroad.museum","railway.museum","research.museum","resistance.museum","riodejaneiro.museum","rochester.museum","rockart.museum","roma.museum","russia.museum","saintlouis.museum","salem.museum","salvadordali.museum","salzburg.museum","sandiego.museum","sanfrancisco.museum","santabarbara.museum","santacruz.museum","santafe.museum","saskatchewan.museum","satx.museum","savannahga.museum","schlesisches.museum","schoenbrunn.museum","schokoladen.museum","school.museum","schweiz.museum","science.museum","scienceandhistory.museum","scienceandindustry.museum","sciencecenter.museum","sciencecenters.museum","science-fiction.museum","sciencehistory.museum","sciences.museum","sciencesnaturelles.museum","scotland.museum","seaport.museum","settlement.museum","settlers.museum","shell.museum","sherbrooke.museum","sibenik.museum","silk.museum","ski.museum","skole.museum","society.museum","sologne.museum","soundandvision.museum","southcarolina.museum","southwest.museum","space.museum","spy.museum","square.museum","stadt.museum","stalbans.museum","starnberg.museum","state.museum","stateofdelaware.museum","station.museum","steam.museum","steiermark.museum","stjohn.museum","stockholm.museum","stpetersburg.museum","stuttgart.museum","suisse.museum","surgeonshall.museum","surrey.museum","svizzera.museum","sweden.museum","sydney.museum","tank.museum","tcm.museum","technology.museum","telekommunikation.museum","television.museum","texas.museum","textile.museum","theater.museum","time.museum","timekeeping.museum","topology.museum","torino.museum","touch.museum","town.museum","transport.museum","tree.museum","trolley.museum","trust.museum","trustee.museum","uhren.museum","ulm.museum","undersea.museum","university.museum","usa.museum","usantiques.museum","usarts.museum","uscountryestate.museum","usculture.museum","usdecorativearts.museum","usgarden.museum","ushistory.museum","ushuaia.museum","uslivinghistory.museum","utah.museum","uvic.museum","valley.museum","vantaa.museum","versailles.museum","viking.museum","village.museum","virginia.museum","virtual.museum","virtuel.museum","vlaanderen.museum","volkenkunde.museum","wales.museum","wallonie.museum","war.museum","washingtondc.museum","watchandclock.museum","watch-and-clock.museum","western.museum","westfalen.museum","whaling.museum","wildlife.museum","williamsburg.museum","windmill.museum","workshop.museum","york.museum","yorkshire.museum","yosemite.museum","youth.museum","zoological.museum","zoology.museum","ירושלים.museum","иком.museum","mv","aero.mv","biz.mv","com.mv","coop.mv","edu.mv","gov.mv","info.mv","int.mv","mil.mv","museum.mv","name.mv","net.mv","org.mv","pro.mv","mw","ac.mw","biz.mw","co.mw","com.mw","coop.mw","edu.mw","gov.mw","int.mw","museum.mw","net.mw","org.mw","mx","com.mx","org.mx","gob.mx","edu.mx","net.mx","my","com.my","net.my","org.my","gov.my","edu.my","mil.my","name.my","mz","ac.mz","adv.mz","co.mz","edu.mz","gov.mz","mil.mz","net.mz","org.mz","na","info.na","pro.na","name.na","school.na","or.na","dr.na","us.na","mx.na","ca.na","in.na","cc.na","tv.na","ws.na","mobi.na","co.na","com.na","org.na","name","nc","asso.nc","nom.nc","ne","net","nf","com.nf","net.nf","per.nf","rec.nf","web.nf","arts.nf","firm.nf","info.nf","other.nf","store.nf","ng","com.ng","edu.ng","gov.ng","i.ng","mil.ng","mobi.ng","name.ng","net.ng","org.ng","sch.ng","ni","ac.ni","biz.ni","co.ni","com.ni","edu.ni","gob.ni","in.ni","info.ni","int.ni","mil.ni","net.ni","nom.ni","org.ni","web.ni","nl","no","fhs.no","vgs.no","fylkesbibl.no","folkebibl.no","museum.no","idrett.no","priv.no","mil.no","stat.no","dep.no","kommune.no","herad.no","aa.no","ah.no","bu.no","fm.no","hl.no","hm.no","jan-mayen.no","mr.no","nl.no","nt.no","of.no","ol.no","oslo.no","rl.no","sf.no","st.no","svalbard.no","tm.no","tr.no","va.no","vf.no","gs.aa.no","gs.ah.no","gs.bu.no","gs.fm.no","gs.hl.no","gs.hm.no","gs.jan-mayen.no","gs.mr.no","gs.nl.no","gs.nt.no","gs.of.no","gs.ol.no","gs.oslo.no","gs.rl.no","gs.sf.no","gs.st.no","gs.svalbard.no","gs.tm.no","gs.tr.no","gs.va.no","gs.vf.no","akrehamn.no","åkrehamn.no","algard.no","ålgård.no","arna.no","brumunddal.no","bryne.no","bronnoysund.no","brønnøysund.no","drobak.no","drøbak.no","egersund.no","fetsund.no","floro.no","florø.no","fredrikstad.no","hokksund.no","honefoss.no","hønefoss.no","jessheim.no","jorpeland.no","jørpeland.no","kirkenes.no","kopervik.no","krokstadelva.no","langevag.no","langevåg.no","leirvik.no","mjondalen.no","mjøndalen.no","mo-i-rana.no","mosjoen.no","mosjøen.no","nesoddtangen.no","orkanger.no","osoyro.no","osøyro.no","raholt.no","råholt.no","sandnessjoen.no","sandnessjøen.no","skedsmokorset.no","slattum.no","spjelkavik.no","stathelle.no","stavern.no","stjordalshalsen.no","stjørdalshalsen.no","tananger.no","tranby.no","vossevangen.no","afjord.no","åfjord.no","agdenes.no","al.no","ål.no","alesund.no","ålesund.no","alstahaug.no","alta.no","áltá.no","alaheadju.no","álaheadju.no","alvdal.no","amli.no","åmli.no","amot.no","åmot.no","andebu.no","andoy.no","andøy.no","andasuolo.no","ardal.no","årdal.no","aremark.no","arendal.no","ås.no","aseral.no","åseral.no","asker.no","askim.no","askvoll.no","askoy.no","askøy.no","asnes.no","åsnes.no","audnedaln.no","aukra.no","aure.no","aurland.no","aurskog-holand.no","aurskog-høland.no","austevoll.no","austrheim.no","averoy.no","averøy.no","balestrand.no","ballangen.no","balat.no","bálát.no","balsfjord.no","bahccavuotna.no","báhccavuotna.no","bamble.no","bardu.no","beardu.no","beiarn.no","bajddar.no","bájddar.no","baidar.no","báidár.no","berg.no","bergen.no","berlevag.no","berlevåg.no","bearalvahki.no","bearalváhki.no","bindal.no","birkenes.no","bjarkoy.no","bjarkøy.no","bjerkreim.no","bjugn.no","bodo.no","bodø.no","badaddja.no","bådåddjå.no","budejju.no","bokn.no","bremanger.no","bronnoy.no","brønnøy.no","bygland.no","bykle.no","barum.no","bærum.no","bo.telemark.no","bø.telemark.no","bo.nordland.no","bø.nordland.no","bievat.no","bievát.no","bomlo.no","bømlo.no","batsfjord.no","båtsfjord.no","bahcavuotna.no","báhcavuotna.no","dovre.no","drammen.no","drangedal.no","dyroy.no","dyrøy.no","donna.no","dønna.no","eid.no","eidfjord.no","eidsberg.no","eidskog.no","eidsvoll.no","eigersund.no","elverum.no","enebakk.no","engerdal.no","etne.no","etnedal.no","evenes.no","evenassi.no","evenášši.no","evje-og-hornnes.no","farsund.no","fauske.no","fuossko.no","fuoisku.no","fedje.no","fet.no","finnoy.no","finnøy.no","fitjar.no","fjaler.no","fjell.no","flakstad.no","flatanger.no","flekkefjord.no","flesberg.no","flora.no","fla.no","flå.no","folldal.no","forsand.no","fosnes.no","frei.no","frogn.no","froland.no","frosta.no","frana.no","fræna.no","froya.no","frøya.no","fusa.no","fyresdal.no","forde.no","førde.no","gamvik.no","gangaviika.no","gáŋgaviika.no","gaular.no","gausdal.no","gildeskal.no","gildeskål.no","giske.no","gjemnes.no","gjerdrum.no","gjerstad.no","gjesdal.no","gjovik.no","gjøvik.no","gloppen.no","gol.no","gran.no","grane.no","granvin.no","gratangen.no","grimstad.no","grong.no","kraanghke.no","kråanghke.no","grue.no","gulen.no","hadsel.no","halden.no","halsa.no","hamar.no","hamaroy.no","habmer.no","hábmer.no","hapmir.no","hápmir.no","hammerfest.no","hammarfeasta.no","hámmárfeasta.no","haram.no","hareid.no","harstad.no","hasvik.no","aknoluokta.no","ákŋoluokta.no","hattfjelldal.no","aarborte.no","haugesund.no","hemne.no","hemnes.no","hemsedal.no","heroy.more-og-romsdal.no","herøy.møre-og-romsdal.no","heroy.nordland.no","herøy.nordland.no","hitra.no","hjartdal.no","hjelmeland.no","hobol.no","hobøl.no","hof.no","hol.no","hole.no","holmestrand.no","holtalen.no","holtålen.no","hornindal.no","horten.no","hurdal.no","hurum.no","hvaler.no","hyllestad.no","hagebostad.no","hægebostad.no","hoyanger.no","høyanger.no","hoylandet.no","høylandet.no","ha.no","hå.no","ibestad.no","inderoy.no","inderøy.no","iveland.no","jevnaker.no","jondal.no","jolster.no","jølster.no","karasjok.no","karasjohka.no","kárášjohka.no","karlsoy.no","galsa.no","gálsá.no","karmoy.no","karmøy.no","kautokeino.no","guovdageaidnu.no","klepp.no","klabu.no","klæbu.no","kongsberg.no","kongsvinger.no","kragero.no","kragerø.no","kristiansand.no","kristiansund.no","krodsherad.no","krødsherad.no","kvalsund.no","rahkkeravju.no","ráhkkerávju.no","kvam.no","kvinesdal.no","kvinnherad.no","kviteseid.no","kvitsoy.no","kvitsøy.no","kvafjord.no","kvæfjord.no","giehtavuoatna.no","kvanangen.no","kvænangen.no","navuotna.no","návuotna.no","kafjord.no","kåfjord.no","gaivuotna.no","gáivuotna.no","larvik.no","lavangen.no","lavagis.no","loabat.no","loabát.no","lebesby.no","davvesiida.no","leikanger.no","leirfjord.no","leka.no","leksvik.no","lenvik.no","leangaviika.no","leaŋgaviika.no","lesja.no","levanger.no","lier.no","lierne.no","lillehammer.no","lillesand.no","lindesnes.no","lindas.no","lindås.no","lom.no","loppa.no","lahppi.no","láhppi.no","lund.no","lunner.no","luroy.no","lurøy.no","luster.no","lyngdal.no","lyngen.no","ivgu.no","lardal.no","lerdal.no","lærdal.no","lodingen.no","lødingen.no","lorenskog.no","lørenskog.no","loten.no","løten.no","malvik.no","masoy.no","måsøy.no","muosat.no","muosát.no","mandal.no","marker.no","marnardal.no","masfjorden.no","meland.no","meldal.no","melhus.no","meloy.no","meløy.no","meraker.no","meråker.no","moareke.no","moåreke.no","midsund.no","midtre-gauldal.no","modalen.no","modum.no","molde.no","moskenes.no","moss.no","mosvik.no","malselv.no","målselv.no","malatvuopmi.no","málatvuopmi.no","namdalseid.no","aejrie.no","namsos.no","namsskogan.no","naamesjevuemie.no","nååmesjevuemie.no","laakesvuemie.no","nannestad.no","narvik.no","narviika.no","naustdal.no","nedre-eiker.no","nes.akershus.no","nes.buskerud.no","nesna.no","nesodden.no","nesseby.no","unjarga.no","unjárga.no","nesset.no","nissedal.no","nittedal.no","nord-aurdal.no","nord-fron.no","nord-odal.no","norddal.no","nordkapp.no","davvenjarga.no","davvenjárga.no","nordre-land.no","nordreisa.no","raisa.no","ráisa.no","nore-og-uvdal.no","notodden.no","naroy.no","nærøy.no","notteroy.no","nøtterøy.no","odda.no","oksnes.no","øksnes.no","oppdal.no","oppegard.no","oppegård.no","orkdal.no","orland.no","ørland.no","orskog.no","ørskog.no","orsta.no","ørsta.no","os.hedmark.no","os.hordaland.no","osen.no","osteroy.no","osterøy.no","ostre-toten.no","østre-toten.no","overhalla.no","ovre-eiker.no","øvre-eiker.no","oyer.no","øyer.no","oygarden.no","øygarden.no","oystre-slidre.no","øystre-slidre.no","porsanger.no","porsangu.no","porsáŋgu.no","porsgrunn.no","radoy.no","radøy.no","rakkestad.no","rana.no","ruovat.no","randaberg.no","rauma.no","rendalen.no","rennebu.no","rennesoy.no","rennesøy.no","rindal.no","ringebu.no","ringerike.no","ringsaker.no","rissa.no","risor.no","risør.no","roan.no","rollag.no","rygge.no","ralingen.no","rælingen.no","rodoy.no","rødøy.no","romskog.no","rømskog.no","roros.no","røros.no","rost.no","røst.no","royken.no","røyken.no","royrvik.no","røyrvik.no","rade.no","råde.no","salangen.no","siellak.no","saltdal.no","salat.no","sálát.no","sálat.no","samnanger.no","sande.more-og-romsdal.no","sande.møre-og-romsdal.no","sande.vestfold.no","sandefjord.no","sandnes.no","sandoy.no","sandøy.no","sarpsborg.no","sauda.no","sauherad.no","sel.no","selbu.no","selje.no","seljord.no","sigdal.no","siljan.no","sirdal.no","skaun.no","skedsmo.no","ski.no","skien.no","skiptvet.no","skjervoy.no","skjervøy.no","skierva.no","skiervá.no","skjak.no","skjåk.no","skodje.no","skanland.no","skånland.no","skanit.no","skánit.no","smola.no","smøla.no","snillfjord.no","snasa.no","snåsa.no","snoasa.no","snaase.no","snåase.no","sogndal.no","sokndal.no","sola.no","solund.no","songdalen.no","sortland.no","spydeberg.no","stange.no","stavanger.no","steigen.no","steinkjer.no","stjordal.no","stjørdal.no","stokke.no","stor-elvdal.no","stord.no","stordal.no","storfjord.no","omasvuotna.no","strand.no","stranda.no","stryn.no","sula.no","suldal.no","sund.no","sunndal.no","surnadal.no","sveio.no","svelvik.no","sykkylven.no","sogne.no","søgne.no","somna.no","sømna.no","sondre-land.no","søndre-land.no","sor-aurdal.no","sør-aurdal.no","sor-fron.no","sør-fron.no","sor-odal.no","sør-odal.no","sor-varanger.no","sør-varanger.no","matta-varjjat.no","mátta-várjjat.no","sorfold.no","sørfold.no","sorreisa.no","sørreisa.no","sorum.no","sørum.no","tana.no","deatnu.no","time.no","tingvoll.no","tinn.no","tjeldsund.no","dielddanuorri.no","tjome.no","tjøme.no","tokke.no","tolga.no","torsken.no","tranoy.no","tranøy.no","tromso.no","tromsø.no","tromsa.no","romsa.no","trondheim.no","troandin.no","trysil.no","trana.no","træna.no","trogstad.no","trøgstad.no","tvedestrand.no","tydal.no","tynset.no","tysfjord.no","divtasvuodna.no","divttasvuotna.no","tysnes.no","tysvar.no","tysvær.no","tonsberg.no","tønsberg.no","ullensaker.no","ullensvang.no","ulvik.no","utsira.no","vadso.no","vadsø.no","cahcesuolo.no","čáhcesuolo.no","vaksdal.no","valle.no","vang.no","vanylven.no","vardo.no","vardø.no","varggat.no","várggát.no","vefsn.no","vaapste.no","vega.no","vegarshei.no","vegårshei.no","vennesla.no","verdal.no","verran.no","vestby.no","vestnes.no","vestre-slidre.no","vestre-toten.no","vestvagoy.no","vestvågøy.no","vevelstad.no","vik.no","vikna.no","vindafjord.no","volda.no","voss.no","varoy.no","værøy.no","vagan.no","vågan.no","voagat.no","vagsoy.no","vågsøy.no","vaga.no","vågå.no","valer.ostfold.no","våler.østfold.no","valer.hedmark.no","våler.hedmark.no","*.np","nr","biz.nr","info.nr","gov.nr","edu.nr","org.nr","net.nr","com.nr","nu","nz","ac.nz","co.nz","cri.nz","geek.nz","gen.nz","govt.nz","health.nz","iwi.nz","kiwi.nz","maori.nz","mil.nz","māori.nz","net.nz","org.nz","parliament.nz","school.nz","om","co.om","com.om","edu.om","gov.om","med.om","museum.om","net.om","org.om","pro.om","onion","org","pa","ac.pa","gob.pa","com.pa","org.pa","sld.pa","edu.pa","net.pa","ing.pa","abo.pa","med.pa","nom.pa","pe","edu.pe","gob.pe","nom.pe","mil.pe","org.pe","com.pe","net.pe","pf","com.pf","org.pf","edu.pf","*.pg","ph","com.ph","net.ph","org.ph","gov.ph","edu.ph","ngo.ph","mil.ph","i.ph","pk","com.pk","net.pk","edu.pk","org.pk","fam.pk","biz.pk","web.pk","gov.pk","gob.pk","gok.pk","gon.pk","gop.pk","gos.pk","info.pk","pl","com.pl","net.pl","org.pl","aid.pl","agro.pl","atm.pl","auto.pl","biz.pl","edu.pl","gmina.pl","gsm.pl","info.pl","mail.pl","miasta.pl","media.pl","mil.pl","nieruchomosci.pl","nom.pl","pc.pl","powiat.pl","priv.pl","realestate.pl","rel.pl","sex.pl","shop.pl","sklep.pl","sos.pl","szkola.pl","targi.pl","tm.pl","tourism.pl","travel.pl","turystyka.pl","gov.pl","ap.gov.pl","ic.gov.pl","is.gov.pl","us.gov.pl","kmpsp.gov.pl","kppsp.gov.pl","kwpsp.gov.pl","psp.gov.pl","wskr.gov.pl","kwp.gov.pl","mw.gov.pl","ug.gov.pl","um.gov.pl","umig.gov.pl","ugim.gov.pl","upow.gov.pl","uw.gov.pl","starostwo.gov.pl","pa.gov.pl","po.gov.pl","psse.gov.pl","pup.gov.pl","rzgw.gov.pl","sa.gov.pl","so.gov.pl","sr.gov.pl","wsa.gov.pl","sko.gov.pl","uzs.gov.pl","wiih.gov.pl","winb.gov.pl","pinb.gov.pl","wios.gov.pl","witd.gov.pl","wzmiuw.gov.pl","piw.gov.pl","wiw.gov.pl","griw.gov.pl","wif.gov.pl","oum.gov.pl","sdn.gov.pl","zp.gov.pl","uppo.gov.pl","mup.gov.pl","wuoz.gov.pl","konsulat.gov.pl","oirm.gov.pl","augustow.pl","babia-gora.pl","bedzin.pl","beskidy.pl","bialowieza.pl","bialystok.pl","bielawa.pl","bieszczady.pl","boleslawiec.pl","bydgoszcz.pl","bytom.pl","cieszyn.pl","czeladz.pl","czest.pl","dlugoleka.pl","elblag.pl","elk.pl","glogow.pl","gniezno.pl","gorlice.pl","grajewo.pl","ilawa.pl","jaworzno.pl","jelenia-gora.pl","jgora.pl","kalisz.pl","kazimierz-dolny.pl","karpacz.pl","kartuzy.pl","kaszuby.pl","katowice.pl","kepno.pl","ketrzyn.pl","klodzko.pl","kobierzyce.pl","kolobrzeg.pl","konin.pl","konskowola.pl","kutno.pl","lapy.pl","lebork.pl","legnica.pl","lezajsk.pl","limanowa.pl","lomza.pl","lowicz.pl","lubin.pl","lukow.pl","malbork.pl","malopolska.pl","mazowsze.pl","mazury.pl","mielec.pl","mielno.pl","mragowo.pl","naklo.pl","nowaruda.pl","nysa.pl","olawa.pl","olecko.pl","olkusz.pl","olsztyn.pl","opoczno.pl","opole.pl","ostroda.pl","ostroleka.pl","ostrowiec.pl","ostrowwlkp.pl","pila.pl","pisz.pl","podhale.pl","podlasie.pl","polkowice.pl","pomorze.pl","pomorskie.pl","prochowice.pl","pruszkow.pl","przeworsk.pl","pulawy.pl","radom.pl","rawa-maz.pl","rybnik.pl","rzeszow.pl","sanok.pl","sejny.pl","slask.pl","slupsk.pl","sosnowiec.pl","stalowa-wola.pl","skoczow.pl","starachowice.pl","stargard.pl","suwalki.pl","swidnica.pl","swiebodzin.pl","swinoujscie.pl","szczecin.pl","szczytno.pl","tarnobrzeg.pl","tgory.pl","turek.pl","tychy.pl","ustka.pl","walbrzych.pl","warmia.pl","warszawa.pl","waw.pl","wegrow.pl","wielun.pl","wlocl.pl","wloclawek.pl","wodzislaw.pl","wolomin.pl","wroclaw.pl","zachpomor.pl","zagan.pl","zarow.pl","zgora.pl","zgorzelec.pl","pm","pn","gov.pn","co.pn","org.pn","edu.pn","net.pn","post","pr","com.pr","net.pr","org.pr","gov.pr","edu.pr","isla.pr","pro.pr","biz.pr","info.pr","name.pr","est.pr","prof.pr","ac.pr","pro","aaa.pro","aca.pro","acct.pro","avocat.pro","bar.pro","cpa.pro","eng.pro","jur.pro","law.pro","med.pro","recht.pro","ps","edu.ps","gov.ps","sec.ps","plo.ps","com.ps","org.ps","net.ps","pt","net.pt","gov.pt","org.pt","edu.pt","int.pt","publ.pt","com.pt","nome.pt","pw","co.pw","ne.pw","or.pw","ed.pw","go.pw","belau.pw","py","com.py","coop.py","edu.py","gov.py","mil.py","net.py","org.py","qa","com.qa","edu.qa","gov.qa","mil.qa","name.qa","net.qa","org.qa","sch.qa","re","asso.re","com.re","nom.re","ro","arts.ro","com.ro","firm.ro","info.ro","nom.ro","nt.ro","org.ro","rec.ro","store.ro","tm.ro","www.ro","rs","ac.rs","co.rs","edu.rs","gov.rs","in.rs","org.rs","ru","rw","ac.rw","co.rw","coop.rw","gov.rw","mil.rw","net.rw","org.rw","sa","com.sa","net.sa","org.sa","gov.sa","med.sa","pub.sa","edu.sa","sch.sa","sb","com.sb","edu.sb","gov.sb","net.sb","org.sb","sc","com.sc","gov.sc","net.sc","org.sc","edu.sc","sd","com.sd","net.sd","org.sd","edu.sd","med.sd","tv.sd","gov.sd","info.sd","se","a.se","ac.se","b.se","bd.se","brand.se","c.se","d.se","e.se","f.se","fh.se","fhsk.se","fhv.se","g.se","h.se","i.se","k.se","komforb.se","kommunalforbund.se","komvux.se","l.se","lanbib.se","m.se","n.se","naturbruksgymn.se","o.se","org.se","p.se","parti.se","pp.se","press.se","r.se","s.se","t.se","tm.se","u.se","w.se","x.se","y.se","z.se","sg","com.sg","net.sg","org.sg","gov.sg","edu.sg","per.sg","sh","com.sh","net.sh","gov.sh","org.sh","mil.sh","si","sj","sk","sl","com.sl","net.sl","edu.sl","gov.sl","org.sl","sm","sn","art.sn","com.sn","edu.sn","gouv.sn","org.sn","perso.sn","univ.sn","so","com.so","edu.so","gov.so","me.so","net.so","org.so","sr","ss","biz.ss","com.ss","edu.ss","gov.ss","net.ss","org.ss","st","co.st","com.st","consulado.st","edu.st","embaixada.st","gov.st","mil.st","net.st","org.st","principe.st","saotome.st","store.st","su","sv","com.sv","edu.sv","gob.sv","org.sv","red.sv","sx","gov.sx","sy","edu.sy","gov.sy","net.sy","mil.sy","com.sy","org.sy","sz","co.sz","ac.sz","org.sz","tc","td","tel","tf","tg","th","ac.th","co.th","go.th","in.th","mi.th","net.th","or.th","tj","ac.tj","biz.tj","co.tj","com.tj","edu.tj","go.tj","gov.tj","int.tj","mil.tj","name.tj","net.tj","nic.tj","org.tj","test.tj","web.tj","tk","tl","gov.tl","tm","com.tm","co.tm","org.tm","net.tm","nom.tm","gov.tm","mil.tm","edu.tm","tn","com.tn","ens.tn","fin.tn","gov.tn","ind.tn","intl.tn","nat.tn","net.tn","org.tn","info.tn","perso.tn","tourism.tn","edunet.tn","rnrt.tn","rns.tn","rnu.tn","mincom.tn","agrinet.tn","defense.tn","turen.tn","to","com.to","gov.to","net.to","org.to","edu.to","mil.to","tr","av.tr","bbs.tr","bel.tr","biz.tr","com.tr","dr.tr","edu.tr","gen.tr","gov.tr","info.tr","mil.tr","k12.tr","kep.tr","name.tr","net.tr","org.tr","pol.tr","tel.tr","tsk.tr","tv.tr","web.tr","nc.tr","gov.nc.tr","tt","co.tt","com.tt","org.tt","net.tt","biz.tt","info.tt","pro.tt","int.tt","coop.tt","jobs.tt","mobi.tt","travel.tt","museum.tt","aero.tt","name.tt","gov.tt","edu.tt","tv","tw","edu.tw","gov.tw","mil.tw","com.tw","net.tw","org.tw","idv.tw","game.tw","ebiz.tw","club.tw","網路.tw","組織.tw","商業.tw","tz","ac.tz","co.tz","go.tz","hotel.tz","info.tz","me.tz","mil.tz","mobi.tz","ne.tz","or.tz","sc.tz","tv.tz","ua","com.ua","edu.ua","gov.ua","in.ua","net.ua","org.ua","cherkassy.ua","cherkasy.ua","chernigov.ua","chernihiv.ua","chernivtsi.ua","chernovtsy.ua","ck.ua","cn.ua","cr.ua","crimea.ua","cv.ua","dn.ua","dnepropetrovsk.ua","dnipropetrovsk.ua","dominic.ua","donetsk.ua","dp.ua","if.ua","ivano-frankivsk.ua","kh.ua","kharkiv.ua","kharkov.ua","kherson.ua","khmelnitskiy.ua","khmelnytskyi.ua","kiev.ua","kirovograd.ua","km.ua","kr.ua","krym.ua","ks.ua","kv.ua","kyiv.ua","lg.ua","lt.ua","lugansk.ua","lutsk.ua","lv.ua","lviv.ua","mk.ua","mykolaiv.ua","nikolaev.ua","od.ua","odesa.ua","odessa.ua","pl.ua","poltava.ua","rivne.ua","rovno.ua","rv.ua","sb.ua","sebastopol.ua","sevastopol.ua","sm.ua","sumy.ua","te.ua","ternopil.ua","uz.ua","uzhgorod.ua","vinnica.ua","vinnytsia.ua","vn.ua","volyn.ua","yalta.ua","zaporizhzhe.ua","zaporizhzhia.ua","zhitomir.ua","zhytomyr.ua","zp.ua","zt.ua","ug","co.ug","or.ug","ac.ug","sc.ug","go.ug","ne.ug","com.ug","org.ug","uk","ac.uk","co.uk","gov.uk","ltd.uk","me.uk","net.uk","nhs.uk","org.uk","plc.uk","police.uk","*.sch.uk","us","dni.us","fed.us","isa.us","kids.us","nsn.us","ak.us","al.us","ar.us","as.us","az.us","ca.us","co.us","ct.us","dc.us","de.us","fl.us","ga.us","gu.us","hi.us","ia.us","id.us","il.us","in.us","ks.us","ky.us","la.us","ma.us","md.us","me.us","mi.us","mn.us","mo.us","ms.us","mt.us","nc.us","nd.us","ne.us","nh.us","nj.us","nm.us","nv.us","ny.us","oh.us","ok.us","or.us","pa.us","pr.us","ri.us","sc.us","sd.us","tn.us","tx.us","ut.us","vi.us","vt.us","va.us","wa.us","wi.us","wv.us","wy.us","k12.ak.us","k12.al.us","k12.ar.us","k12.as.us","k12.az.us","k12.ca.us","k12.co.us","k12.ct.us","k12.dc.us","k12.de.us","k12.fl.us","k12.ga.us","k12.gu.us","k12.ia.us","k12.id.us","k12.il.us","k12.in.us","k12.ks.us","k12.ky.us","k12.la.us","k12.ma.us","k12.md.us","k12.me.us","k12.mi.us","k12.mn.us","k12.mo.us","k12.ms.us","k12.mt.us","k12.nc.us","k12.ne.us","k12.nh.us","k12.nj.us","k12.nm.us","k12.nv.us","k12.ny.us","k12.oh.us","k12.ok.us","k12.or.us","k12.pa.us","k12.pr.us","k12.ri.us","k12.sc.us","k12.tn.us","k12.tx.us","k12.ut.us","k12.vi.us","k12.vt.us","k12.va.us","k12.wa.us","k12.wi.us","k12.wy.us","cc.ak.us","cc.al.us","cc.ar.us","cc.as.us","cc.az.us","cc.ca.us","cc.co.us","cc.ct.us","cc.dc.us","cc.de.us","cc.fl.us","cc.ga.us","cc.gu.us","cc.hi.us","cc.ia.us","cc.id.us","cc.il.us","cc.in.us","cc.ks.us","cc.ky.us","cc.la.us","cc.ma.us","cc.md.us","cc.me.us","cc.mi.us","cc.mn.us","cc.mo.us","cc.ms.us","cc.mt.us","cc.nc.us","cc.nd.us","cc.ne.us","cc.nh.us","cc.nj.us","cc.nm.us","cc.nv.us","cc.ny.us","cc.oh.us","cc.ok.us","cc.or.us","cc.pa.us","cc.pr.us","cc.ri.us","cc.sc.us","cc.sd.us","cc.tn.us","cc.tx.us","cc.ut.us","cc.vi.us","cc.vt.us","cc.va.us","cc.wa.us","cc.wi.us","cc.wv.us","cc.wy.us","lib.ak.us","lib.al.us","lib.ar.us","lib.as.us","lib.az.us","lib.ca.us","lib.co.us","lib.ct.us","lib.dc.us","lib.fl.us","lib.ga.us","lib.gu.us","lib.hi.us","lib.ia.us","lib.id.us","lib.il.us","lib.in.us","lib.ks.us","lib.ky.us","lib.la.us","lib.ma.us","lib.md.us","lib.me.us","lib.mi.us","lib.mn.us","lib.mo.us","lib.ms.us","lib.mt.us","lib.nc.us","lib.nd.us","lib.ne.us","lib.nh.us","lib.nj.us","lib.nm.us","lib.nv.us","lib.ny.us","lib.oh.us","lib.ok.us","lib.or.us","lib.pa.us","lib.pr.us","lib.ri.us","lib.sc.us","lib.sd.us","lib.tn.us","lib.tx.us","lib.ut.us","lib.vi.us","lib.vt.us","lib.va.us","lib.wa.us","lib.wi.us","lib.wy.us","pvt.k12.ma.us","chtr.k12.ma.us","paroch.k12.ma.us","ann-arbor.mi.us","cog.mi.us","dst.mi.us","eaton.mi.us","gen.mi.us","mus.mi.us","tec.mi.us","washtenaw.mi.us","uy","com.uy","edu.uy","gub.uy","mil.uy","net.uy","org.uy","uz","co.uz","com.uz","net.uz","org.uz","va","vc","com.vc","net.vc","org.vc","gov.vc","mil.vc","edu.vc","ve","arts.ve","co.ve","com.ve","e12.ve","edu.ve","firm.ve","gob.ve","gov.ve","info.ve","int.ve","mil.ve","net.ve","org.ve","rec.ve","store.ve","tec.ve","web.ve","vg","vi","co.vi","com.vi","k12.vi","net.vi","org.vi","vn","com.vn","net.vn","org.vn","edu.vn","gov.vn","int.vn","ac.vn","biz.vn","info.vn","name.vn","pro.vn","health.vn","vu","com.vu","edu.vu","net.vu","org.vu","wf","ws","com.ws","net.ws","org.ws","gov.ws","edu.ws","yt","امارات","հայ","বাংলা","бг","бел","中国","中國","الجزائر","مصر","ею","ευ","موريتانيا","გე","ελ","香港","公司.香港","教育.香港","政府.香港","個人.香港","網絡.香港","組織.香港","ಭಾರತ","ଭାରତ","ভাৰত","भारतम्","भारोत","ڀارت","ഭാരതം","भारत","بارت","بھارت","భారత్","ભારત","ਭਾਰਤ","ভারত","இந்தியா","ایران","ايران","عراق","الاردن","한국","қаз","ලංකා","இலங்கை","المغرب","мкд","мон","澳門","澳门","مليسيا","عمان","پاکستان","پاكستان","فلسطين","срб","пр.срб","орг.срб","обр.срб","од.срб","упр.срб","ак.срб","рф","قطر","السعودية","السعودیة","السعودیۃ","السعوديه","سودان","新加坡","சிங்கப்பூர்","سورية","سوريا","ไทย","ศึกษา.ไทย","ธุรกิจ.ไทย","รัฐบาล.ไทย","ทหาร.ไทย","เน็ต.ไทย","องค์กร.ไทย","تونس","台灣","台湾","臺灣","укр","اليمن","xxx","*.ye","ac.za","agric.za","alt.za","co.za","edu.za","gov.za","grondar.za","law.za","mil.za","net.za","ngo.za","nic.za","nis.za","nom.za","org.za","school.za","tm.za","web.za","zm","ac.zm","biz.zm","co.zm","com.zm","edu.zm","gov.zm","info.zm","mil.zm","net.zm","org.zm","sch.zm","zw","ac.zw","co.zw","gov.zw","mil.zw","org.zw","aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","academy","accenture","accountant","accountants","aco","actor","adac","ads","adult","aeg","aetna","afamilycompany","afl","africa","agakhan","agency","aig","aigo","airbus","airforce","airtel","akdn","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","aol","apartments","app","apple","aquarelle","arab","aramco","archi","army","art","arte","asda","associates","athleta","attorney","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aws","axa","azure","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bbc","bbt","bbva","bcg","bcn","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bharti","bible","bid","bike","bing","bingo","bio","black","blackfriday","blockbuster","blog","bloomberg","blue","bms","bmw","bnpparibas","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","bradesco","bridgestone","broadway","broker","brother","brussels","budapest","bugatti","build","builders","business","buy","buzz","bzh","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","caseih","cash","casino","catering","catholic","cba","cbn","cbre","cbs","ceb","center","ceo","cern","cfa","cfd","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","coach","codes","coffee","college","cologne","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","corsica","country","coupon","coupons","courses","cpa","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","csc","cuisinella","cymru","cyou","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dnp","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","duck","dunlop","dupont","durban","dvag","dvr","earth","eat","eco","edeka","education","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","ericsson","erni","esq","estate","esurance","etisalat","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","flickr","flights","flir","florist","flowers","fly","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fujixerox","fun","fund","furniture","futbol","fyi","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gbiz","gdn","gea","gent","genting","george","ggee","gift","gifts","gives","giving","glade","glass","gle","global","globo","gmail","gmbh","gmo","gmx","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","grainger","graphics","gratis","green","gripe","grocery","group","guardian","gucci","guge","guide","guitars","guru","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hkt","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hsbc","hughes","hyatt","hyundai","ibm","icbc","ice","icu","ieee","ifm","ikano","imamat","imdb","immo","immobilien","inc","industries","infiniti","ing","ink","institute","insurance","insure","intel","international","intuit","investments","ipiranga","irish","ismaili","ist","istanbul","itau","itv","iveco","jaguar","java","jcb","jcp","jeep","jetzt","jewelry","jio","jll","jmp","jnj","joburg","jot","joy","jpmorgan","jprs","juegos","juniper","kaufen","kddi","kerryhotels","kerrylogistics","kerryproperties","kfh","kia","kim","kinder","kindle","kitchen","kiwi","koeln","komatsu","kosher","kpmg","kpn","krd","kred","kuokgroup","kyoto","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lixil","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","ltd","ltda","lundbeck","lupin","luxe","luxury","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mckinsey","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","metlife","miami","microsoft","mini","mint","mit","mitsubishi","mlb","mls","mma","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","msd","mtn","mtr","mutual","nab","nadex","nagoya","nationwide","natura","navy","nba","nec","netbank","netflix","network","neustar","new","newholland","news","next","nextdirect","nexus","nfl","ngo","nhk","nico","nike","nikon","ninja","nissan","nissay","nokia","northwesternmutual","norton","now","nowruz","nowtv","nra","nrw","ntt","nyc","obi","observer","off","office","okinawa","olayan","olayangroup","oldnavy","ollo","omega","one","ong","onl","online","onyourside","ooo","open","oracle","orange","organic","origins","osaka","otsuka","ott","ovh","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pet","pfizer","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","place","play","playstation","plumbing","plus","pnc","pohl","poker","politie","porn","pramerica","praxi","press","prime","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","pub","pwc","qpon","quebec","quest","qvc","racing","radio","raid","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","rightathome","ril","rio","rip","rmit","rocher","rocks","rodeo","rogers","room","rsvp","rugby","ruhr","run","rwe","ryukyu","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sbi","sbs","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scjohnson","scor","scot","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","shriram","silk","sina","singles","site","ski","skin","sky","skype","sling","smart","smile","sncf","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","spreadbetting","srl","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","sucks","supplies","supply","support","surf","surgery","suzuki","swatch","swiftcover","swiss","sydney","symantec","systems","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tci","tdk","team","tech","technology","temasek","tennis","teva","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tjmaxx","tjx","tkmaxx","tmall","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tube","tui","tunes","tushu","tvs","ubank","ubs","unicom","university","uno","uol","ups","vacations","vana","vanguard","vegas","ventures","verisign","versicherung","vet","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vodka","volkswagen","volvo","vote","voting","voto","voyage","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","कॉम","セール","佛山","慈善","集团","在线","大众汽车","点看","คอม","八卦","موقع","公益","公司","香格里拉","网站","移动","我爱你","москва","католик","онлайн","сайт","联通","קום","时尚","微博","淡马锡","ファッション","орг","नेट","ストア","アマゾン","삼성","商标","商店","商城","дети","ポイント","新闻","工行","家電","كوم","中文网","中信","娱乐","谷歌","電訊盈科","购物","クラウド","通販","网店","संगठन","餐厅","网络","ком","亚马逊","诺基亚","食品","飞利浦","手表","手机","ارامكو","العليان","اتصالات","بازار","ابوظبي","كاثوليك","همراه","닷컴","政府","شبكة","بيتك","عرب","机构","组织机构","健康","招聘","рус","珠宝","大拿","みんな","グーグル","世界","書籍","网址","닷넷","コム","天主教","游戏","vermögensberater","vermögensberatung","企业","信息","嘉里大酒店","嘉里","广东","政务","xyz","yachts","yahoo","yamaxun","yandex","yodobashi","yoga","yokohama","you","youtube","yun","zappos","zara","zero","zip","zone","zuerich","cc.ua","inf.ua","ltd.ua","adobeaemcloud.com","adobeaemcloud.net","*.dev.adobeaemcloud.com","beep.pl","barsy.ca","*.compute.estate","*.alces.network","altervista.org","alwaysdata.net","cloudfront.net","*.compute.amazonaws.com","*.compute-1.amazonaws.com","*.compute.amazonaws.com.cn","us-east-1.amazonaws.com","cn-north-1.eb.amazonaws.com.cn","cn-northwest-1.eb.amazonaws.com.cn","elasticbeanstalk.com","ap-northeast-1.elasticbeanstalk.com","ap-northeast-2.elasticbeanstalk.com","ap-northeast-3.elasticbeanstalk.com","ap-south-1.elasticbeanstalk.com","ap-southeast-1.elasticbeanstalk.com","ap-southeast-2.elasticbeanstalk.com","ca-central-1.elasticbeanstalk.com","eu-central-1.elasticbeanstalk.com","eu-west-1.elasticbeanstalk.com","eu-west-2.elasticbeanstalk.com","eu-west-3.elasticbeanstalk.com","sa-east-1.elasticbeanstalk.com","us-east-1.elasticbeanstalk.com","us-east-2.elasticbeanstalk.com","us-gov-west-1.elasticbeanstalk.com","us-west-1.elasticbeanstalk.com","us-west-2.elasticbeanstalk.com","*.elb.amazonaws.com","*.elb.amazonaws.com.cn","s3.amazonaws.com","s3-ap-northeast-1.amazonaws.com","s3-ap-northeast-2.amazonaws.com","s3-ap-south-1.amazonaws.com","s3-ap-southeast-1.amazonaws.com","s3-ap-southeast-2.amazonaws.com","s3-ca-central-1.amazonaws.com","s3-eu-central-1.amazonaws.com","s3-eu-west-1.amazonaws.com","s3-eu-west-2.amazonaws.com","s3-eu-west-3.amazonaws.com","s3-external-1.amazonaws.com","s3-fips-us-gov-west-1.amazonaws.com","s3-sa-east-1.amazonaws.com","s3-us-gov-west-1.amazonaws.com","s3-us-east-2.amazonaws.com","s3-us-west-1.amazonaws.com","s3-us-west-2.amazonaws.com","s3.ap-northeast-2.amazonaws.com","s3.ap-south-1.amazonaws.com","s3.cn-north-1.amazonaws.com.cn","s3.ca-central-1.amazonaws.com","s3.eu-central-1.amazonaws.com","s3.eu-west-2.amazonaws.com","s3.eu-west-3.amazonaws.com","s3.us-east-2.amazonaws.com","s3.dualstack.ap-northeast-1.amazonaws.com","s3.dualstack.ap-northeast-2.amazonaws.com","s3.dualstack.ap-south-1.amazonaws.com","s3.dualstack.ap-southeast-1.amazonaws.com","s3.dualstack.ap-southeast-2.amazonaws.com","s3.dualstack.ca-central-1.amazonaws.com","s3.dualstack.eu-central-1.amazonaws.com","s3.dualstack.eu-west-1.amazonaws.com","s3.dualstack.eu-west-2.amazonaws.com","s3.dualstack.eu-west-3.amazonaws.com","s3.dualstack.sa-east-1.amazonaws.com","s3.dualstack.us-east-1.amazonaws.com","s3.dualstack.us-east-2.amazonaws.com","s3-website-us-east-1.amazonaws.com","s3-website-us-west-1.amazonaws.com","s3-website-us-west-2.amazonaws.com","s3-website-ap-northeast-1.amazonaws.com","s3-website-ap-southeast-1.amazonaws.com","s3-website-ap-southeast-2.amazonaws.com","s3-website-eu-west-1.amazonaws.com","s3-website-sa-east-1.amazonaws.com","s3-website.ap-northeast-2.amazonaws.com","s3-website.ap-south-1.amazonaws.com","s3-website.ca-central-1.amazonaws.com","s3-website.eu-central-1.amazonaws.com","s3-website.eu-west-2.amazonaws.com","s3-website.eu-west-3.amazonaws.com","s3-website.us-east-2.amazonaws.com","amsw.nl","t3l3p0rt.net","tele.amune.org","apigee.io","on-aptible.com","user.aseinet.ne.jp","gv.vc","d.gv.vc","user.party.eus","pimienta.org","poivron.org","potager.org","sweetpepper.org","myasustor.com","myfritz.net","*.awdev.ca","*.advisor.ws","b-data.io","backplaneapp.io","balena-devices.com","app.banzaicloud.io","betainabox.com","bnr.la","blackbaudcdn.net","boomla.net","boxfuse.io","square7.ch","bplaced.com","bplaced.de","square7.de","bplaced.net","square7.net","browsersafetymark.io","uk0.bigv.io","dh.bytemark.co.uk","vm.bytemark.co.uk","mycd.eu","carrd.co","crd.co","uwu.ai","ae.org","ar.com","br.com","cn.com","com.de","com.se","de.com","eu.com","gb.com","gb.net","hu.com","hu.net","jp.net","jpn.com","kr.com","mex.com","no.com","qc.com","ru.com","sa.com","se.net","uk.com","uk.net","us.com","uy.com","za.bz","za.com","africa.com","gr.com","in.net","us.org","co.com","c.la","certmgr.org","xenapponazure.com","discourse.group","discourse.team","virtueeldomein.nl","cleverapps.io","*.lcl.dev","*.stg.dev","c66.me","cloud66.ws","cloud66.zone","jdevcloud.com","wpdevcloud.com","cloudaccess.host","freesite.host","cloudaccess.net","cloudcontrolled.com","cloudcontrolapp.com","cloudera.site","trycloudflare.com","workers.dev","wnext.app","co.ca","*.otap.co","co.cz","c.cdn77.org","cdn77-ssl.net","r.cdn77.net","rsc.cdn77.org","ssl.origin.cdn77-secure.org","cloudns.asia","cloudns.biz","cloudns.club","cloudns.cc","cloudns.eu","cloudns.in","cloudns.info","cloudns.org","cloudns.pro","cloudns.pw","cloudns.us","cloudeity.net","cnpy.gdn","co.nl","co.no","webhosting.be","hosting-cluster.nl","ac.ru","edu.ru","gov.ru","int.ru","mil.ru","test.ru","dyn.cosidns.de","dynamisches-dns.de","dnsupdater.de","internet-dns.de","l-o-g-i-n.de","dynamic-dns.info","feste-ip.net","knx-server.net","static-access.net","realm.cz","*.cryptonomic.net","cupcake.is","*.customer-oci.com","*.oci.customer-oci.com","*.ocp.customer-oci.com","*.ocs.customer-oci.com","cyon.link","cyon.site","daplie.me","localhost.daplie.me","dattolocal.com","dattorelay.com","dattoweb.com","mydatto.com","dattolocal.net","mydatto.net","biz.dk","co.dk","firm.dk","reg.dk","store.dk","*.dapps.earth","*.bzz.dapps.earth","builtwithdark.com","edgestack.me","debian.net","dedyn.io","dnshome.de","online.th","shop.th","drayddns.com","dreamhosters.com","mydrobo.com","drud.io","drud.us","duckdns.org","dy.fi","tunk.org","dyndns-at-home.com","dyndns-at-work.com","dyndns-blog.com","dyndns-free.com","dyndns-home.com","dyndns-ip.com","dyndns-mail.com","dyndns-office.com","dyndns-pics.com","dyndns-remote.com","dyndns-server.com","dyndns-web.com","dyndns-wiki.com","dyndns-work.com","dyndns.biz","dyndns.info","dyndns.org","dyndns.tv","at-band-camp.net","ath.cx","barrel-of-knowledge.info","barrell-of-knowledge.info","better-than.tv","blogdns.com","blogdns.net","blogdns.org","blogsite.org","boldlygoingnowhere.org","broke-it.net","buyshouses.net","cechire.com","dnsalias.com","dnsalias.net","dnsalias.org","dnsdojo.com","dnsdojo.net","dnsdojo.org","does-it.net","doesntexist.com","doesntexist.org","dontexist.com","dontexist.net","dontexist.org","doomdns.com","doomdns.org","dvrdns.org","dyn-o-saur.com","dynalias.com","dynalias.net","dynalias.org","dynathome.net","dyndns.ws","endofinternet.net","endofinternet.org","endoftheinternet.org","est-a-la-maison.com","est-a-la-masion.com","est-le-patron.com","est-mon-blogueur.com","for-better.biz","for-more.biz","for-our.info","for-some.biz","for-the.biz","forgot.her.name","forgot.his.name","from-ak.com","from-al.com","from-ar.com","from-az.net","from-ca.com","from-co.net","from-ct.com","from-dc.com","from-de.com","from-fl.com","from-ga.com","from-hi.com","from-ia.com","from-id.com","from-il.com","from-in.com","from-ks.com","from-ky.com","from-la.net","from-ma.com","from-md.com","from-me.org","from-mi.com","from-mn.com","from-mo.com","from-ms.com","from-mt.com","from-nc.com","from-nd.com","from-ne.com","from-nh.com","from-nj.com","from-nm.com","from-nv.com","from-ny.net","from-oh.com","from-ok.com","from-or.com","from-pa.com","from-pr.com","from-ri.com","from-sc.com","from-sd.com","from-tn.com","from-tx.com","from-ut.com","from-va.com","from-vt.com","from-wa.com","from-wi.com","from-wv.com","from-wy.com","ftpaccess.cc","fuettertdasnetz.de","game-host.org","game-server.cc","getmyip.com","gets-it.net","go.dyndns.org","gotdns.com","gotdns.org","groks-the.info","groks-this.info","ham-radio-op.net","here-for-more.info","hobby-site.com","hobby-site.org","home.dyndns.org","homedns.org","homeftp.net","homeftp.org","homeip.net","homelinux.com","homelinux.net","homelinux.org","homeunix.com","homeunix.net","homeunix.org","iamallama.com","in-the-band.net","is-a-anarchist.com","is-a-blogger.com","is-a-bookkeeper.com","is-a-bruinsfan.org","is-a-bulls-fan.com","is-a-candidate.org","is-a-caterer.com","is-a-celticsfan.org","is-a-chef.com","is-a-chef.net","is-a-chef.org","is-a-conservative.com","is-a-cpa.com","is-a-cubicle-slave.com","is-a-democrat.com","is-a-designer.com","is-a-doctor.com","is-a-financialadvisor.com","is-a-geek.com","is-a-geek.net","is-a-geek.org","is-a-green.com","is-a-guru.com","is-a-hard-worker.com","is-a-hunter.com","is-a-knight.org","is-a-landscaper.com","is-a-lawyer.com","is-a-liberal.com","is-a-libertarian.com","is-a-linux-user.org","is-a-llama.com","is-a-musician.com","is-a-nascarfan.com","is-a-nurse.com","is-a-painter.com","is-a-patsfan.org","is-a-personaltrainer.com","is-a-photographer.com","is-a-player.com","is-a-republican.com","is-a-rockstar.com","is-a-socialist.com","is-a-soxfan.org","is-a-student.com","is-a-teacher.com","is-a-techie.com","is-a-therapist.com","is-an-accountant.com","is-an-actor.com","is-an-actress.com","is-an-anarchist.com","is-an-artist.com","is-an-engineer.com","is-an-entertainer.com","is-by.us","is-certified.com","is-found.org","is-gone.com","is-into-anime.com","is-into-cars.com","is-into-cartoons.com","is-into-games.com","is-leet.com","is-lost.org","is-not-certified.com","is-saved.org","is-slick.com","is-uberleet.com","is-very-bad.org","is-very-evil.org","is-very-good.org","is-very-nice.org","is-very-sweet.org","is-with-theband.com","isa-geek.com","isa-geek.net","isa-geek.org","isa-hockeynut.com","issmarterthanyou.com","isteingeek.de","istmein.de","kicks-ass.net","kicks-ass.org","knowsitall.info","land-4-sale.us","lebtimnetz.de","leitungsen.de","likes-pie.com","likescandy.com","merseine.nu","mine.nu","misconfused.org","mypets.ws","myphotos.cc","neat-url.com","office-on-the.net","on-the-web.tv","podzone.net","podzone.org","readmyblog.org","saves-the-whales.com","scrapper-site.net","scrapping.cc","selfip.biz","selfip.com","selfip.info","selfip.net","selfip.org","sells-for-less.com","sells-for-u.com","sells-it.net","sellsyourhome.org","servebbs.com","servebbs.net","servebbs.org","serveftp.net","serveftp.org","servegame.org","shacknet.nu","simple-url.com","space-to-rent.com","stuff-4-sale.org","stuff-4-sale.us","teaches-yoga.com","thruhere.net","traeumtgerade.de","webhop.biz","webhop.info","webhop.net","webhop.org","worse-than.tv","writesthisblog.com","ddnss.de","dyn.ddnss.de","dyndns.ddnss.de","dyndns1.de","dyn-ip24.de","home-webserver.de","dyn.home-webserver.de","myhome-server.de","ddnss.org","definima.net","definima.io","bci.dnstrace.pro","ddnsfree.com","ddnsgeek.com","giize.com","gleeze.com","kozow.com","loseyourip.com","ooguy.com","theworkpc.com","casacam.net","dynu.net","accesscam.org","camdvr.org","freeddns.org","mywire.org","webredirect.org","myddns.rocks","blogsite.xyz","dynv6.net","e4.cz","en-root.fr","mytuleap.com","onred.one","staging.onred.one","enonic.io","customer.enonic.io","eu.org","al.eu.org","asso.eu.org","at.eu.org","au.eu.org","be.eu.org","bg.eu.org","ca.eu.org","cd.eu.org","ch.eu.org","cn.eu.org","cy.eu.org","cz.eu.org","de.eu.org","dk.eu.org","edu.eu.org","ee.eu.org","es.eu.org","fi.eu.org","fr.eu.org","gr.eu.org","hr.eu.org","hu.eu.org","ie.eu.org","il.eu.org","in.eu.org","int.eu.org","is.eu.org","it.eu.org","jp.eu.org","kr.eu.org","lt.eu.org","lu.eu.org","lv.eu.org","mc.eu.org","me.eu.org","mk.eu.org","mt.eu.org","my.eu.org","net.eu.org","ng.eu.org","nl.eu.org","no.eu.org","nz.eu.org","paris.eu.org","pl.eu.org","pt.eu.org","q-a.eu.org","ro.eu.org","ru.eu.org","se.eu.org","si.eu.org","sk.eu.org","tr.eu.org","uk.eu.org","us.eu.org","eu-1.evennode.com","eu-2.evennode.com","eu-3.evennode.com","eu-4.evennode.com","us-1.evennode.com","us-2.evennode.com","us-3.evennode.com","us-4.evennode.com","twmail.cc","twmail.net","twmail.org","mymailer.com.tw","url.tw","apps.fbsbx.com","ru.net","adygeya.ru","bashkiria.ru","bir.ru","cbg.ru","com.ru","dagestan.ru","grozny.ru","kalmykia.ru","kustanai.ru","marine.ru","mordovia.ru","msk.ru","mytis.ru","nalchik.ru","nov.ru","pyatigorsk.ru","spb.ru","vladikavkaz.ru","vladimir.ru","abkhazia.su","adygeya.su","aktyubinsk.su","arkhangelsk.su","armenia.su","ashgabad.su","azerbaijan.su","balashov.su","bashkiria.su","bryansk.su","bukhara.su","chimkent.su","dagestan.su","east-kazakhstan.su","exnet.su","georgia.su","grozny.su","ivanovo.su","jambyl.su","kalmykia.su","kaluga.su","karacol.su","karaganda.su","karelia.su","khakassia.su","krasnodar.su","kurgan.su","kustanai.su","lenug.su","mangyshlak.su","mordovia.su","msk.su","murmansk.su","nalchik.su","navoi.su","north-kazakhstan.su","nov.su","obninsk.su","penza.su","pokrovsk.su","sochi.su","spb.su","tashkent.su","termez.su","togliatti.su","troitsk.su","tselinograd.su","tula.su","tuva.su","vladikavkaz.su","vladimir.su","vologda.su","channelsdvr.net","u.channelsdvr.net","fastly-terrarium.com","fastlylb.net","map.fastlylb.net","freetls.fastly.net","map.fastly.net","a.prod.fastly.net","global.prod.fastly.net","a.ssl.fastly.net","b.ssl.fastly.net","global.ssl.fastly.net","fastpanel.direct","fastvps-server.com","fhapp.xyz","fedorainfracloud.org","fedorapeople.org","cloud.fedoraproject.org","app.os.fedoraproject.org","app.os.stg.fedoraproject.org","mydobiss.com","filegear.me","filegear-au.me","filegear-de.me","filegear-gb.me","filegear-ie.me","filegear-jp.me","filegear-sg.me","firebaseapp.com","flynnhub.com","flynnhosting.net","0e.vc","freebox-os.com","freeboxos.com","fbx-os.fr","fbxos.fr","freebox-os.fr","freeboxos.fr","freedesktop.org","*.futurecms.at","*.ex.futurecms.at","*.in.futurecms.at","futurehosting.at","futuremailing.at","*.ex.ortsinfo.at","*.kunden.ortsinfo.at","*.statics.cloud","service.gov.uk","gehirn.ne.jp","usercontent.jp","gentapps.com","lab.ms","github.io","githubusercontent.com","gitlab.io","glitch.me","lolipop.io","cloudapps.digital","london.cloudapps.digital","homeoffice.gov.uk","ro.im","shop.ro","goip.de","run.app","a.run.app","web.app","*.0emm.com","appspot.com","*.r.appspot.com","blogspot.ae","blogspot.al","blogspot.am","blogspot.ba","blogspot.be","blogspot.bg","blogspot.bj","blogspot.ca","blogspot.cf","blogspot.ch","blogspot.cl","blogspot.co.at","blogspot.co.id","blogspot.co.il","blogspot.co.ke","blogspot.co.nz","blogspot.co.uk","blogspot.co.za","blogspot.com","blogspot.com.ar","blogspot.com.au","blogspot.com.br","blogspot.com.by","blogspot.com.co","blogspot.com.cy","blogspot.com.ee","blogspot.com.eg","blogspot.com.es","blogspot.com.mt","blogspot.com.ng","blogspot.com.tr","blogspot.com.uy","blogspot.cv","blogspot.cz","blogspot.de","blogspot.dk","blogspot.fi","blogspot.fr","blogspot.gr","blogspot.hk","blogspot.hr","blogspot.hu","blogspot.ie","blogspot.in","blogspot.is","blogspot.it","blogspot.jp","blogspot.kr","blogspot.li","blogspot.lt","blogspot.lu","blogspot.md","blogspot.mk","blogspot.mr","blogspot.mx","blogspot.my","blogspot.nl","blogspot.no","blogspot.pe","blogspot.pt","blogspot.qa","blogspot.re","blogspot.ro","blogspot.rs","blogspot.ru","blogspot.se","blogspot.sg","blogspot.si","blogspot.sk","blogspot.sn","blogspot.td","blogspot.tw","blogspot.ug","blogspot.vn","cloudfunctions.net","cloud.goog","codespot.com","googleapis.com","googlecode.com","pagespeedmobilizer.com","publishproxy.com","withgoogle.com","withyoutube.com","awsmppl.com","fin.ci","free.hr","caa.li","ua.rs","conf.se","hs.zone","hs.run","hashbang.sh","hasura.app","hasura-app.io","hepforge.org","herokuapp.com","herokussl.com","myravendb.com","ravendb.community","ravendb.me","development.run","ravendb.run","bpl.biz","orx.biz","ng.city","biz.gl","ng.ink","col.ng","firm.ng","gen.ng","ltd.ng","ngo.ng","ng.school","sch.so","häkkinen.fi","*.moonscale.io","moonscale.net","iki.fi","dyn-berlin.de","in-berlin.de","in-brb.de","in-butter.de","in-dsl.de","in-dsl.net","in-dsl.org","in-vpn.de","in-vpn.net","in-vpn.org","biz.at","info.at","info.cx","ac.leg.br","al.leg.br","am.leg.br","ap.leg.br","ba.leg.br","ce.leg.br","df.leg.br","es.leg.br","go.leg.br","ma.leg.br","mg.leg.br","ms.leg.br","mt.leg.br","pa.leg.br","pb.leg.br","pe.leg.br","pi.leg.br","pr.leg.br","rj.leg.br","rn.leg.br","ro.leg.br","rr.leg.br","rs.leg.br","sc.leg.br","se.leg.br","sp.leg.br","to.leg.br","pixolino.com","ipifony.net","mein-iserv.de","test-iserv.de","iserv.dev","iobb.net","myjino.ru","*.hosting.myjino.ru","*.landing.myjino.ru","*.spectrum.myjino.ru","*.vps.myjino.ru","*.triton.zone","*.cns.joyent.com","js.org","kaas.gg","khplay.nl","keymachine.de","kinghost.net","uni5.net","knightpoint.systems","oya.to","co.krd","edu.krd","git-repos.de","lcube-server.de","svn-repos.de","leadpages.co","lpages.co","lpusercontent.com","lelux.site","co.business","co.education","co.events","co.financial","co.network","co.place","co.technology","app.lmpm.com","linkitools.space","linkyard.cloud","linkyard-cloud.ch","members.linode.com","nodebalancer.linode.com","we.bs","loginline.app","loginline.dev","loginline.io","loginline.services","loginline.site","krasnik.pl","leczna.pl","lubartow.pl","lublin.pl","poniatowa.pl","swidnik.pl","uklugs.org","glug.org.uk","lug.org.uk","lugs.org.uk","barsy.bg","barsy.co.uk","barsyonline.co.uk","barsycenter.com","barsyonline.com","barsy.club","barsy.de","barsy.eu","barsy.in","barsy.info","barsy.io","barsy.me","barsy.menu","barsy.mobi","barsy.net","barsy.online","barsy.org","barsy.pro","barsy.pub","barsy.shop","barsy.site","barsy.support","barsy.uk","*.magentosite.cloud","mayfirst.info","mayfirst.org","hb.cldmail.ru","miniserver.com","memset.net","cloud.metacentrum.cz","custom.metacentrum.cz","flt.cloud.muni.cz","usr.cloud.muni.cz","meteorapp.com","eu.meteorapp.com","co.pl","azurecontainer.io","azurewebsites.net","azure-mobile.net","cloudapp.net","mozilla-iot.org","bmoattachments.org","net.ru","org.ru","pp.ru","ui.nabu.casa","pony.club","of.fashion","on.fashion","of.football","in.london","of.london","for.men","and.mom","for.mom","for.one","for.sale","of.work","to.work","nctu.me","bitballoon.com","netlify.com","4u.com","ngrok.io","nh-serv.co.uk","nfshost.com","dnsking.ch","mypi.co","n4t.co","001www.com","ddnslive.com","myiphost.com","forumz.info","16-b.it","32-b.it","64-b.it","soundcast.me","tcp4.me","dnsup.net","hicam.net","now-dns.net","ownip.net","vpndns.net","dynserv.org","now-dns.org","x443.pw","now-dns.top","ntdll.top","freeddns.us","crafting.xyz","zapto.xyz","nsupdate.info","nerdpol.ovh","blogsyte.com","brasilia.me","cable-modem.org","ciscofreak.com","collegefan.org","couchpotatofries.org","damnserver.com","ddns.me","ditchyourip.com","dnsfor.me","dnsiskinky.com","dvrcam.info","dynns.com","eating-organic.net","fantasyleague.cc","geekgalaxy.com","golffan.us","health-carereform.com","homesecuritymac.com","homesecuritypc.com","hopto.me","ilovecollege.info","loginto.me","mlbfan.org","mmafan.biz","myactivedirectory.com","mydissent.net","myeffect.net","mymediapc.net","mypsx.net","mysecuritycamera.com","mysecuritycamera.net","mysecuritycamera.org","net-freaks.com","nflfan.org","nhlfan.net","no-ip.ca","no-ip.co.uk","no-ip.net","noip.us","onthewifi.com","pgafan.net","point2this.com","pointto.us","privatizehealthinsurance.net","quicksytes.com","read-books.org","securitytactics.com","serveexchange.com","servehumour.com","servep2p.com","servesarcasm.com","stufftoread.com","ufcfan.org","unusualperson.com","workisboring.com","3utilities.com","bounceme.net","ddns.net","ddnsking.com","gotdns.ch","hopto.org","myftp.biz","myftp.org","myvnc.com","no-ip.biz","no-ip.info","no-ip.org","noip.me","redirectme.net","servebeer.com","serveblog.net","servecounterstrike.com","serveftp.com","servegame.com","servehalflife.com","servehttp.com","serveirc.com","serveminecraft.net","servemp3.com","servepics.com","servequake.com","sytes.net","webhop.me","zapto.org","stage.nodeart.io","nodum.co","nodum.io","pcloud.host","nyc.mn","nom.ae","nom.af","nom.ai","nom.al","nym.by","nom.bz","nym.bz","nom.cl","nym.ec","nom.gd","nom.ge","nom.gl","nym.gr","nom.gt","nym.gy","nym.hk","nom.hn","nym.ie","nom.im","nom.ke","nym.kz","nym.la","nym.lc","nom.li","nym.li","nym.lt","nym.lu","nom.lv","nym.me","nom.mk","nym.mn","nym.mx","nom.nu","nym.nz","nym.pe","nym.pt","nom.pw","nom.qa","nym.ro","nom.rs","nom.si","nym.sk","nom.st","nym.su","nym.sx","nom.tj","nym.tw","nom.ug","nom.uy","nom.vc","nom.vg","static.observableusercontent.com","cya.gg","cloudycluster.net","nid.io","opencraft.hosting","operaunite.com","skygearapp.com","outsystemscloud.com","ownprovider.com","own.pm","ox.rs","oy.lc","pgfog.com","pagefrontapp.com","art.pl","gliwice.pl","krakow.pl","poznan.pl","wroc.pl","zakopane.pl","pantheonsite.io","gotpantheon.com","mypep.link","perspecta.cloud","on-web.fr","*.platform.sh","*.platformsh.site","dyn53.io","co.bn","xen.prgmr.com","priv.at","prvcy.page","*.dweb.link","protonet.io","chirurgiens-dentistes-en-france.fr","byen.site","pubtls.org","qualifioapp.com","qbuser.com","instantcloud.cn","ras.ru","qa2.com","qcx.io","*.sys.qcx.io","dev-myqnapcloud.com","alpha-myqnapcloud.com","myqnapcloud.com","*.quipelements.com","vapor.cloud","vaporcloud.io","rackmaze.com","rackmaze.net","*.on-k3s.io","*.on-rancher.cloud","*.on-rio.io","readthedocs.io","rhcloud.com","app.render.com","onrender.com","repl.co","repl.run","resindevice.io","devices.resinstaging.io","hzc.io","wellbeingzone.eu","ptplus.fit","wellbeingzone.co.uk","git-pages.rit.edu","sandcats.io","logoip.de","logoip.com","schokokeks.net","gov.scot","scrysec.com","firewall-gateway.com","firewall-gateway.de","my-gateway.de","my-router.de","spdns.de","spdns.eu","firewall-gateway.net","my-firewall.org","myfirewall.org","spdns.org","senseering.net","biz.ua","co.ua","pp.ua","shiftedit.io","myshopblocks.com","shopitsite.com","mo-siemens.io","1kapp.com","appchizi.com","applinzi.com","sinaapp.com","vipsinaapp.com","siteleaf.net","bounty-full.com","alpha.bounty-full.com","beta.bounty-full.com","stackhero-network.com","static.land","dev.static.land","sites.static.land","apps.lair.io","*.stolos.io","spacekit.io","customer.speedpartner.de","api.stdlib.com","storj.farm","utwente.io","soc.srcf.net","user.srcf.net","temp-dns.com","applicationcloud.io","scapp.io","*.s5y.io","*.sensiosite.cloud","syncloud.it","diskstation.me","dscloud.biz","dscloud.me","dscloud.mobi","dsmynas.com","dsmynas.net","dsmynas.org","familyds.com","familyds.net","familyds.org","i234.me","myds.me","synology.me","vpnplus.to","direct.quickconnect.to","taifun-dns.de","gda.pl","gdansk.pl","gdynia.pl","med.pl","sopot.pl","edugit.org","telebit.app","telebit.io","*.telebit.xyz","gwiddle.co.uk","thingdustdata.com","cust.dev.thingdust.io","cust.disrec.thingdust.io","cust.prod.thingdust.io","cust.testing.thingdust.io","arvo.network","azimuth.network","bloxcms.com","townnews-staging.com","12hp.at","2ix.at","4lima.at","lima-city.at","12hp.ch","2ix.ch","4lima.ch","lima-city.ch","trafficplex.cloud","de.cool","12hp.de","2ix.de","4lima.de","lima-city.de","1337.pictures","clan.rip","lima-city.rocks","webspace.rocks","lima.zone","*.transurl.be","*.transurl.eu","*.transurl.nl","tuxfamily.org","dd-dns.de","diskstation.eu","diskstation.org","dray-dns.de","draydns.de","dyn-vpn.de","dynvpn.de","mein-vigor.de","my-vigor.de","my-wan.de","syno-ds.de","synology-diskstation.de","synology-ds.de","uber.space","*.uberspace.de","hk.com","hk.org","ltd.hk","inc.hk","virtualuser.de","virtual-user.de","urown.cloud","dnsupdate.info","lib.de.us","2038.io","router.management","v-info.info","voorloper.cloud","v.ua","wafflecell.com","*.webhare.dev","wedeploy.io","wedeploy.me","wedeploy.sh","remotewd.com","wmflabs.org","myforum.community","community-pro.de","diskussionsbereich.de","community-pro.net","meinforum.net","half.host","xnbay.com","u2.xnbay.com","u2-local.xnbay.com","cistron.nl","demon.nl","xs4all.space","yandexcloud.net","storage.yandexcloud.net","website.yandexcloud.net","official.academy","yolasite.com","ybo.faith","yombo.me","homelink.one","ybo.party","ybo.review","ybo.science","ybo.trade","nohost.me","noho.st","za.net","za.org","now.sh","bss.design","basicserver.io","virtualserver.io","enterprisecloud.nu"]},,,function(e,t,i){"use strict";const n=typeof URL==="undefined"?i(835).URL:URL;const a="text/plain";const r="us-ascii";const s=(e,t)=>{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 <source> and/or <dest>")}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;r<t.headers.length;r++){if(typeof t.headers[r]!=="string")throw new TypeError("options.headers must be an array of Strings");var l=t.headers[r].toLowerCase();if(l==="request-line"){if(!t.strict){s+=e.method+" "+e.path+" HTTP/"+t.httpVersion}else{throw new StrictParsingError("request-line is not a valid header "+"with strict parsing enabled.")}}else if(l==="(request-target)"){s+="(request-target): "+e.method.toLowerCase()+" "+e.path}else{var h=e.getHeader(l);if(h===undefined||h===""){throw new MissingHeaderError(l+" was not in the request")}s+=l+": "+h}if(r+1<t.headers.length)s+="\n"}if(e.hasOwnProperty("_stringToSign")){e._stringToSign=s}var g;if(i[0]==="hmac"){if(typeof t.key!=="string"&&!Buffer.isBuffer(t.key))throw new TypeError("options.key must be a string or Buffer");var y=a.createHmac(i[1].toUpperCase(),t.key);y.update(s);g=y.digest("base64")}else{var S=t.key;if(typeof S==="string"||Buffer.isBuffer(S))S=o.parsePrivateKey(t.key);n.ok(o.PrivateKey.isPrivateKey(S,[1,2]),"options.key must be a sshpk.PrivateKey");if(!p[S.type]){throw new f(S.type.toUpperCase()+" type "+"keys are not supported")}if(i[0]!==undefined&&S.type!==i[0]){throw new f("options.key must be a "+i[0].toUpperCase()+" key, was given a "+S.type.toUpperCase()+" key instead")}var w=S.createSign(i[1]);w.update(s);var v=w.sign();if(!d[v.hashAlgorithm]){throw new f(v.hashAlgorithm.toUpperCase()+" is not a supported hash algorithm")}t.algorithm=S.type+"-"+v.hashAlgorithm;g=v.toString();n.notStrictEqual(g,"","empty signature produced")}var z=t.authorizationHeaderName||"Authorization";e.setHeader(z,c(b,t.keyId,t.algorithm,t.headers.join(" "),g));return true}}},function(e,t,i){const n=i(548);const{MAX_LENGTH:a,MAX_SAFE_INTEGER:r}=i(181);const{re:s,t:o}=i(976);const{compareIdentifiers:u}=i(760);class SemVer{constructor(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid Version: ${e}`)}if(e.length>a){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<r){return t}}return e})}this.build=i[5]?i[5].split("."):[];this.format()}format(){this.version=`${this.major}.${this.minor}.${this.patch}`;if(this.prerelease.length){this.version+=`-${this.prerelease.join(".")}`}return this.version}toString(){return this.version}compare(e){n("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){if(typeof e==="string"&&e===this.version){return 0}e=new SemVer(e,this.options)}if(e.version===this.version){return 0}return this.compareMain(e)||this.comparePre(e)}compareMain(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}let t=0;do{const i=this.prerelease[t];const a=e.prerelease[t];n("prerelease compare",t,i,a);if(i===undefined&&a===undefined){return 0}else if(a===undefined){return 1}else if(i===undefined){return-1}else if(i===a){continue}else{return u(i,a)}}while(++t)}compareBuild(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}let t=0;do{const i=this.build[t];const a=e.build[t];n("prerelease compare",t,i,a);if(i===undefined&&a===undefined){return 0}else if(a===undefined){return 1}else if(i===undefined){return-1}else if(i===a){continue}else{return u(i,a)}}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t);this.inc("pre",t);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t)}this.inc("pre",t);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":if(this.prerelease.length===0){this.prerelease=[0]}else{let e=this.prerelease.length;while(--e>=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;){var q=_+70;if(q>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<i.length;n++){t[i[n].toLowerCase()]=e[i[n]]}return t}},function(e){e.exports=require("os")},function(e,t,i){const{STATUS_CODES:n}=i(363);const{format:a}=i(669);const{OPError:r}=i(572);const s=/(\w+)=("[^"]*")/g;const o=e=>{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(s<this.buffer.length&&"\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(s))===-1){s+=1;if(s-this.position>t/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<e.length;i++){t.writeUInt16BE(e.charCodeAt(i),i*2)}return this._createEncoderBuffer(t)}else if(t==="numstr"){if(!this._isNumstr(e)){return this.reporter.error("Encoding of string type: numstr supports only digits and space")}return this._createEncoderBuffer(e)}else if(t==="printstr"){if(!this._isPrintstr(e)){return this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark")}return this._createEncoderBuffer(e)}else if(/str$/.test(t)){return this._createEncoderBuffer(e)}else if(t==="objDesc"){return this._createEncoderBuffer(e)}else{return this.reporter.error(`Encoding of string type: ${t} unsupported`)}};DERNode.prototype._encodeObjid=function encodeObjid(e,t,i){if(typeof e==="string"){if(!t){return this.reporter.error("string objid given, but no values map found")}if(!Object.prototype.hasOwnProperty.call(t,e)){return this.reporter.error("objid not found in values map")}e=t[e].split(/[\s.]+/g);for(let t=0;t<e.length;t++){e[t]|=0}}else if(Array.isArray(e)){e=e.slice();for(let t=0;t<e.length;t++){e[t]|=0}}if(!Array.isArray(e)){return this.reporter.error(`objid() should be either array or string, got: ${JSON.stringify(e)}`)}if(!i){if(e[1]>=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<e.length;t++){let i=e[t];for(n++;i>=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<i){n[a]=parseInt(t.slice(r,r+2),16);a+=1;r+=2}return n}DERNode.prototype._encodeInt=function encodeInt(e,t){if(typeof e==="string"){if(!t){return this.reporter.error("String int or enum given, but no values map")}if(!Object.prototype.hasOwnProperty.call(t,e)){return this.reporter.error(`Values map doesn't contain: ${JSON.stringify(e)}`)}e=t[e]}if(typeof e==="bigint"){const t=[...bnToBuf(e)];if(t[0]&128){t.unshift(0)}e=Buffer.from(t)}if(Buffer.isBuffer(e)){let t=e.length;if(e.length===0){t++}const i=Buffer.alloc(t);e.copy(i);if(e.length===0){i[0]=0}return this._createEncoderBuffer(i)}if(e<128){return this._createEncoderBuffer(e)}if(e<256){return this._createEncoderBuffer([0,e])}let i=1;for(let t=e;t>=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<r.length;a++){if(r[a]!==n.defaultBuffer[a]){return false}}return true};function encodeTag(e,t,i,n){let a;if(e==="seqof"){e="seq"}else if(e==="setof"){e="set"}if(Object.prototype.hasOwnProperty.call(r.tagByName,e)){a=r.tagByName[e]}else if(typeof e==="number"&&(e|0)===e){a=e}else{return n.error(`Unknown tag: ${e}`)}if(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<n&&e[i+a]===0){++a}const r=e[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<c){throw new Error(`"seq" specified length of ${c}", only ${r-u}" remaining`)}if(e[u++]!==o){throw new Error('Could not find expected "int" for "r"')}const d=e[u++];if(r-u-2<d){throw new Error(`"r" specified length of "${d}", only "${r-u-2}" available`)}if(a<d){throw new Error(`"r" specified length of "${d}", max of "${a}" is acceptable`)}const p=u;u+=d;if(e[u++]!==o){throw new Error('Could not find expected "int" for "s"')}const f=e[u++];if(r-u!==f){throw new Error(`"s" specified length of "${f}", expected "${r-u}"`)}if(a<f){throw new Error(`"s" specified length of "${f}", max of "${a}" is acceptable`)}const h=u;u+=f;if(u!==r){throw new Error(`Expected to consume entire buffer, but "${r-u}" bytes remain`)}const m=n-d;const b=n-f;const g=Buffer.allocUnsafe(m+d+b+f);for(u=0;u<m;++u){g[u]=0}e.copy(g,u,p+Math.max(-m,0),p+d);u=n;for(const e=u;u<e+b;++u){g[u]=0}e.copy(g,u,h+Math.max(-b,0),h+f);return g});e.exports.joseToDer=((e,i)=>{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<t;const m=Buffer.allocUnsafe((h?2:3)+f);let b=0;m[b++]=s;if(h){m[b++]=f}else{m[b++]=t|1;m[b++]=f&255}m[b++]=o;m[b++]=d;if(r<0){m[b++]=0;b+=e.copy(m,b,0,n)}else{b+=e.copy(m,b,r,n)}m[b++]=o;m[b++]=p;if(u<0){m[b++]=0;e.copy(m,b,n)}else{e.copy(m,b,n+u)}return m})},function(e,t,i){var n=i(215).Buffer;var a={dsa:{parts:["p","q","g","y"],sizePart:"p"},rsa:{parts:["e","n"],sizePart:"n"},ecdsa:{parts:["curve","Q"],sizePart:"Q"},ed25519:{parts:["A"],sizePart:"A"}};a["curve25519"]=a["ed25519"];var r={dsa:{parts:["p","q","g","y","x"]},rsa:{parts:["n","e","d","iqmp","p","q"]},ecdsa:{parts:["curve","Q","d"]},ed25519:{parts:["A","k"]}};r["curve25519"]=r["ed25519"];var s={md5:true,sha1:true,sha256:true,sha384:true,sha512:true};var o={nistp256:{size:256,pkcs8oid:"1.2.840.10045.3.1.7",p:n.from(("00"+"ffffffff 00000001 00000000 00000000"+"00000000 ffffffff ffffffff ffffffff").replace(/ /g,""),"hex"),a:n.from(("00"+"FFFFFFFF 00000001 00000000 00000000"+"00000000 FFFFFFFF FFFFFFFF FFFFFFFC").replace(/ /g,""),"hex"),b:n.from(("5ac635d8 aa3a93e7 b3ebbd55 769886bc"+"651d06b0 cc53b0f6 3bce3c3e 27d2604b").replace(/ /g,""),"hex"),s:n.from(("00"+"c49d3608 86e70493 6a6678e1 139d26b7"+"819f7e90").replace(/ /g,""),"hex"),n:n.from(("00"+"ffffffff 00000000 ffffffff ffffffff"+"bce6faad a7179e84 f3b9cac2 fc632551").replace(/ /g,""),"hex"),G:n.from(("04"+"6b17d1f2 e12c4247 f8bce6e5 63a440f2"+"77037d81 2deb33a0 f4a13945 d898c296"+"4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16"+"2bce3357 6b315ece cbb64068 37bf51f5").replace(/ /g,""),"hex")},nistp384:{size:384,pkcs8oid:"1.3.132.0.34",p:n.from(("00"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff fffffffe"+"ffffffff 00000000 00000000 ffffffff").replace(/ /g,""),"hex"),a:n.from(("00"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFE"+"FFFFFFFF 00000000 00000000 FFFFFFFC").replace(/ /g,""),"hex"),b:n.from(("b3312fa7 e23ee7e4 988e056b e3f82d19"+"181d9c6e fe814112 0314088f 5013875a"+"c656398d 8a2ed19d 2a85c8ed d3ec2aef").replace(/ /g,""),"hex"),s:n.from(("00"+"a335926a a319a27a 1d00896a 6773a482"+"7acdac73").replace(/ /g,""),"hex"),n:n.from(("00"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff c7634d81 f4372ddf"+"581a0db2 48b0a77a ecec196a ccc52973").replace(/ /g,""),"hex"),G:n.from(("04"+"aa87ca22 be8b0537 8eb1c71e f320ad74"+"6e1d3b62 8ba79b98 59f741e0 82542a38"+"5502f25d bf55296c 3a545e38 72760ab7"+"3617de4a 96262c6f 5d9e98bf 9292dc29"+"f8f41dbd 289a147c e9da3113 b5f0b8c0"+"0a60b1ce 1d7e819d 7a431d7c 90ea0e5f").replace(/ /g,""),"hex")},nistp521:{size:521,pkcs8oid:"1.3.132.0.35",p:n.from(("01ffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff ffffffff"+"ffff").replace(/ /g,""),"hex"),a:n.from(("01FF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFC").replace(/ /g,""),"hex"),b:n.from(("51"+"953eb961 8e1c9a1f 929a21a0 b68540ee"+"a2da725b 99b315f3 b8b48991 8ef109e1"+"56193951 ec7e937b 1652c0bd 3bb1bf07"+"3573df88 3d2c34f1 ef451fd4 6b503f00").replace(/ /g,""),"hex"),s:n.from(("00"+"d09e8800 291cb853 96cc6717 393284aa"+"a0da64ba").replace(/ /g,""),"hex"),n:n.from(("01ff"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff fffffffa"+"51868783 bf2f966b 7fcc0148 f709a5d0"+"3bb5c9b8 899c47ae bb6fb71e 91386409").replace(/ /g,""),"hex"),G:n.from(("04"+"00c6 858e06b7 0404e9cd 9e3ecb66 2395b442"+"9c648139 053fb521 f828af60 6b4d3dba"+"a14b5e77 efe75928 fe1dc127 a2ffa8de"+"3348b3c1 856a429b f97e7e31 c2e5bd66"+"0118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9"+"98f54449 579b4468 17afbd17 273e662c"+"97ee7299 5ef42640 c550b901 3fad0761"+"353c7086 a272c240 88be9476 9fd16650").replace(/ /g,""),"hex")}};e.exports={info:a,privInfo:r,hashAlgs:s,curves:o}},function(e,t,i){const{createCipheriv:n,createDecipheriv:a,getCiphers:r}=i(373);const s=i(537);const o=i(355);const{KEYOBJECT:u}=i(771);const{JWEInvalid:l,JWEDecryptionFailed:c}=i(466);const d=function(e,t,i){if(t.length!==16){throw new l("invalid iv")}if(arguments.length===3){if(i.length!==e/8){throw new l("invalid tag")}}};const p=(e,t,{[u]:i},a,{iv:r,aad:o=Buffer.alloc(0)})=>{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;r<e.length;r++){const t=e[r];t.copy(i,a);a+=t.length}return i}function _mask(e,t,i,n,a){for(var r=0;r<a;r++){i[n+r]=e[r]^t[r&3]}}function _unmask(e,t){const i=e.length;for(var n=0;n<i;n++){e[n]^=t[n&3]}}function toArrayBuffer(e){if(e.byteLength===e.buffer.byteLength){return e.buffer}return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function toBuffer(e){toBuffer.readOnly=true;if(Buffer.isBuffer(e))return e;var t;if(e instanceof ArrayBuffer){t=Buffer.from(e)}else if(ArrayBuffer.isView(e)){t=viewToBuffer(e)}else{t=Buffer.from(e);toBuffer.readOnly=false}return t}function viewToBuffer(e){const t=Buffer.from(e.buffer);if(e.byteLength!==e.buffer.byteLength){return t.slice(e.byteOffset,e.byteOffset+e.byteLength)}return t}try{const t=i(24);const n=t.BufferUtil||t;e.exports={concat:concat,mask(e,t,i,a,r){if(r<48)_mask(e,t,i,a,r);else n.mask(e,t,i,a,r)},toArrayBuffer:toArrayBuffer,toBuffer:toBuffer,unmask(e,t){if(e.length<32)_unmask(e,t);else n.unmask(e,t)}}}catch(t){e.exports={concat:concat,mask:_mask,toArrayBuffer:toArrayBuffer,toBuffer:toBuffer,unmask:_unmask}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(413);class TerminalSizeQueue extends n.Readable{constructor(e={}){super(Object.assign({},e,{read(){}}))}handleResizes(e){this.resize(getTerminalSize(e));e.on("resize",()=>this.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(m<b){h=f[m+=1];if(e.opts.strictKeywords?typeof h=="object"&&Object.keys(h).length>0: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;a<i.length;a++)n.push([t,i[a]]);else if(typeof i==="object")for(var r in i)n.push([t+"["+r+"]",i[r]]);else n.push([t,i])}return n}function compare(e,t){return e>t?1:e<t?-1:0}function generateBase(e,t,i){var n=map(i).map(function(e){return[rfc3986(e[0]),rfc3986(e[1]||"")]}).sort(function(e,t){return compare(e[0],t[0])||compare(e[1],t[1])}).map(function(e){return e.join("=")}).join("&");var a=[rfc3986(e?e.toUpperCase():"GET"),rfc3986(t),rfc3986(n)].join("&");return a}function hmacsign(e,t,i,n,a){var r=generateBase(e,t,i);var s=[n||"",a||""].map(rfc3986).join("&");return sha(s,r,"sha1")}function hmacsign256(e,t,i,n,a){var r=generateBase(e,t,i);var s=[n||"",a||""].map(rfc3986).join("&");return sha(s,r,"sha256")}function rsasign(e,t,i,n,a){var r=generateBase(e,t,i);var s=n||"";return rsa(s,r)}function plaintext(e,t){var i=[e||"",t||""].map(rfc3986).join("&");return i}function sign(e,t,i,n,a,r){var s;var o=1;switch(e){case"RSA-SHA1":s=rsasign;break;case"HMAC-SHA1":s=hmacsign;break;case"HMAC-SHA256":s=hmacsign256;break;case"PLAINTEXT":s=plaintext;o=4;break;default:throw new Error("Signature method not supported: "+e)}return s.apply(null,[].slice.call(arguments,o))}t.hmacsign=hmacsign;t.hmacsign256=hmacsign256;t.rsasign=rsasign;t.plaintext=plaintext;t.sign=sign;t.rfc3986=rfc3986;t.generateBase=generateBase},,function(e,t,i){const{inspect:n}=i(669);const a=i(849);class EmbeddedX5C extends a{constructor(){super({type:"embedded"});Object.defineProperties(this,{kid:{value:undefined},kty:{value:undefined},thumbprint:{value:undefined},toJWK:{value:undefined},toPEM:{value:undefined}})}[n.custom](){return"Embedded.X5C {}"}algorithms(){return new Set}}e.exports=new EmbeddedX5C},,function(e,t,i){var n=i(622);var a=process.platform==="win32";var r=i(747);var s=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var e;if(s){var t=new Error;e=debugCallback}else e=missingCallback;return e;function debugCallback(e){if(e){t.message=e.message;e=t;missingCallback(e)}}function missingCallback(e){if(e){if(process.throwDeprecation)throw e;else if(!process.noDeprecation){var t="fs: missing callback "+(e.stack||e.message);if(process.traceDeprecation)console.trace(t);else console.error(t)}}}}function maybeCallback(e){return typeof e==="function"?e:rethrow()}var o=n.normalize;if(a){var u=/(.*?)(?:[\/\\]+|$)/g}else{var u=/(.*?)(?:[\/]+|$)/g}if(a){var l=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/}else{var l=/^[\/]*/}t.realpathSync=function realpathSync(e,t){e=n.resolve(e);if(t&&Object.prototype.hasOwnProperty.call(t,e)){return t[e]}var i=e,s={},o={};var c;var d;var p;var f;start();function start(){var t=l.exec(e);c=t[0].length;d=t[0];p=t[0];f="";if(a&&!o[p]){r.lstatSync(p);o[p]=true}}while(c<e.length){u.lastIndex=c;var h=u.exec(e);f=d;d+=h[0];p=f+h[1];c=u.lastIndex;if(o[p]||t&&t[p]===p){continue}var m;if(t&&Object.prototype.hasOwnProperty.call(t,p)){m=t[p]}else{var b=r.lstatSync(p);if(!b.isSymbolicLink()){o[p]=true;if(t)t[p]=p;continue}var g=null;if(!a){var y=b.dev.toString(32)+":"+b.ino.toString(32);if(s.hasOwnProperty(y)){g=s[y]}}if(g===null){r.statSync(p);g=r.readlinkSync(p)}m=n.resolve(f,g);if(t)t[p]=m;if(!a)s[y]=g}e=n.resolve(m,e.slice(c));start()}if(t)t[i]=e;return e};t.realpath=function realpath(e,t,i){if(typeof i!=="function"){i=maybeCallback(t);t=null}e=n.resolve(e);if(t&&Object.prototype.hasOwnProperty.call(t,e)){return process.nextTick(i.bind(null,null,t[e]))}var s=e,o={},c={};var d;var p;var f;var h;start();function start(){var t=l.exec(e);d=t[0].length;p=t[0];f=t[0];h="";if(a&&!c[f]){r.lstat(f,function(e){if(e)return i(e);c[f]=true;LOOP()})}else{process.nextTick(LOOP)}}function LOOP(){if(d>=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;t<this._queue.length;t++){const i=this._queue[t][4];if(typeof i==="function")i(e)}return}this._bufferedBytes-=e.length;this._deflating=false;i.readOnly=false;this.sendFrame(Sender.frame(a,i),n);this.dequeue()})}dequeue(){while(!this._deflating&&this._queue.length){const e=this._queue.shift();this._bufferedBytes-=e[1].length;Reflect.apply(e[0],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,t,i){const n=i(16);const a=(e,t)=>e.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<this.set.length;t++){if(j(this.set[t],e,this.options)){return true}}return false}}e.exports=Range;const n=i(174);const a=i(548);const r=i(65);const{re:s,t:o,comparatorTrimReplace:u,tildeTrimReplace:l,caretTrimReplace:c}=i(976);const d=(e,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;i<e.length;i++){if(!e[i].test(t)){return false}}if(t.prerelease.length&&!i.includePrerelease){for(let i=0;i<e.length;i++){a(e[i].semver);if(e[i].semver===n.ANY){continue}if(e[i].semver.prerelease.length>0){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<n;i+=1){a=r[i];e[a]=t[a]}}return e}function repeat(e,t){var i="",n;for(n=0;n<t;n+=1){i+=e}return i}function isNegativeZero(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}e.exports.isNothing=isNothing;e.exports.isObject=isObject;e.exports.toArray=toArray;e.exports.repeat=repeat;e.exports.isNegativeZero=isNegativeZero;e.exports.extend=extend},function(e){e.exports=require("child_process")},,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(422);const a=i(59);const r=["v4.channel.k8s.io","v3.channel.k8s.io","v2.channel.k8s.io","channel.k8s.io"];class WebSocketHandler{constructor(e,t){this.config=e;this.socketFactory=t}static handleStandardStreams(e,t,i,n){if(t.length<1){return null}if(i&&e===WebSocketHandler.StdoutStream){i.write(t)}else if(n&&e===WebSocketHandler.StderrStream){n.write(t)}else if(e===WebSocketHandler.StatusStream){if(i&&i!==process.stdout){i.end()}if(n&&n!==process.stderr){n.end()}return JSON.parse(t.toString("utf8"))}else{throw new Error("Unknown stream: "+e)}return null}static handleStandardInput(e,t,i=0){t.on("data",t=>{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;++s){if(o!==null&&o.readyState===a.OPEN){o.send(n);break}else{o=yield e()}}if(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.length;t++){if(t)r+=",";r+=stringify(e[t])||"null"}return r+"]"}if(e===null)return"null";if(a.indexOf(e)!==-1){if(i)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=a.push(e)-1;var o=Object.keys(e).sort(n&&n(e));r="";for(t=0;t<o.length;t++){var u=o[t];var l=stringify(e[u]);if(!l)continue;if(r)r+=",";r+=JSON.stringify(u)+":"+l}a.splice(s,1);return"{"+r+"}"}(e)}},function(e,t,i){var n=i(751),a=i(566);e.exports=iterate;function iterate(e,t,i,n){var r=i["keyedList"]?i["keyedList"][i.index]:i.index;i.jobs[r]=runJob(t,r,e[r],function(e,t){if(!(r in i.jobs)){return}delete i.jobs[r];if(e){a(i)}else{i.results[r]=t}n(e,i.results)})}function runJob(e,t,i,a){var r;if(e.length==2){r=e(i,n(a))}else{r=e(i,t,n(a))}return r}},function(e,t,i){"use strict";const{PassThrough:n}=i(413);e.exports=(e=>{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<e.set.length;++t){const a=e.set[t];a.forEach(e=>{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+"<errors; "+T+"++) { var "+R+" = vErrors["+T+"]; if ("+R+".dataPath === undefined) "+R+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+R+".schemaPath === undefined) { "+R+'.schemaPath = "'+u+'"; } ';if(e.opts.verbose){n+=" "+R+".schema = "+m+"; "+R+".data = "+d+"; "}n+=" } "}}else{if(y.errors===false){n+=" "+B+" "}else{n+=" if ("+f+" == errors) { "+B+" } else { for (var "+T+"="+f+"; "+T+"<errors; "+T+"++) { var "+R+" = vErrors["+T+"]; if ("+R+".dataPath === undefined) "+R+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+R+".schemaPath === undefined) { "+R+'.schemaPath = "'+u+'"; } ';if(e.opts.verbose){n+=" "+R+".schema = "+m+"; "+R+".data = "+d+"; "}n+=" } } "}}}else if(z){n+=" var err = ";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+=" {} "}n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(vErrors); "}else{n+=" validate.errors = vErrors; return false; "}}}else{if(y.errors===false){n+=" "+B+" "}else{n+=" if (Array.isArray("+C+")) { if (vErrors === null) vErrors = "+C+"; else vErrors = vErrors.concat("+C+"); errors = vErrors.length; for (var "+T+"="+f+"; "+T+"<errors; "+T+"++) { var "+R+" = vErrors["+T+"]; if ("+R+".dataPath === undefined) "+R+".dataPath = (dataPath || '') + "+e.errorPath+"; "+R+'.schemaPath = "'+u+'"; ';if(e.opts.verbose){n+=" "+R+".schema = "+m+"; "+R+".data = "+d+"; "}n+=" } } else { "+B+" } "}}n+=" } ";if(l){n+=" else { "}}return n}},function(){},,,function(e){e.exports=require("querystring")},,,,,function(e,t,i){(function(e){"use strict";var t=function(e){var t,i=new Float64Array(16);if(e)for(t=0;t<e.length;t++)i[t]=e[t];return i};var n=function(){throw new Error("no PRNG")};var a=new Uint8Array(16);var r=new Uint8Array(32);r[0]=9;var s=t(),o=t([1]),u=t([56129,1]),l=t([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),c=t([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),d=t([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),p=t([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),f=t([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function ts64(e,t,i,n){e[t]=i>>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<a;r++)s|=e[t+r]^i[n+r];return(1&s-1>>>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<a;c++)e[t+c]=i[n+c]^u[c]}return 0}function crypto_stream_salsa20(e,t,i,n,a){var r=new Uint8Array(16),s=new Uint8Array(64);var o,u;for(u=0;u<16;u++)r[u]=0;for(u=0;u<8;u++)r[u]=n[u];while(i>=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<i;u++)e[t+u]=s[u]}return 0}function crypto_stream(e,t,i,n,a){var r=new Uint8Array(32);crypto_core_hsalsa20(r,n,a,h);var s=new Uint8Array(8);for(var o=0;o<8;o++)s[o]=n[o+16];return crypto_stream_salsa20(e,t,i,s,r)}function crypto_stream_xor(e,t,i,n,a,r,s){var o=new Uint8Array(32);crypto_core_hsalsa20(o,r,s,h);var u=new Uint8Array(8);for(var l=0;l<8;l++)u[l]=r[l+16];return crypto_stream_salsa20_xor(e,t,i,n,a,u,o)}var m=function(e){this.buffer=new Uint8Array(16);this.r=new Uint16Array(10);this.h=new Uint16Array(10);this.pad=new Uint16Array(8);this.leftover=0;this.fin=0;var t,i,n,a,r,s,o,u;t=e[0]&255|(e[1]&255)<<8;this.r[0]=t&8191;i=e[2]&255|(e[3]&255)<<8;this.r[1]=(t>>>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<a;n++)this.buffer[this.leftover+n]=e[t+n];i-=a;t+=a;this.leftover+=a;if(this.leftover<16)return;this.blocks(this.buffer,0,16);this.leftover=0}if(i>=16){a=i-i%16;this.blocks(e,t,a);t+=a;i-=a}if(i){for(n=0;n<i;n++)this.buffer[this.leftover+n]=e[t+n];this.leftover+=i}};function crypto_onetimeauth(e,t,i,n,a,r){var s=new m(r);s.update(i,n,a);s.finish(e,t);return 0}function crypto_onetimeauth_verify(e,t,i,n,a,r){var s=new Uint8Array(16);crypto_onetimeauth(s,0,i,n,a,r);return crypto_verify_16(e,t,s,0)}function crypto_secretbox(e,t,i,n,a){var r;if(i<32)return-1;crypto_stream_xor(e,0,t,0,i,n,a);crypto_onetimeauth(e,16,e,32,i-32,e);for(r=0;r<16;r++)e[r]=0;return 0}function crypto_secretbox_open(e,t,i,n,a){var r;var s=new Uint8Array(32);if(i<32)return-1;crypto_stream(s,0,32,n,a);if(crypto_onetimeauth_verify(t,16,t,32,i-32,s)!==0)return-1;crypto_stream_xor(e,0,t,0,i,n,a);for(r=0;r<32;r++)e[r]=0;return 0}function set25519(e,t){var i;for(i=0;i<16;i++)e[i]=t[i]|0}function car25519(e){var t,i,n=1;for(t=0;t<16;t++){i=e[t]+n+65535;n=Math.floor(i/65536);e[t]=i-n*65536}e[0]+=n-1+37*(n-1)}function sel25519(e,t,i){var n,a=~(i-1);for(var r=0;r<16;r++){n=a&(e[r]^t[r]);e[r]^=n;t[r]^=n}}function pack25519(e,i){var n,a,r;var s=t(),o=t();for(n=0;n<16;n++)o[n]=i[n];car25519(o);car25519(o);car25519(o);for(a=0;a<2;a++){s[0]=o[0]-65517;for(n=1;n<15;n++){s[n]=o[n]-65535-(s[n-1]>>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<i;s++)r[s]=t[o-i+s];r[i]=128;i=256-128*(i<112?1:0);r[i-9]=0;ts64(r,i-8,o/536870912|0,o<<3);crypto_hashblocks_hl(n,a,r,i);for(s=0;s<8;s++)ts64(e,8*s,n[s],a[s]);return 0}function add(e,i){var n=t(),a=t(),r=t(),s=t(),o=t(),u=t(),l=t(),d=t(),p=t();Z(n,e[1],e[0]);Z(p,i[1],i[0]);M(n,n,p);A(a,e[0],e[1]);A(p,i[0],i[1]);M(a,a,p);M(r,e[3],i[3]);M(r,r,c);M(s,e[2],i[2]);A(s,s,s);Z(o,a,n);Z(u,s,r);A(l,s,r);A(d,a,n);M(e[0],o,u);M(e[1],d,l);M(e[2],l,u);M(e[3],o,d)}function cswap(e,t,i){var n;for(n=0;n<4;n++){sel25519(e[n],t[n],i)}}function pack(e,i){var n=t(),a=t(),r=t();inv25519(r,i[2]);M(n,i[0],r);M(a,i[1],r);pack25519(e,a);e[31]^=par25519(n)<<7}function scalarmult(e,t,i){var n,a;set25519(e[0],s);set25519(e[1],o);set25519(e[2],o);set25519(e[3],s);for(a=255;a>=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<r;++a){t[a]+=i-16*t[n]*w[a-(n-32)];i=t[a]+128>>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<n;u++)e[64+u]=i[u];for(u=0;u<32;u++)e[32+u]=r[32+u];crypto_hash(o,e.subarray(32),n+32);reduce(o);scalarbase(d,o);pack(e,d);for(u=32;u<64;u++)e[u]=a[u];crypto_hash(s,e,n+64);reduce(s);for(u=0;u<64;u++)c[u]=0;for(u=0;u<32;u++)c[u]=o[u];for(u=0;u<32;u++){for(l=0;l<32;l++){c[u+l]+=s[u]*r[l]}}modL(e.subarray(32),c);return p}function unpackneg(e,i){var n=t(),a=t(),r=t(),u=t(),c=t(),d=t(),p=t();set25519(e[2],o);unpack25519(e[1],i);S(r,e[1]);M(u,r,l);Z(r,r,e[2]);A(u,e[2],u);S(c,u);S(d,c);M(p,d,c);M(n,p,r);M(n,n,u);pow2523(n,n);M(n,n,r);M(n,n,u);M(n,n,u);M(e[0],n,u);S(a,e[0]);M(a,a,u);if(neq25519(a,r))M(e[0],e[0],f);S(a,e[0]);M(a,a,u);if(neq25519(a,r))return-1;if(par25519(e[0])===i[31]>>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<n;r++)e[r]=i[r];for(r=0;r<32;r++)e[r+32]=a[r];crypto_hash(u,e,n);reduce(u);scalarmult(l,c,u);scalarbase(c,i.subarray(32));add(l,c);pack(o,l);n-=64;if(crypto_verify_32(i,0,o,0)){for(r=0;r<n;r++)e[r]=0;return-1}for(r=0;r<n;r++)e[r]=i[r+64];s=n;return s}var v=32,z=24,j=32,O=16,k=32,C=32,T=32,R=32,E=32,x=z,N=j,V=O,P=64,D=32,I=64,_=32,q=64;e.lowlevel={crypto_core_hsalsa20:crypto_core_hsalsa20,crypto_stream_xor:crypto_stream_xor,crypto_stream:crypto_stream,crypto_stream_salsa20_xor:crypto_stream_salsa20_xor,crypto_stream_salsa20:crypto_stream_salsa20,crypto_onetimeauth:crypto_onetimeauth,crypto_onetimeauth_verify:crypto_onetimeauth_verify,crypto_verify_16:crypto_verify_16,crypto_verify_32:crypto_verify_32,crypto_secretbox:crypto_secretbox,crypto_secretbox_open:crypto_secretbox_open,crypto_scalarmult:crypto_scalarmult,crypto_scalarmult_base:crypto_scalarmult_base,crypto_box_beforenm:crypto_box_beforenm,crypto_box_afternm:b,crypto_box:crypto_box,crypto_box_open:crypto_box_open,crypto_box_keypair:crypto_box_keypair,crypto_hash:crypto_hash,crypto_sign:crypto_sign,crypto_sign_keypair:crypto_sign_keypair,crypto_sign_open:crypto_sign_open,crypto_secretbox_KEYBYTES:v,crypto_secretbox_NONCEBYTES:z,crypto_secretbox_ZEROBYTES:j,crypto_secretbox_BOXZEROBYTES:O,crypto_scalarmult_BYTES:k,crypto_scalarmult_SCALARBYTES:C,crypto_box_PUBLICKEYBYTES:T,crypto_box_SECRETKEYBYTES:R,crypto_box_BEFORENMBYTES:E,crypto_box_NONCEBYTES:x,crypto_box_ZEROBYTES:N,crypto_box_BOXZEROBYTES:V,crypto_sign_BYTES:P,crypto_sign_PUBLICKEYBYTES:D,crypto_sign_SECRETKEYBYTES:I,crypto_sign_SEEDBYTES:_,crypto_hash_BYTES:q};function checkLengths(e,t){if(e.length!==v)throw new Error("bad key size");if(t.length!==z)throw new Error("bad nonce size")}function checkBoxLengths(e,t){if(e.length!==T)throw new Error("bad public key size");if(t.length!==R)throw new Error("bad secret key size")}function checkArrayTypes(){var e,t;for(t=0;t<arguments.length;t++){if((e=Object.prototype.toString.call(arguments[t]))!=="[object Uint8Array]")throw new TypeError("unexpected type "+e+", use Uint8Array")}}function cleanup(e){for(var t=0;t<e.length;t++)e[t]=0}if(!e.util){e.util={};e.util.decodeUTF8=e.util.encodeUTF8=e.util.encodeBase64=e.util.decodeBase64=function(){throw new Error("nacl.util moved into separate package: https://github.com/dchest/tweetnacl-util-js")}}e.randomBytes=function(e){var t=new Uint8Array(e);n(t,e);return t};e.secretbox=function(e,t,i){checkArrayTypes(e,t,i);checkLengths(i,t);var n=new Uint8Array(j+e.length);var a=new Uint8Array(n.length);for(var r=0;r<e.length;r++)n[r+j]=e[r];crypto_secretbox(a,n,n.length,t,i);return a.subarray(O)};e.secretbox.open=function(e,t,i){checkArrayTypes(e,t,i);checkLengths(i,t);var n=new Uint8Array(O+e.length);var a=new Uint8Array(n.length);for(var r=0;r<e.length;r++)n[r+O]=e[r];if(n.length<32)return false;if(crypto_secretbox_open(a,n,n.length,t,i)!==0)return false;return a.subarray(j)};e.secretbox.keyLength=v;e.secretbox.nonceLength=z;e.secretbox.overheadLength=O;e.scalarMult=function(e,t){checkArrayTypes(e,t);if(e.length!==C)throw new Error("bad n size");if(t.length!==k)throw new Error("bad p size");var i=new Uint8Array(k);crypto_scalarmult(i,e,t);return i};e.scalarMult.base=function(e){checkArrayTypes(e);if(e.length!==C)throw new Error("bad n size");var t=new Uint8Array(k);crypto_scalarmult_base(t,e);return t};e.scalarMult.scalarLength=C;e.scalarMult.groupElementLength=k;e.box=function(t,i,n,a){var r=e.box.before(n,a);return e.secretbox(t,i,r)};e.box.before=function(e,t){checkArrayTypes(e,t);checkBoxLengths(e,t);var i=new Uint8Array(E);crypto_box_beforenm(i,e,t);return i};e.box.after=e.secretbox;e.box.open=function(t,i,n,a){var r=e.box.before(n,a);return e.secretbox.open(t,i,r)};e.box.open.after=e.secretbox.open;e.box.keyPair=function(){var e=new Uint8Array(T);var t=new Uint8Array(R);crypto_box_keypair(e,t);return{publicKey:e,secretKey:t}};e.box.keyPair.fromSecretKey=function(e){checkArrayTypes(e);if(e.length!==R)throw new Error("bad secret key size");var t=new Uint8Array(T);crypto_scalarmult_base(t,e);return{publicKey:t,secretKey:new Uint8Array(e)}};e.box.publicKeyLength=T;e.box.secretKeyLength=R;e.box.sharedKeyLength=E;e.box.nonceLength=x;e.box.overheadLength=e.secretbox.overheadLength;e.sign=function(e,t){checkArrayTypes(e,t);if(t.length!==I)throw new Error("bad secret key size");var i=new Uint8Array(P+e.length);crypto_sign(i,e,e.length,t);return i};e.sign.open=function(e,t){if(arguments.length!==2)throw new Error("nacl.sign.open accepts 2 arguments; did you mean to use nacl.sign.detached.verify?");checkArrayTypes(e,t);if(t.length!==D)throw new Error("bad public key size");var i=new Uint8Array(e.length);var n=crypto_sign_open(i,e,e.length,t);if(n<0)return null;var a=new Uint8Array(n);for(var r=0;r<a.length;r++)a[r]=i[r];return a};e.sign.detached=function(t,i){var n=e.sign(t,i);var a=new Uint8Array(P);for(var r=0;r<a.length;r++)a[r]=n[r];return a};e.sign.detached.verify=function(e,t,i){checkArrayTypes(e,t,i);if(t.length!==P)throw new Error("bad signature size");if(i.length!==D)throw new Error("bad public key size");var n=new Uint8Array(P+e.length);var a=new Uint8Array(P+e.length);var r;for(r=0;r<P;r++)n[r]=t[r];for(r=0;r<e.length;r++)n[r+P]=e[r];return crypto_sign_open(a,n,n.length,i)>=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<t.length;i++)t[i]=e[32+i];return{publicKey:t,secretKey:new Uint8Array(e)}};e.sign.keyPair.fromSeed=function(e){checkArrayTypes(e);if(e.length!==_)throw new Error("bad seed size");var t=new Uint8Array(D);var i=new Uint8Array(I);for(var n=0;n<32;n++)i[n]=e[n];crypto_sign_keypair(t,i,true);return{publicKey:t,secretKey:i}};e.sign.publicKeyLength=D;e.sign.secretKeyLength=I;e.sign.seedLength=_;e.sign.signatureLength=P;e.hash=function(e){checkArrayTypes(e);var t=new Uint8Array(q);crypto_hash(t,e,e.length);return t};e.hash.hashLength=q;e.verify=function(e,t){checkArrayTypes(e,t);if(e.length===0||t.length===0)return false;if(e.length!==t.length)return false;return vn(e,0,t,0,e.length)===0?true:false};e.setPRNG=function(e){n=e};(function(){var t=typeof self!=="undefined"?self.crypto||self.msCrypto:null;if(t&&t.getRandomValues){var n=65536;e.setPRNG(function(e,i){var a,r=new Uint8Array(i);for(a=0;a<i;a+=n){t.getRandomValues(r.subarray(a,a+Math.min(i-a,n)))}for(a=0;a<i;a++)e[a]=r[a];cleanup(r)})}else if(true){t=i(373);if(t&&t.randomBytes){e.setPRNG(function(e,i){var n,a=t.randomBytes(i);for(n=0;n<i;n++)e[n]=a[n];cleanup(a)})}}})()})(true&&e.exports?e.exports:self.nacl=self.nacl||{})},,function(e){"use strict";const t={clusterroles:[],clusterrolebindings:[],componentstatuses:["cs"],configmaps:["cm"],cronjobs:[],customresourcedefinitions:["crd"],daemonsets:["ds"],deployments:["deploy"],events:["ev"],endpoints:["ep"],horizontalpodautoscalers:["hpa"],ingresses:["ing"],jobs:[],limitranges:["limits"],namespaces:["ns"],nodes:["no"],persistentvolumes:["pv"],persistentvolumeclaims:["pvc"],petsets:[],pods:["po"],replicationcontrollers:["rc"],replicasets:["rs"],resourcequotas:["quota"],roles:[],rolebindings:[],scheduledjobs:[],secrets:[],serviceaccounts:[],services:["svc"],statefulsets:[],thirdpartyresources:[]};const i={componentstatuses:true,ingresses:true};const n={apis:true,status:true};e.exports=function(e){let a=[e];if(t[e]){a=a.concat(t[e])}if(e.slice(-1)!=="s"||e in n){return a}const r=i[e]?2:1;const s=e.substr(0,e.length-r);a.push(s);return a}},function(e,t,i){var n=i(602);var a=i(747);n.register("grep",_grep,{globStart:2,canReceivePipe:true,cmdOptions:{v:"inverse",l:"nameOnly",i:"ignoreCase"}});function _grep(e,t,i){var r=n.readFromPipe();if(!i&&!r)n.error("no paths given",2);i=[].slice.call(arguments,2);if(r){i.unshift("-")}var s=[];if(e.ignoreCase){t=new RegExp(t,"i")}i.forEach(function(i){if(!a.existsSync(i)&&i!=="-"){n.error("no such file or directory: "+i,2,{continue:true});return}var o=i==="-"?r:a.readFileSync(i,"utf8");if(e.nameOnly){if(o.match(t)){s.push(i)}}else{var u=o.split("\n");u.forEach(function(i){var n=i.match(t);if(e.inverse&&!n||!e.inverse&&n){s.push(i)}})}});return s.join("\n")+"\n"}e.exports=_grep},,function(e,t,i){const{randomBytes:n}=i(373);const{createSecretKey:a}=i(40);const{KEYLENGTHS:r}=i(962);const s=i(847);e.exports=(e=>{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(a<i){n[a]=parseInt(t.slice(r,r+2),16);a+=1;r+=2}return n};const u=e=>n(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)return c.read(e,t);throw new Error("Failed to auto-detect format of key")}function findPuTTYHeader(e){var t=0;while(t<e.length&&(e[t]===32||e[t]===10||e[t]===9))++t;if(t+22<=e.length&&e.slice(t,t+22).toString("ascii").toLowerCase()==="putty-user-key-file-2:")return true;return false}function findSSHHeader(e){var t=0;while(t<e.length&&(e[t]===32||e[t]===10||e[t]===9))++t;if(t+4<=e.length&&e.slice(t,t+4).toString("ascii")==="ssh-")return true;if(t+6<=e.length&&e.slice(t,t+6).toString("ascii")==="ecdsa-")return true;return false}function findPEMHeader(e){var t=0;while(t<e.length&&(e[t]===32||e[t]===10))++t;if(e[t]!==45)return false;while(t<e.length&&e[t]===45)++t;while(t<e.length&&e[t]===32)++t;if(t+5>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<<i)-1;BigInteger.prototype.DV=1<<i;var s=52;BigInteger.prototype.FV=Math.pow(2,s);BigInteger.prototype.F1=s-i;BigInteger.prototype.F2=2*i-s;var o="0123456789abcdefghijklmnopqrstuvwxyz";var u=new Array;var l,c;l="0".charCodeAt(0);for(c=0;c<=9;++c)u[l++]=c;l="a".charCodeAt(0);for(c=10;c<36;++c)u[l++]=c;l="A".charCodeAt(0);for(c=10;c<36;++c)u[l++]=c;function int2char(e){return o.charAt(e)}function intAt(e,t){var i=u[e.charCodeAt(t)];return i==null?-1:i}function bnpCopyTo(e){for(var t=this.t-1;t>=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)-1)<<r;this[this.t++]=s>>this.DB-r}else this[this.t-1]|=s<<r;r+=i;if(r>=this.DB)r-=this.DB}if(i==8&&(e[0]&128)!=0){this.s=-1;if(r>0)this[this.t-1]|=(1<<this.DB-r)-1<<r}this.clamp();if(a)BigInteger.ZERO.subTo(this,this)}function bnpClamp(){var e=this.s&this.DM;while(this.t>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<<t)-1,n,a=false,r="",s=this.t;var o=this.DB-s*this.DB%t;if(s-- >0){if(o<this.DB&&(n=this[s]>>o)>0){a=true;r=int2char(n)}while(s>=0){if(o<t){n=(this[s]&(1<<o)-1)<<t-o;n|=this[--s]>>(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<this.t;++i)t[i-e]=this[i];t.t=Math.max(this.t-e,0);t.s=this.s}function bnpLShiftTo(e,t){var i=e%this.DB;var n=this.DB-i;var a=(1<<n)-1;var r=Math.floor(e/this.DB),s=this.s<<i&this.DM,o;for(o=this.t-1;o>=0;--o){t[o+r+1]=this[o]>>n|s;s=(this[o]&a)<<i}for(o=r-1;o>=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)-1;t[0]=this[i]>>n;for(var s=i+1;s<this.t;++s){t[s-i-1]|=(this[s]&r)<<a;t[s-i]=this[s]>>n}if(n>0)t[this.t-i-1]|=(this.s&r)<<a;t.t=this.t-i;t.clamp()}function bnpSubTo(e,t){var i=0,n=0,a=Math.min(e.t,this.t);while(i<a){n+=this[i]-e[i];t[i++]=n&this.DM;n>>=this.DB}if(e.t<this.t){n-=e.s;while(i<this.t){n+=this[i];t[i++]=n&this.DM;n>>=this.DB}n+=this.s}else{n+=this.s;while(i<e.t){n-=e[i];t[i++]=n&this.DM;n>>=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<n.t;++a)t[a+i.t]=i.am(0,n[a],t,a,0,i.t);t.s=0;t.clamp();if(this.s!=e.s)BigInteger.ZERO.subTo(t,t)}function bnpSquareTo(e){var t=this.abs();var i=e.t=2*t.t;while(--i>=0)e[i]=0;for(i=0;i<t.t-1;++i){var n=t.am(i,t[i],e,2*i,0,1);if((e[i+t.t]+=t.am(i+1,2*t[i],e,2*i+1,n,t.t-i-1))>=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.t<n.t){if(t!=null)t.fromInt(0);if(i!=null)this.copyTo(i);return}if(i==null)i=nbi();var r=nbi(),s=this.s,o=e.s;var u=this.DB-nbits(n[n.t-1]);if(u>0){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<<this.F1)+(l>1?r[l-2]>>this.F2:0);var p=this.FV/d,f=(1<<this.F1)/d,h=1<<this.F2;var m=i.t,b=m-l,g=t==null?nbi():t;r.dlShiftTo(b,g);if(i.compareTo(g)>=0){i[i.t++]=1;i.subTo(g,i)}BigInteger.ONE.dlShiftTo(l,g);g.subTo(r,r);while(r.t<l)r[r.t++]=0;while(--b>=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))<y){r.dlShiftTo(b,g);i.subTo(g,i);while(i[m]<--y)i.subTo(g,i)}}if(t!=null){i.drShiftTo(l,t);if(s!=o)BigInteger.ZERO.subTo(t,t)}i.t=l;i.clamp();if(u>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<<e.DB-15)-1;this.mt2=2*e.t}function montConvert(e){var t=nbi();e.abs().dlShiftTo(this.m.t,t);t.divRemTo(this.m,null,t);if(e.s<0&&t.compareTo(BigInteger.ZERO)>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<this.m.t;++t){var i=e[t]&32767;var n=i*this.mpl+((i*this.mph+(e[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<<r)>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)<<this.DB|this[0]}function bnByteValue(){return this.t==0?this.s:this[0]<<24>>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<e.length;++o){var u=intAt(e,o);if(u<0){if(e.charAt(o)=="-"&&this.signum()==0)a=true;continue}s=t*s+u;if(++r>=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<<a)-1;else n[0]=0;this.fromString(n,256)}}function bnToByteArray(){var e=this.t,t=new Array;t[0]=this.s;var i=this.DB-e*this.DB%8,n,a=0;if(e-- >0){if(i<this.DB&&(n=this[e]>>i)!=(this.s&this.DM)>>i)t[a++]=n|this.s<<this.DB-i;while(e>=0){if(i<8){n=(this[e]&(1<<i)-1)<<8-i;n|=this[--e]>>(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<r;++n)i[n]=t(this[n],e[n]);if(e.t<this.t){a=e.s&this.DM;for(n=r;n<this.t;++n)i[n]=t(this[n],a);i.t=this.t}else{a=this.s&this.DM;for(n=r;n<e.t;++n)i[n]=t(a,e[n]);i.t=e.t}i.s=t(this.s,e.s);i.clamp()}function op_and(e,t){return e&t}function bnAnd(e){var t=nbi();this.bitwiseTo(e,op_and,t);return t}function op_or(e,t){return e|t}function bnOr(e){var t=nbi();this.bitwiseTo(e,op_or,t);return t}function op_xor(e,t){return e^t}function bnXor(e){var t=nbi();this.bitwiseTo(e,op_xor,t);return t}function op_andnot(e,t){return e&~t}function bnAndNot(e){var t=nbi();this.bitwiseTo(e,op_andnot,t);return t}function bnNot(){var e=nbi();for(var t=0;t<this.t;++t)e[t]=this.DM&~this[t];e.t=this.t;e.s=~this.s;return e}function bnShiftLeft(e){var t=nbi();if(e<0)this.rShiftTo(-e,t);else this.lShiftTo(e,t);return t}function bnShiftRight(e){var t=nbi();if(e<0)this.lShiftTo(-e,t);else this.rShiftTo(e,t);return t}function lbit(e){if(e==0)return-1;var t=0;if((e&65535)==0){e>>=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;++e)if(this[e]!=0)return e*this.DB+lbit(this[e]);if(this.s<0)return this.t*this.DB;return-1}function cbit(e){var t=0;while(e!=0){e&=e-1;++t}return t}function bnBitCount(){var e=0,t=this.s&this.DM;for(var i=0;i<this.t;++i)e+=cbit(this[i]^t);return e}function bnTestBit(e){var t=Math.floor(e/this.DB);if(t>=this.t)return this.s!=0;return(this[t]&1<<e%this.DB)!=0}function bnpChangeBit(e,t){var i=BigInteger.ONE.shiftLeft(e);this.bitwiseTo(i,t,i);return i}function bnSetBit(e){return this.changeBit(e,op_or)}function bnClearBit(e){return this.changeBit(e,op_andnot)}function bnFlipBit(e){return this.changeBit(e,op_xor)}function bnpAddTo(e,t){var i=0,n=0,a=Math.min(e.t,this.t);while(i<a){n+=this[i]+e[i];t[i++]=n&this.DM;n>>=this.DB}if(e.t<this.t){n+=e.s;while(i<this.t){n+=this[i];t[i++]=n&this.DM;n>>=this.DB}n+=this.s}else{n+=this.s;while(i<e.t){n+=e[i];t[i++]=n&this.DM;n>>=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<a;++n)i[n+this.t]=this.am(0,e[n],i,n,0,this.t);for(a=Math.min(e.t,t);n<a;++n)this.am(0,e[n],i,n,0,t-n);i.clamp()}function bnpMultiplyUpperTo(e,t,i){--t;var n=i.t=this.t+e.t-t;i.s=0;while(--n>=0)i[n]=0;for(n=Math.max(t-this.t,0);n<e.t;++n)i[this.t+n-t]=this.am(t-n,e[n],i,0,0,this.t+n-t);i.clamp();i.drShiftTo(1,i)}function Barrett(e){this.r2=nbi();this.q3=nbi();BigInteger.ONE.dlShiftTo(2*e.t,this.r2);this.mu=this.r2.divide(e);this.m=e}function barrettConvert(e){if(e.s<0||e.t>2*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<<n)-1;s[1]=r.convert(this);if(n>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<<i+1)-1)<<u-i;if(d>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<<i)==0){r.sqrTo(a,h);m=a;a=h;h=m;if(--i<0){i=this.DB-1;--d}}}return r.revert(a)}function bnGCD(e){var t=this.s<0?this.negate():this.clone();var i=e.s<0?e.negate():e.clone();if(t.compareTo(i)<0){var n=t;t=i;i=n}var a=t.getLowestSetBit(),r=i.getLowestSetBit();if(r<0)return t;if(a<r)r=a;if(r>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<d.length;++t)if(i[0]==d[t])return true;return false}if(i.isEven())return false;t=1;while(t<d.length){var n=d[t],a=t+1;while(a<d.length&&n<p)n*=d[a++];n=i.modInt(n);while(t<a)if(n%d[t++]==0)return false}return i.millerRabin(e)}function bnpMillerRabin(e){var t=this.subtract(BigInteger.ONE);var i=t.getLowestSetBit();if(i<=0)return false;var n=t.shiftRight(i);e=e+1>>1;if(e>d.length)e=d.length;var a=nbi();for(var r=0;r<e;++r){a.fromInt(d[Math.floor(Math.random()*d.length)]);var s=a.modPow(n,this);if(s.compareTo(BigInteger.ONE)!=0&&s.compareTo(t)!=0){var o=1;while(o++<i&&s.compareTo(t)!=0){s=s.modPowInt(2,this);if(s.compareTo(BigInteger.ONE)==0)return false}if(s.compareTo(t)!=0)return false}}return true}BigInteger.prototype.chunkSize=bnpChunkSize;BigInteger.prototype.toRadix=bnpToRadix;BigInteger.prototype.fromRadix=bnpFromRadix;BigInteger.prototype.fromNumber=bnpFromNumber;BigInteger.prototype.bitwiseTo=bnpBitwiseTo;BigInteger.prototype.changeBit=bnpChangeBit;BigInteger.prototype.addTo=bnpAddTo;BigInteger.prototype.dMultiply=bnpDMultiply;BigInteger.prototype.dAddOffset=bnpDAddOffset;BigInteger.prototype.multiplyLowerTo=bnpMultiplyLowerTo;BigInteger.prototype.multiplyUpperTo=bnpMultiplyUpperTo;BigInteger.prototype.modInt=bnpModInt;BigInteger.prototype.millerRabin=bnpMillerRabin;BigInteger.prototype.clone=bnClone;BigInteger.prototype.intValue=bnIntValue;BigInteger.prototype.byteValue=bnByteValue;BigInteger.prototype.shortValue=bnShortValue;BigInteger.prototype.signum=bnSigNum;BigInteger.prototype.toByteArray=bnToByteArray;BigInteger.prototype.equals=bnEquals;BigInteger.prototype.min=bnMin;BigInteger.prototype.max=bnMax;BigInteger.prototype.and=bnAnd;BigInteger.prototype.or=bnOr;BigInteger.prototype.xor=bnXor;BigInteger.prototype.andNot=bnAndNot;BigInteger.prototype.not=bnNot;BigInteger.prototype.shiftLeft=bnShiftLeft;BigInteger.prototype.shiftRight=bnShiftRight;BigInteger.prototype.getLowestSetBit=bnGetLowestSetBit;BigInteger.prototype.bitCount=bnBitCount;BigInteger.prototype.testBit=bnTestBit;BigInteger.prototype.setBit=bnSetBit;BigInteger.prototype.clearBit=bnClearBit;BigInteger.prototype.flipBit=bnFlipBit;BigInteger.prototype.add=bnAdd;BigInteger.prototype.subtract=bnSubtract;BigInteger.prototype.multiply=bnMultiply;BigInteger.prototype.divide=bnDivide;BigInteger.prototype.remainder=bnRemainder;BigInteger.prototype.divideAndRemainder=bnDivideAndRemainder;BigInteger.prototype.modPow=bnModPow;BigInteger.prototype.modInverse=bnModInverse;BigInteger.prototype.pow=bnPow;BigInteger.prototype.gcd=bnGCD;BigInteger.prototype.isProbablePrime=bnIsProbablePrime;BigInteger.prototype.square=bnSquare;BigInteger.prototype.Barrett=Barrett;var f;var h;var m;function rng_seed_int(e){h[m++]^=e&255;h[m++]^=e>>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<y.length;++b)h[m++]=y.charCodeAt(b)&255}}while(m<S){b=Math.floor(65536*Math.random());h[m++]=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<h.length;++m)h[m]=0;m=0}return f.next()}function rng_get_bytes(e){var t;for(t=0;t<e.length;++t)e[t]=rng_get_byte()}function SecureRandom(){}SecureRandom.prototype.nextBytes=rng_get_bytes;function Arcfour(){this.i=0;this.j=0;this.S=new Array}function ARC4init(e){var t,i,n;for(t=0;t<256;++t)this.S[t]=t;i=0;for(t=0;t<256;++t){i=i+this.S[t]+e[t%e.length]&255;n=this.S[t];this.S[t]=this.S[i];this.S[i]=n}this.i=0;this.j=0}function ARC4next(){var e;this.i=this.i+1&255;this.j=this.j+this.S[this.i]&255;e=this.S[this.i];this.S[this.i]=this.S[this.j];this.S[this.j]=e;return this.S[e+this.S[this.i]&255]}Arcfour.prototype.init=ARC4init;Arcfour.prototype.next=ARC4next;function prng_newstate(){return new Arcfour}var S=256;BigInteger.SecureRandom=SecureRandom;BigInteger.BigInteger=BigInteger;if(true){t=e.exports=BigInteger}else{}}).call(this)},function(e,t,i){"use strict";var n=i(631),a=i(818),r=i(363),s=i(211),o=i(614),u=i(357),l=i(669),c=i(582).Buffer;t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=r.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=r.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=s.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=s.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function TunnelingAgent(e){var t=this;t.options=e||{};t.proxyOptions=t.options.proxy||{};t.maxSockets=t.options.maxSockets||r.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",function onFree(e,i,n){for(var a=0,r=t.requests.length;a<r;++a){var s=t.requests[a];if(s.host===i&&s.port===n){t.requests.splice(a,1);s.request.onSocket(e);return}}e.destroy();t.removeSocket(e)})}l.inherits(TunnelingAgent,o.EventEmitter);TunnelingAgent.prototype.addRequest=function addRequest(e,t){var i=this;if(typeof t==="string"){t={host:t,port:arguments[2],path:arguments[3]}}if(i.sockets.length>=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;t<i;++t){var n=arguments[t];if(typeof n==="object"){var a=Object.keys(n);for(var r=0,s=a.length;r<s;++r){var o=a[r];if(n[o]!==undefined){e[o]=n[o]}}}}return e}var d;if(process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)){d=function(){var e=Array.prototype.slice.call(arguments);if(typeof e[0]==="string"){e[0]="TUNNEL: "+e[0]}else{e.unshift("TUNNEL:")}console.error.apply(console,e)}}else{d=function(){}}t.debug=d},function(e){const t=/^\d+$/;function hasScheme(e){if(e.includes("://"))return true;const i=e.replace(/(\/|\?)/g,"#").split("#")[0];if(i.includes(":")){const e=i.indexOf(":");const n=i.slice(e+1);if(!t.test(n)){return true}}return false}function acctSchemeAssumed(e){if(!e.includes("@"))return false;const t=e.split("@");const i=t[t.length-1];return!(i.includes(":")||i.includes("/")||i.includes("?"))}function normalize(e){if(typeof e!=="string"){throw new TypeError("input must be a string")}let t;if(hasScheme(e)){t=e}else if(acctSchemeAssumed(e)){t=`acct:${e}`}else{t=`https://${e}`}return t.split("#")[0]}e.exports=normalize},function(e,t,i){e.exports=globSync;globSync.GlobSync=GlobSync;var n=i(747);var a=i(302);var r=i(595);var s=r.Minimatch;var o=i(402).Glob;var u=i(669);var l=i(622);var c=i(357);var d=i(681);var p=i(856);var f=p.alphasort;var h=p.alphasorti;var m=p.setopts;var b=p.ownProp;var g=p.childrenIgnored;var y=p.isIgnored;function globSync(e,t){if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(e,t).found}function GlobSync(e,t){if(!e)throw new Error("must provide pattern");if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(e,t);m(this,e,t);if(this.noprocess)return this;var i=this.minimatch.set.length;this.matches=new Array(i);for(var n=0;n<i;n++){this._process(this.minimatch.set[n],n,false)}this._finish()}GlobSync.prototype._finish=function(){c(this instanceof GlobSync);if(this.realpath){var e=this;this.matches.forEach(function(t,i){var n=e.matches[i]=Object.create(null);for(var r in t){try{r=e._makeAbs(r);var s=a.realpathSync(r,e.realpathCache);n[s]=true}catch(t){if(t.syscall==="stat")n[e._makeAbs(r)]=true;else throw t}}})}p.finish(this)};GlobSync.prototype._process=function(e,t,i){c(this instanceof GlobSync);var n=0;while(typeof e[n]==="string"){n++}var a;switch(n){case e.length:this._processSimple(e.join("/"),t);return;case 0:a=null;break;default:a=e.slice(0,n).join("/");break}var s=e.slice(n);var o;if(a===null)o=".";else if(d(a)||d(e.join("/"))){if(!a||!d(a))a="/"+a;o=a}else o=a;var u=this._makeAbs(o);if(g(this,o))return;var l=s[0]===r.GLOBSTAR;if(l)this._processGlobStar(a,o,u,s,t,i);else this._processReaddir(a,o,u,s,t,i)};GlobSync.prototype._processReaddir=function(e,t,i,n,a,r){var s=this._readdir(i,r);if(!s)return;var o=n[0];var u=!!this.minimatch.negate;var c=o._glob;var d=this.dot||c.charAt(0)===".";var p=[];for(var f=0;f<s.length;f++){var h=s[f];if(h.charAt(0)!=="."||d){var m;if(u&&!e){m=!h.match(o)}else{m=h.match(o)}if(m)p.push(h)}}var b=p.length;if(b===0)return;if(n.length===1&&!this.mark&&!this.stat){if(!this.matches[a])this.matches[a]=Object.create(null);for(var f=0;f<b;f++){var h=p[f];if(e){if(e.slice(-1)!=="/")h=e+"/"+h;else h=e+h}if(h.charAt(0)==="/"&&!this.nomount){h=l.join(this.root,h)}this._emitMatch(a,h)}return}n.shift();for(var f=0;f<b;f++){var h=p[f];var g;if(e)g=[e,h];else g=[h];this._process(g.concat(n),a,r)}};GlobSync.prototype._emitMatch=function(e,t){if(y(this,t))return;var i=this._makeAbs(t);if(this.mark)t=this._mark(t);if(this.absolute){t=i}if(this.matches[e][t])return;if(this.nodir){var n=this.cache[i];if(n==="DIR"||Array.isArray(n))return}this.matches[e][t]=true;if(this.stat)this._stat(t)};GlobSync.prototype._readdirInGlobStar=function(e){if(this.follow)return this._readdir(e,false);var t;var i;var a;try{i=n.lstatSync(e)}catch(e){if(e.code==="ENOENT"){return null}}var r=i&&i.isSymbolicLink();this.symlinks[e]=r;if(!r&&i&&!i.isDirectory())this.cache[e]="FILE";else t=this._readdir(e,false);return t};GlobSync.prototype._readdir=function(e,t){var i;if(t&&!b(this.symlinks,e))return this._readdirInGlobStar(e);if(b(this.cache,e)){var a=this.cache[e];if(!a||a==="FILE")return null;if(Array.isArray(a))return a}try{return this._readdirEntries(e,n.readdirSync(e))}catch(t){this._readdirError(e,t);return null}};GlobSync.prototype._readdirEntries=function(e,t){if(!this.mark&&!this.stat){for(var i=0;i<t.length;i++){var n=t[i];if(e==="/")n=e+n;else n=e+"/"+n;this.cache[n]=true}}this.cache[e]=t;return t};GlobSync.prototype._readdirError=function(e,t){switch(t.code){case"ENOTSUP":case"ENOTDIR":var i=this._makeAbs(e);this.cache[i]="FILE";if(i===this.cwdAbs){var n=new Error(t.code+" invalid cwd "+this.cwd);n.path=this.cwd;n.code=t.code;throw n}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=false;break;default:this.cache[this._makeAbs(e)]=false;if(this.strict)throw t;if(!this.silent)console.error("glob error",t);break}};GlobSync.prototype._processGlobStar=function(e,t,i,n,a,r){var s=this._readdir(i,r);if(!s)return;var o=n.slice(1);var u=e?[e]:[];var l=u.concat(o);this._process(l,a,false);var c=s.length;var d=this.symlinks[i];if(d&&r)return;for(var p=0;p<c;p++){var f=s[p];if(f.charAt(0)==="."&&!this.dot)continue;var h=u.concat(s[p],o);this._process(h,a,true);var m=u.concat(s[p],n);this._process(m,a,true)}};GlobSync.prototype._processSimple=function(e,t){var i=this._stat(e);if(!this.matches[t])this.matches[t]=Object.create(null);if(!i)return;if(e&&d(e)&&!this.nomount){var n=/[\/\\]$/.test(e);if(e.charAt(0)==="/"){e=l.join(this.root,e)}else{e=l.resolve(this.root,e);if(n)e+="/"}}if(process.platform==="win32")e=e.replace(/\\/g,"/");this._emitMatch(t,e)};GlobSync.prototype._stat=function(e){var t=this._makeAbs(e);var i=e.slice(-1)==="/";if(e.length>this.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<z){w=S[v+=1];f.schema=w;f.schemaPath=o+"["+v+"]";f.errSchemaPath=u+"/"+v;n+=" "+e.validate(f)+" ";f.baseId=g;n+=" "+d+" = "+d+" || "+m+"; if (!"+d+") { ";h+="}"}}e.compositeRule=f.compositeRule=y;n+=" "+h+" if (!"+d+") { var err = ";if(e.createErrors!==false){n+=" { keyword: '"+"anyOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){n+=" , message: 'should match some schema in anyOf' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(vErrors); "}else{n+=" validate.errors = vErrors; return false; "}}n+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ";if(e.opts.allErrors){n+=" } "}}else{if(l){n+=" if (true) { "}}return n}},function(e){function Caseless(e){this.dict=e||{}}Caseless.prototype.set=function(e,t,i){if(typeof e==="object"){for(var n in e){this.set(n,e[n],t)}}else{if(typeof i==="undefined")i=true;var a=this.has(e);if(!i&&a)this.dict[a]=this.dict[a]+","+t;else this.dict[a||e]=t;return a}};Caseless.prototype.has=function(e){var t=Object.keys(this.dict),e=e.toLowerCase();for(var i=0;i<t.length;i++){if(t[i].toLowerCase()===e)return t[i]}return false};Caseless.prototype.get=function(e){e=e.toLowerCase();var t,i;var n=this.dict;Object.keys(n).forEach(function(a){i=a.toLowerCase();if(e===i)t=n[a]});return t};Caseless.prototype.swap=function(e){var t=this.has(e);if(t===e)return;if(!t)throw new Error('There is no header than matches "'+e+'"');this.dict[e]=this.dict[t];delete this.dict[t]};Caseless.prototype.del=function(e){var t=this.has(e);return delete this.dict[t||e]};e.exports=function(e){return new Caseless(e)};e.exports.httpify=function(e,t){var i=new Caseless(t);e.setHeader=function(e,t,n){if(typeof t==="undefined")return;return i.set(e,t,n)};e.hasHeader=function(e){return i.has(e)};e.getHeader=function(e){return i.get(e)};e.removeHeader=function(e){return i.del(e)};e.headers=i.dict;return i}},function(e,t,i){const{name:n}=i(997);const a={"1 2 840 10045 3 1 7":"P-256","1 3 132 0 10":n,"1 3 132 0 34":"P-384","1 3 132 0 35":"P-521","1 2 840 10045 2 1":"ecPublicKey","1 2 840 113549 1 1 1":"rsaEncryption","1 3 101 110":"X25519","1 3 101 111":"X448","1 3 101 112":"Ed25519","1 3 101 113":"Ed448"};e.exports=a},,function(e){e.exports={$id:"pageTimings.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",properties:{onContentLoad:{type:"number",min:-1},onLoad:{type:"number",min:-1},comment:{type:"string"}}}},,function(e,t,i){const n=i(124);const a=(e,t,i)=>{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<n.length;e+=64){r.push(n.slice(e,e+64))}r.push(`-----END ${t.label}-----`);return r.join("\n")};e.exports=PEMEncoder},function(e){"use strict";e.exports=function generate_ref(e,t,i){var n=" ";var a=e.level;var r=e.dataLevel;var s=e.schema[t];var o=e.errSchemaPath+"/"+t;var u=!e.opts.allErrors;var l="data"+(r||"");var c="valid"+a;var d,p;if(s=="#"||s=="#/"){if(e.isRoot){d=e.async;p="validate"}else{d=e.root.schema.$async===true;p="root.refVal[0]"}}else{var f=e.resolveRef(e.baseId,s,e.isRoot);if(f===undefined){var h=e.MissingRefError.message(e.baseId,s);if(e.opts.missingRefs=="fail"){e.logger.error(h);var m=m||[];m.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"$ref"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { ref: '"+e.util.escapeQuotes(s)+"' } ";if(e.opts.messages!==false){n+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(s)+"' "}if(e.opts.verbose){n+=" , schema: "+e.util.toQuotedString(s)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var b=n;n=m.pop();if(!e.compositeRule&&u){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++; "}if(u){n+=" if (false) { "}}else if(e.opts.missingRefs=="ignore"){e.logger.warn(h);if(u){n+=" if (true) { "}}else{throw new e.MissingRefError(e.baseId,s,h)}}else if(f.inline){var g=e.util.copy(e);g.level++;var y="valid"+g.level;g.schema=f.schema;g.schemaPath="";g.errSchemaPath=s;var S=e.validate(g).replace(/validate\.schema/g,f.code);n+=" "+S+" ";if(u){n+=" if ("+y+") { "}}else{d=f.$async===true||e.async&&f.$async!==false;p=f.code}}if(p){var m=m||[];m.push(n);n="";if(e.opts.passContext){n+=" "+p+".call(this, "}else{n+=" "+p+"( "}n+=" "+l+", (dataPath || '')";if(e.errorPath!='""'){n+=" + "+e.errorPath}var w=r?"data"+(r-1||""):"parentData",v=r?e.dataPathArr[r]:"parentDataProperty";n+=" , "+w+" , "+v+", rootData) ";var z=n;n=m.pop();if(d){if(!e.async)throw new Error("async schema referenced by sync schema");if(u){n+=" var "+c+"; "}n+=" try { await "+z+"; ";if(u){n+=" "+c+" = true; "}n+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ";if(u){n+=" "+c+" = false; "}n+=" } ";if(u){n+=" if ("+c+") { "}}else{n+=" if (!"+z+") { if (vErrors === null) vErrors = "+p+".errors; else vErrors = vErrors.concat("+p+".errors); errors = vErrors.length; } ";if(u){n+=" else { "}}}return n}},function(e,t,i){"use strict";var n=i(567);var a=Object.prototype.hasOwnProperty;var r={allowDots:false,allowPrototypes:false,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:false,strictNullHandling:false};var s=function parseQueryStringValues(e,t){var i={};var n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;var s=t.parameterLimit===Infinity?undefined:t.parameterLimit;var o=n.split(t.delimiter,s);for(var u=0;u<o.length;++u){var l=o[u];var c=l.indexOf("]=");var d=c===-1?l.indexOf("="):c+1;var p,f;if(d===-1){p=t.decoder(l,r.decoder);f=t.strictNullHandling?null:""}else{p=t.decoder(l.slice(0,d),r.decoder);f=t.decoder(l.slice(d+1),r.decoder)}if(a.call(i,p)){i[p]=[].concat(i[p]).concat(f)}else{i[p]=f}}return i};var o=function(e,t,i){var n=t;for(var a=e.length-1;a>=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&&d<i.depth){d+=1;if(!i.plainObjects&&a.call(Object.prototype,u[1].slice(1,-1))){if(!i.allowPrototypes){return}}c.push(u[1])}if(u){c.push("["+n.slice(u.index)+"]")}return o(c,t,i)};e.exports=function(e,t){var i=t?n.assign({},t):{};if(i.decoder!==null&&i.decoder!==undefined&&typeof i.decoder!=="function"){throw new TypeError("Decoder has to be a function.")}i.ignoreQueryPrefix=i.ignoreQueryPrefix===true;i.delimiter=typeof i.delimiter==="string"||n.isRegExp(i.delimiter)?i.delimiter:r.delimiter;i.depth=typeof i.depth==="number"?i.depth:r.depth;i.arrayLimit=typeof i.arrayLimit==="number"?i.arrayLimit:r.arrayLimit;i.parseArrays=i.parseArrays!==false;i.decoder=typeof i.decoder==="function"?i.decoder:r.decoder;i.allowDots=typeof i.allowDots==="boolean"?i.allowDots:r.allowDots;i.plainObjects=typeof i.plainObjects==="boolean"?i.plainObjects:r.plainObjects;i.allowPrototypes=typeof i.allowPrototypes==="boolean"?i.allowPrototypes:r.allowPrototypes;i.parameterLimit=typeof i.parameterLimit==="number"?i.parameterLimit:r.parameterLimit;i.strictNullHandling=typeof i.strictNullHandling==="boolean"?i.strictNullHandling:r.strictNullHandling;if(e===""||e===null||typeof e==="undefined"){return i.plainObjects?Object.create(null):{}}var a=typeof e==="string"?s(e,i):e;var o=i.plainObjects?Object.create(null):{};var l=Object.keys(a);for(var c=0;c<l.length;++c){var d=l[c];var p=u(d,a[d],i);o=n.merge(o,p,i)}return n.compact(o)}},function(e,t,i){e.exports={read:read,write:write};var n=i(872);var a=i(325);var r=i(373);var s=i(215).Buffer;var o=i(98);var u=i(270);var l=i(852);var c=i(502);var d=i(449);var p=i(707);var f=i(78);var h=i(538);var m=i(753);var b="1.2.840.113549.1.5.13";var g="1.2.840.113549.1.5.12";var y={"1.2.840.113549.3.7":"3des-cbc","2.16.840.1.101.3.4.1.2":"aes128-cbc","2.16.840.1.101.3.4.1.42":"aes256-cbc"};var S={};Object.keys(y).forEach(function(e){S[y[e]]=e});var w={"1.2.840.113549.2.7":"sha1","1.2.840.113549.2.9":"sha256","1.2.840.113549.2.11":"sha512"};var v={};Object.keys(w).forEach(function(e){v[w[e]]=e});function read(e,t,i){var o=e;if(typeof e!=="string"){n.buffer(e,"buf");e=e.toString("ascii")}var l=e.trim().split(/[\r\n]+/g);var c;var S=-1;while(!c&&S<l.length){c=l[++S].match(/[-]+[ ]*BEGIN ([A-Z0-9][A-Za-z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/)}n.ok(c,"invalid PEM header");var v;var z=l.length;while(!v&&z>0){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.offset<V){A.readSequence();var q=A.readOID();_=w[q];if(_===undefined){throw new Error("Unsupported PBKDF2 hash: "+q)}}A._offset=V;A.readSequence();var B=A.readOID();C=y[B];if(C===undefined){throw new Error("Unsupported PBES2 cipher: "+B)}R=A.readString(a.Ber.OctetString,true);A._offset=x;e=A.readString(a.Ber.OctetString,true);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")}var M=u.opensshCipherInfo(C);C=M.opensslName;T=u.pbkdf2(_,D,I,M.keySize,t.passphrase);O=undefined}if(C&&T&&R){var U=r.createDecipheriv(C,T,R);var L,H=[];U.once("error",function(e){if(e.toString().indexOf("bad decrypt")!==-1){throw new Error("Incorrect passphrase "+"supplied, could not decrypt key")}throw e});U.write(e);U.end();while((L=U.read())!==null)H.push(L);e=s.concat(H)}if(O&&O.toLowerCase()==="openssh")return f.readSSHPrivate(j,e,t);if(O&&O.toLowerCase()==="ssh2")return h.readType(j,e,t);var Q=new a.BerReader(e);Q.originalInput=o;Q.readSequence();if(O){if(i)n.strictEqual(i,"pkcs1");return d.readPkcs1(O,j,Q)}else{if(i)n.strictEqual(i,"pkcs8");return p.readPkcs8(O,j,Q)}}function write(e,t,i){n.object(e);var r={ecdsa:"EC",rsa:"RSA",dsa:"DSA",ed25519:"EdDSA"}[e.type];var o;var u=new a.BerWriter;if(c.isPrivateKey(e)){if(i&&i==="pkcs8"){o="PRIVATE KEY";p.writePkcs8(u,e)}else{if(i)n.strictEqual(i,"pkcs1");o=r+" PRIVATE KEY";d.writePkcs1(u,e)}}else if(l.isKey(e)){if(i&&i==="pkcs1"){o=r+" PUBLIC KEY";d.writePkcs1(u,e)}else{if(i)n.strictEqual(i,"pkcs8");o="PUBLIC KEY";p.writePkcs8(u,e)}}else{throw new Error("key is not a Key or PrivateKey")}var f=u.buffer.toString("base64");var h=f.length+f.length/64+18+16+o.length*2+10;var m=s.alloc(h);var b=0;b+=m.write("-----BEGIN "+o+"-----\n",b);for(var g=0;g<f.length;){var y=g+64;if(y>f.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])return false;return true}function assertCompatible(e,t,i,a){if(a===undefined)a="object";n.ok(e,a+" must not be null");n.object(e,a+" must be an object");if(i===undefined)i=t.prototype._sshpkApiVersion;if(e instanceof t&&t.prototype._sshpkApiVersion[0]==i[0])return;var r=Object.getPrototypeOf(e);var s=0;while(r.constructor.name!==t.name){r=Object.getPrototypeOf(r);n.ok(r&&++s<=f,a+" must be a "+t.name+" instance")}n.strictEqual(r.constructor.name,t.name,a+" must be a "+t.name+" instance");var o=r._sshpkApiVersion;if(o===undefined)o=t._oldVersionDetect(e);n.ok(o[0]==i[0]&&o[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<s.key+s.iv){c=[];if(l)c.push(l);c.push(i);c.push(t);u=a.concat(c);for(var p=0;p<r;++p)u=o.createHash("md5").update(u).digest();d=a.concat([d,u]);l=u}return{key:d.slice(0,s.key),iv:d.slice(s.key,s.key+s.iv)}}function pbkdf2(e,t,i,n,r){var s=a.alloc(t.length+4);t.copy(s);var u=0,l=[];var c=1;while(u<n){var d=T(c++);u+=d.length;l.push(d)}return a.concat(l).slice(0,n);function T(t){s.writeUInt32BE(t,s.length-4);var n=o.createHmac(e,r);n.update(s);var a=n.digest();var u=a;var l=1;while(l++<i){n=o.createHmac(e,r);n.update(u);u=n.digest();for(var c=0;c<a.length;++c)a[c]^=u[c]}return a}}function countZeros(e){var t=0,i=8;while(t<e.length){var n=1<<i;if((e[t]&n)===n)break;i--;if(i<0){t++;i=8}}return t*8+(8-i)-1}function bufferSplit(e,t){n.buffer(e);n.string(t);var i=[];var a=0;var r=0;for(var s=0;s<e.length;++s){if(e[s]===t.charCodeAt(r))++r;else if(e[s]===t.charCodeAt(0))r=1;else r=0;if(r>=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<t){var i=a.alloc(e.length+1);i[0]=0;e.copy(i,1);e=i}return e}function bigintToMpBuf(e){var t=a.from(e.toByteArray());t=mpNormalize(t);return t}function calculateDSAPublic(e,t,i){n.buffer(e);n.buffer(t);n.buffer(i);e=new d(e);t=new d(t);i=new d(i);var a=e.modPow(i,t);var r=bigintToMpBuf(a);return r}function calculateED25519Public(e){n.buffer(e);var t=p.sign.keyPair.fromSeed(new Uint8Array(e));return a.from(t.publicKey)}function calculateX25519Public(e){n.buffer(e);var t=p.box.keyPair.fromSeed(new Uint8Array(e));return a.from(t.publicKey)}function addRSAMissing(e){n.object(e);assertCompatible(e,r,[1,1]);var t=new d(e.part.d.data);var i;if(!e.part.dmodp){var a=new d(e.part.p.data);var s=t.mod(a.subtract(1));i=bigintToMpBuf(s);e.part.dmodp={name:"dmodp",data:i};e.parts.push(e.part.dmodp)}if(!e.part.dmodq){var o=new d(e.part.q.data);var u=t.mod(o.subtract(1));i=bigintToMpBuf(u);e.part.dmodq={name:"dmodq",data:i};e.parts.push(e.part.dmodq)}}function publicFromPrivateECDSA(e,t){n.string(e,"curveName");n.buffer(t);var i=u.curves[e];var r=new d(i.p);var o=new d(i.a);var l=new d(i.b);var p=new c.ECCurveFp(r,o,l);var f=p.decodePointHex(i.G.toString("hex"));var h=new d(mpNormalize(t));var m=f.multiply(h);m=a.from(p.encodePointHex(m),"hex");var b=[];b.push({name:"curve",data:a.from(e)});b.push({name:"Q",data:m});var g=new s({type:"ecdsa",curve:p,parts:b});return g}function opensshCipherInfo(e){var t={};switch(e){case"3des-cbc":t.keySize=24;t.blockSize=8;t.opensslName="des-ede3-cbc";break;case"blowfish-cbc":t.keySize=16;t.blockSize=8;t.opensslName="bf-cbc";break;case"aes128-cbc":case"aes128-ctr":case"aes128-gcm@openssh.com":t.keySize=16;t.blockSize=16;t.opensslName="aes-128-"+e.slice(7,10);break;case"aes192-cbc":case"aes192-ctr":case"aes192-gcm@openssh.com":t.keySize=24;t.blockSize=16;t.opensslName="aes-192-"+e.slice(7,10);break;case"aes256-cbc":case"aes256-ctr":case"aes256-gcm@openssh.com":t.keySize=32;t.blockSize=16;t.opensslName="aes-256-"+e.slice(7,10);break;default:throw new Error('Unsupported openssl cipher "'+e+'"')}return t}},function(e){"use strict";const t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function push(e,t,i){if(e[t]===undefined)e[t]=[i];else e[t].push(i)}function parse(e){const i=Object.create(null);if(e===undefined||e==="")return i;let n=Object.create(null);let a=false;let r=false;let s=false;let o;let u;let l=-1;let c=-1;let d=0;for(;d<e.length;d++){const p=e.charCodeAt(d);if(o===undefined){if(c===-1&&t[p]===1){if(l===-1)l=d}else if(p===32||p===9){if(c===-1&&l!==-1)c=d}else if(p===59||p===44){if(l===-1){throw new SyntaxError(`Unexpected character at index ${d}`)}if(c===-1)c=d;const t=e.slice(l,c);if(p===44){push(i,t,n);n=Object.create(null)}else{o=t}l=c=-1}else{throw new SyntaxError(`Unexpected character at index ${d}`)}}else if(u===undefined){if(c===-1&&t[p]===1){if(l===-1)l=d}else if(p===32||p===9){if(c===-1&&l!==-1)c=d}else if(p===59||p===44){if(l===-1){throw new SyntaxError(`Unexpected character at index ${d}`)}if(c===-1)c=d;push(n,e.slice(l,c),true);if(p===44){push(i,o,n);n=Object.create(null);o=undefined}l=c=-1}else if(p===61&&l!==-1&&c===-1){u=e.slice(l,d);l=c=-1}else{throw new SyntaxError(`Unexpected character at index ${d}`)}}else{if(r){if(t[p]!==1){throw new SyntaxError(`Unexpected character at index ${d}`)}if(l===-1)l=d;else if(!a)a=true;r=false}else if(s){if(t[p]===1){if(l===-1)l=d}else if(p===34&&l!==-1){s=false;c=d}else if(p===92){r=true}else{throw new SyntaxError(`Unexpected character at index ${d}`)}}else if(p===34&&e.charCodeAt(d-1)===61){s=true}else if(c===-1&&t[p]===1){if(l===-1)l=d}else if(l!==-1&&(p===32||p===9)){if(c===-1)c=d}else if(p===59||p===44){if(l===-1){throw new SyntaxError(`Unexpected character at index ${d}`)}if(c===-1)c=d;let t=e.slice(l,c);if(a){t=t.replace(/\\/g,"");a=false}push(n,u,t);if(p===44){push(i,o,n);n=Object.create(null);o=undefined}u=undefined;l=c=-1}else{throw new SyntaxError(`Unexpected character at index ${d}`)}}}if(l===-1||s){throw new SyntaxError("Unexpected end of input")}if(c===-1)c=d;const p=e.slice(l,c);if(o===undefined){push(i,p,n)}else{if(u===undefined){push(n,p,true)}else if(a){push(n,u,p.replace(/\\/g,""))}else{push(n,u,p)}push(i,o,n)}return i}function format(e){return Object.keys(e).map(t=>{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<AppsV1beta1Deployment>"},{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<AppsV1beta1DeploymentCondition>"},{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<ExtensionsV1beta1Deployment>"},{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<ExtensionsV1beta1DeploymentCondition>"},{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<ExtensionsV1beta1IDRange>"},{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<ExtensionsV1beta1PodSecurityPolicy>"},{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<string>"},{name:"allowedFlexVolumes",baseName:"allowedFlexVolumes",type:"Array<ExtensionsV1beta1AllowedFlexVolume>"},{name:"allowedHostPaths",baseName:"allowedHostPaths",type:"Array<ExtensionsV1beta1AllowedHostPath>"},{name:"allowedProcMountTypes",baseName:"allowedProcMountTypes",type:"Array<string>"},{name:"allowedUnsafeSysctls",baseName:"allowedUnsafeSysctls",type:"Array<string>"},{name:"defaultAddCapabilities",baseName:"defaultAddCapabilities",type:"Array<string>"},{name:"defaultAllowPrivilegeEscalation",baseName:"defaultAllowPrivilegeEscalation",type:"boolean"},{name:"forbiddenSysctls",baseName:"forbiddenSysctls",type:"Array<string>"},{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<ExtensionsV1beta1HostPortRange>"},{name:"privileged",baseName:"privileged",type:"boolean"},{name:"readOnlyRootFilesystem",baseName:"readOnlyRootFilesystem",type:"boolean"},{name:"requiredDropCapabilities",baseName:"requiredDropCapabilities",type:"Array<string>"},{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<string>"}];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<ExtensionsV1beta1IDRange>"},{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<ExtensionsV1beta1IDRange>"},{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<ExtensionsV1beta1IDRange>"},{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<PolicyV1beta1IDRange>"},{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<PolicyV1beta1PodSecurityPolicy>"},{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<string>"},{name:"allowedFlexVolumes",baseName:"allowedFlexVolumes",type:"Array<PolicyV1beta1AllowedFlexVolume>"},{name:"allowedHostPaths",baseName:"allowedHostPaths",type:"Array<PolicyV1beta1AllowedHostPath>"},{name:"allowedProcMountTypes",baseName:"allowedProcMountTypes",type:"Array<string>"},{name:"allowedUnsafeSysctls",baseName:"allowedUnsafeSysctls",type:"Array<string>"},{name:"defaultAddCapabilities",baseName:"defaultAddCapabilities",type:"Array<string>"},{name:"defaultAllowPrivilegeEscalation",baseName:"defaultAllowPrivilegeEscalation",type:"boolean"},{name:"forbiddenSysctls",baseName:"forbiddenSysctls",type:"Array<string>"},{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<PolicyV1beta1HostPortRange>"},{name:"privileged",baseName:"privileged",type:"boolean"},{name:"readOnlyRootFilesystem",baseName:"readOnlyRootFilesystem",type:"boolean"},{name:"requiredDropCapabilities",baseName:"requiredDropCapabilities",type:"Array<string>"},{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<string>"}];t.PolicyV1beta1PodSecurityPolicySpec=PolicyV1beta1PodSecurityPolicySpec;class PolicyV1beta1RunAsGroupStrategyOptions{static getAttributeTypeMap(){return PolicyV1beta1RunAsGroupStrategyOptions.attributeTypeMap}}PolicyV1beta1RunAsGroupStrategyOptions.discriminator=undefined;PolicyV1beta1RunAsGroupStrategyOptions.attributeTypeMap=[{name:"ranges",baseName:"ranges",type:"Array<PolicyV1beta1IDRange>"},{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<PolicyV1beta1IDRange>"},{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<PolicyV1beta1IDRange>"},{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<V1ServerAddressByClientCIDR>"},{name:"versions",baseName:"versions",type:"Array<V1GroupVersionForDiscovery>"}];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<V1APIGroup>"},{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<string>"},{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<string>"},{name:"singularName",baseName:"singularName",type:"string"},{name:"verbs",baseName:"verbs",type:"Array<string>"},{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<V1APIResource>"}];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<V1APIService>"},{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<V1APIServiceCondition>"}];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<V1ServerAddressByClientCIDR>"},{name:"versions",baseName:"versions",type:"Array<string>"}];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<V1LabelSelector>"}];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<string>"},{name:"drop",baseName:"drop",type:"Array<string>"}];t.V1Capabilities=V1Capabilities;class V1CephFSPersistentVolumeSource{static getAttributeTypeMap(){return V1CephFSPersistentVolumeSource.attributeTypeMap}}V1CephFSPersistentVolumeSource.discriminator=undefined;V1CephFSPersistentVolumeSource.attributeTypeMap=[{name:"monitors",baseName:"monitors",type:"Array<string>"},{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<string>"},{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<V1PolicyRule>"}];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<V1Subject>"}];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<V1ClusterRoleBinding>"},{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<V1ClusterRole>"},{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<V1ComponentCondition>"},{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<V1ComponentStatus>"},{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<V1ConfigMap>"},{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<V1KeyToPath>"},{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<V1KeyToPath>"},{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<string>"},{name:"command",baseName:"command",type:"Array<string>"},{name:"env",baseName:"env",type:"Array<V1EnvVar>"},{name:"envFrom",baseName:"envFrom",type:"Array<V1EnvFromSource>"},{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<V1ContainerPort>"},{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<V1VolumeDevice>"},{name:"volumeMounts",baseName:"volumeMounts",type:"Array<V1VolumeMount>"},{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<string>"},{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<V1ControllerRevision>"},{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<V1DaemonSet>"},{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<V1DaemonSetCondition>"},{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<string>"},{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<V1Deployment>"},{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<V1DeploymentCondition>"},{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<V1DownwardAPIVolumeFile>"}];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<V1DownwardAPIVolumeFile>"}];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<V1EndpointAddress>"},{name:"notReadyAddresses",baseName:"notReadyAddresses",type:"Array<V1EndpointAddress>"},{name:"ports",baseName:"ports",type:"Array<V1EndpointPort>"}];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<V1EndpointSubset>"}];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<V1Endpoints>"},{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<V1Event>"},{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<string>"}];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<string>"},{name:"wwids",baseName:"wwids",type:"Array<string>"}];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<V1HTTPHeader>"},{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<V1HorizontalPodAutoscaler>"},{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<string>"},{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<string>"}];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<string>"},{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<string>"},{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<V1Initializer>"},{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<V1Job>"},{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<V1JobCondition>"},{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<V1LabelSelectorRequirement>"},{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<string>"}];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<V1LimitRange>"},{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<V1LimitRangeItem>"}];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<V1LoadBalancerIngress>"}];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<V1Namespace>"},{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<string>"}];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<V1NetworkPolicyPort>"},{name:"to",baseName:"to",type:"Array<V1NetworkPolicyPeer>"}];t.V1NetworkPolicyEgressRule=V1NetworkPolicyEgressRule;class V1NetworkPolicyIngressRule{static getAttributeTypeMap(){return V1NetworkPolicyIngressRule.attributeTypeMap}}V1NetworkPolicyIngressRule.discriminator=undefined;V1NetworkPolicyIngressRule.attributeTypeMap=[{name:"from",baseName:"from",type:"Array<V1NetworkPolicyPeer>"},{name:"ports",baseName:"ports",type:"Array<V1NetworkPolicyPort>"}];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<V1NetworkPolicy>"},{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<V1NetworkPolicyEgressRule>"},{name:"ingress",baseName:"ingress",type:"Array<V1NetworkPolicyIngressRule>"},{name:"podSelector",baseName:"podSelector",type:"V1LabelSelector"},{name:"policyTypes",baseName:"policyTypes",type:"Array<string>"}];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<V1PreferredSchedulingTerm>"},{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<V1Node>"},{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<V1NodeSelectorTerm>"}];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<string>"}];t.V1NodeSelectorRequirement=V1NodeSelectorRequirement;class V1NodeSelectorTerm{static getAttributeTypeMap(){return V1NodeSelectorTerm.attributeTypeMap}}V1NodeSelectorTerm.discriminator=undefined;V1NodeSelectorTerm.attributeTypeMap=[{name:"matchExpressions",baseName:"matchExpressions",type:"Array<V1NodeSelectorRequirement>"},{name:"matchFields",baseName:"matchFields",type:"Array<V1NodeSelectorRequirement>"}];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<V1Taint>"},{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<V1NodeAddress>"},{name:"allocatable",baseName:"allocatable",type:"{ [key: string]: string; }"},{name:"capacity",baseName:"capacity",type:"{ [key: string]: string; }"},{name:"conditions",baseName:"conditions",type:"Array<V1NodeCondition>"},{name:"config",baseName:"config",type:"V1NodeConfigStatus"},{name:"daemonEndpoints",baseName:"daemonEndpoints",type:"V1NodeDaemonEndpoints"},{name:"images",baseName:"images",type:"Array<V1ContainerImage>"},{name:"nodeInfo",baseName:"nodeInfo",type:"V1NodeSystemInfo"},{name:"phase",baseName:"phase",type:"string"},{name:"volumesAttached",baseName:"volumesAttached",type:"Array<V1AttachedVolume>"},{name:"volumesInUse",baseName:"volumesInUse",type:"Array<string>"}];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<string>"},{name:"verbs",baseName:"verbs",type:"Array<string>"}];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<string>"},{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<V1OwnerReference>"},{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<V1PersistentVolumeClaim>"},{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<string>"},{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<string>"},{name:"capacity",baseName:"capacity",type:"{ [key: string]: string; }"},{name:"conditions",baseName:"conditions",type:"Array<V1PersistentVolumeClaimCondition>"},{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<V1PersistentVolume>"},{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<string>"},{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<string>"},{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<V1WeightedPodAffinityTerm>"},{name:"requiredDuringSchedulingIgnoredDuringExecution",baseName:"requiredDuringSchedulingIgnoredDuringExecution",type:"Array<V1PodAffinityTerm>"}];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<string>"},{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<V1WeightedPodAffinityTerm>"},{name:"requiredDuringSchedulingIgnoredDuringExecution",baseName:"requiredDuringSchedulingIgnoredDuringExecution",type:"Array<V1PodAffinityTerm>"}];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<string>"},{name:"options",baseName:"options",type:"Array<V1PodDNSConfigOption>"},{name:"searches",baseName:"searches",type:"Array<string>"}];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<V1Pod>"},{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<number>"},{name:"sysctls",baseName:"sysctls",type:"Array<V1Sysctl>"}];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<V1Container>"},{name:"dnsConfig",baseName:"dnsConfig",type:"V1PodDNSConfig"},{name:"dnsPolicy",baseName:"dnsPolicy",type:"string"},{name:"enableServiceLinks",baseName:"enableServiceLinks",type:"boolean"},{name:"hostAliases",baseName:"hostAliases",type:"Array<V1HostAlias>"},{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<V1LocalObjectReference>"},{name:"initContainers",baseName:"initContainers",type:"Array<V1Container>"},{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<V1PodReadinessGate>"},{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<V1Toleration>"},{name:"volumes",baseName:"volumes",type:"Array<V1Volume>"}];t.V1PodSpec=V1PodSpec;class V1PodStatus{static getAttributeTypeMap(){return V1PodStatus.attributeTypeMap}}V1PodStatus.discriminator=undefined;V1PodStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array<V1PodCondition>"},{name:"containerStatuses",baseName:"containerStatuses",type:"Array<V1ContainerStatus>"},{name:"hostIP",baseName:"hostIP",type:"string"},{name:"initContainerStatuses",baseName:"initContainerStatuses",type:"Array<V1ContainerStatus>"},{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<V1PodTemplate>"},{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<string>"},{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array<string>"},{name:"resourceNames",baseName:"resourceNames",type:"Array<string>"},{name:"resources",baseName:"resources",type:"Array<string>"},{name:"verbs",baseName:"verbs",type:"Array<string>"}];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<V1VolumeProjection>"}];t.V1ProjectedVolumeSource=V1ProjectedVolumeSource;class V1QuobyteVolumeSource{static getAttributeTypeMap(){return V1QuobyteVolumeSource.attributeTypeMap}}V1QuobyteVolumeSource.discriminator=undefined;V1QuobyteVolumeSource.attributeTypeMap=[{name:"group",baseName:"group",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"registry",baseName:"registry",type:"string"},{name:"user",baseName:"user",type:"string"},{name:"volume",baseName:"volume",type:"string"}];t.V1QuobyteVolumeSource=V1QuobyteVolumeSource;class V1RBDPersistentVolumeSource{static getAttributeTypeMap(){return V1RBDPersistentVolumeSource.attributeTypeMap}}V1RBDPersistentVolumeSource.discriminator=undefined;V1RBDPersistentVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"image",baseName:"image",type:"string"},{name:"keyring",baseName:"keyring",type:"string"},{name:"monitors",baseName:"monitors",type:"Array<string>"},{name:"pool",baseName:"pool",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1SecretReference"},{name:"user",baseName:"user",type:"string"}];t.V1RBDPersistentVolumeSource=V1RBDPersistentVolumeSource;class V1RBDVolumeSource{static getAttributeTypeMap(){return V1RBDVolumeSource.attributeTypeMap}}V1RBDVolumeSource.discriminator=undefined;V1RBDVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"image",baseName:"image",type:"string"},{name:"keyring",baseName:"keyring",type:"string"},{name:"monitors",baseName:"monitors",type:"Array<string>"},{name:"pool",baseName:"pool",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"},{name:"user",baseName:"user",type:"string"}];t.V1RBDVolumeSource=V1RBDVolumeSource;class V1ReplicaSet{static getAttributeTypeMap(){return V1ReplicaSet.attributeTypeMap}}V1ReplicaSet.discriminator=undefined;V1ReplicaSet.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1ReplicaSetSpec"},{name:"status",baseName:"status",type:"V1ReplicaSetStatus"}];t.V1ReplicaSet=V1ReplicaSet;class V1ReplicaSetCondition{static getAttributeTypeMap(){return V1ReplicaSetCondition.attributeTypeMap}}V1ReplicaSetCondition.discriminator=undefined;V1ReplicaSetCondition.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.V1ReplicaSetCondition=V1ReplicaSetCondition;class V1ReplicaSetList{static getAttributeTypeMap(){return V1ReplicaSetList.attributeTypeMap}}V1ReplicaSetList.discriminator=undefined;V1ReplicaSetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1ReplicaSet>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1ReplicaSetList=V1ReplicaSetList;class V1ReplicaSetSpec{static getAttributeTypeMap(){return V1ReplicaSetSpec.attributeTypeMap}}V1ReplicaSetSpec.discriminator=undefined;V1ReplicaSetSpec.attributeTypeMap=[{name:"minReadySeconds",baseName:"minReadySeconds",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"}];t.V1ReplicaSetSpec=V1ReplicaSetSpec;class V1ReplicaSetStatus{static getAttributeTypeMap(){return V1ReplicaSetStatus.attributeTypeMap}}V1ReplicaSetStatus.discriminator=undefined;V1ReplicaSetStatus.attributeTypeMap=[{name:"availableReplicas",baseName:"availableReplicas",type:"number"},{name:"conditions",baseName:"conditions",type:"Array<V1ReplicaSetCondition>"},{name:"fullyLabeledReplicas",baseName:"fullyLabeledReplicas",type:"number"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"readyReplicas",baseName:"readyReplicas",type:"number"},{name:"replicas",baseName:"replicas",type:"number"}];t.V1ReplicaSetStatus=V1ReplicaSetStatus;class V1ReplicationController{static getAttributeTypeMap(){return V1ReplicationController.attributeTypeMap}}V1ReplicationController.discriminator=undefined;V1ReplicationController.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1ReplicationControllerSpec"},{name:"status",baseName:"status",type:"V1ReplicationControllerStatus"}];t.V1ReplicationController=V1ReplicationController;class V1ReplicationControllerCondition{static getAttributeTypeMap(){return V1ReplicationControllerCondition.attributeTypeMap}}V1ReplicationControllerCondition.discriminator=undefined;V1ReplicationControllerCondition.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.V1ReplicationControllerCondition=V1ReplicationControllerCondition;class V1ReplicationControllerList{static getAttributeTypeMap(){return V1ReplicationControllerList.attributeTypeMap}}V1ReplicationControllerList.discriminator=undefined;V1ReplicationControllerList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1ReplicationController>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1ReplicationControllerList=V1ReplicationControllerList;class V1ReplicationControllerSpec{static getAttributeTypeMap(){return V1ReplicationControllerSpec.attributeTypeMap}}V1ReplicationControllerSpec.discriminator=undefined;V1ReplicationControllerSpec.attributeTypeMap=[{name:"minReadySeconds",baseName:"minReadySeconds",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"selector",baseName:"selector",type:"{ [key: string]: string; }"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"}];t.V1ReplicationControllerSpec=V1ReplicationControllerSpec;class V1ReplicationControllerStatus{static getAttributeTypeMap(){return V1ReplicationControllerStatus.attributeTypeMap}}V1ReplicationControllerStatus.discriminator=undefined;V1ReplicationControllerStatus.attributeTypeMap=[{name:"availableReplicas",baseName:"availableReplicas",type:"number"},{name:"conditions",baseName:"conditions",type:"Array<V1ReplicationControllerCondition>"},{name:"fullyLabeledReplicas",baseName:"fullyLabeledReplicas",type:"number"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"readyReplicas",baseName:"readyReplicas",type:"number"},{name:"replicas",baseName:"replicas",type:"number"}];t.V1ReplicationControllerStatus=V1ReplicationControllerStatus;class V1ResourceAttributes{static getAttributeTypeMap(){return V1ResourceAttributes.attributeTypeMap}}V1ResourceAttributes.discriminator=undefined;V1ResourceAttributes.attributeTypeMap=[{name:"group",baseName:"group",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"resource",baseName:"resource",type:"string"},{name:"subresource",baseName:"subresource",type:"string"},{name:"verb",baseName:"verb",type:"string"},{name:"version",baseName:"version",type:"string"}];t.V1ResourceAttributes=V1ResourceAttributes;class V1ResourceFieldSelector{static getAttributeTypeMap(){return V1ResourceFieldSelector.attributeTypeMap}}V1ResourceFieldSelector.discriminator=undefined;V1ResourceFieldSelector.attributeTypeMap=[{name:"containerName",baseName:"containerName",type:"string"},{name:"divisor",baseName:"divisor",type:"string"},{name:"resource",baseName:"resource",type:"string"}];t.V1ResourceFieldSelector=V1ResourceFieldSelector;class V1ResourceQuota{static getAttributeTypeMap(){return V1ResourceQuota.attributeTypeMap}}V1ResourceQuota.discriminator=undefined;V1ResourceQuota.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1ResourceQuotaSpec"},{name:"status",baseName:"status",type:"V1ResourceQuotaStatus"}];t.V1ResourceQuota=V1ResourceQuota;class V1ResourceQuotaList{static getAttributeTypeMap(){return V1ResourceQuotaList.attributeTypeMap}}V1ResourceQuotaList.discriminator=undefined;V1ResourceQuotaList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1ResourceQuota>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1ResourceQuotaList=V1ResourceQuotaList;class V1ResourceQuotaSpec{static getAttributeTypeMap(){return V1ResourceQuotaSpec.attributeTypeMap}}V1ResourceQuotaSpec.discriminator=undefined;V1ResourceQuotaSpec.attributeTypeMap=[{name:"hard",baseName:"hard",type:"{ [key: string]: string; }"},{name:"scopeSelector",baseName:"scopeSelector",type:"V1ScopeSelector"},{name:"scopes",baseName:"scopes",type:"Array<string>"}];t.V1ResourceQuotaSpec=V1ResourceQuotaSpec;class V1ResourceQuotaStatus{static getAttributeTypeMap(){return V1ResourceQuotaStatus.attributeTypeMap}}V1ResourceQuotaStatus.discriminator=undefined;V1ResourceQuotaStatus.attributeTypeMap=[{name:"hard",baseName:"hard",type:"{ [key: string]: string; }"},{name:"used",baseName:"used",type:"{ [key: string]: string; }"}];t.V1ResourceQuotaStatus=V1ResourceQuotaStatus;class V1ResourceRequirements{static getAttributeTypeMap(){return V1ResourceRequirements.attributeTypeMap}}V1ResourceRequirements.discriminator=undefined;V1ResourceRequirements.attributeTypeMap=[{name:"limits",baseName:"limits",type:"{ [key: string]: string; }"},{name:"requests",baseName:"requests",type:"{ [key: string]: string; }"}];t.V1ResourceRequirements=V1ResourceRequirements;class V1ResourceRule{static getAttributeTypeMap(){return V1ResourceRule.attributeTypeMap}}V1ResourceRule.discriminator=undefined;V1ResourceRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array<string>"},{name:"resourceNames",baseName:"resourceNames",type:"Array<string>"},{name:"resources",baseName:"resources",type:"Array<string>"},{name:"verbs",baseName:"verbs",type:"Array<string>"}];t.V1ResourceRule=V1ResourceRule;class V1Role{static getAttributeTypeMap(){return V1Role.attributeTypeMap}}V1Role.discriminator=undefined;V1Role.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"rules",baseName:"rules",type:"Array<V1PolicyRule>"}];t.V1Role=V1Role;class V1RoleBinding{static getAttributeTypeMap(){return V1RoleBinding.attributeTypeMap}}V1RoleBinding.discriminator=undefined;V1RoleBinding.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<V1Subject>"}];t.V1RoleBinding=V1RoleBinding;class V1RoleBindingList{static getAttributeTypeMap(){return V1RoleBindingList.attributeTypeMap}}V1RoleBindingList.discriminator=undefined;V1RoleBindingList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1RoleBinding>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1RoleBindingList=V1RoleBindingList;class V1RoleList{static getAttributeTypeMap(){return V1RoleList.attributeTypeMap}}V1RoleList.discriminator=undefined;V1RoleList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1Role>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1RoleList=V1RoleList;class V1RoleRef{static getAttributeTypeMap(){return V1RoleRef.attributeTypeMap}}V1RoleRef.discriminator=undefined;V1RoleRef.attributeTypeMap=[{name:"apiGroup",baseName:"apiGroup",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}];t.V1RoleRef=V1RoleRef;class V1RollingUpdateDaemonSet{static getAttributeTypeMap(){return V1RollingUpdateDaemonSet.attributeTypeMap}}V1RollingUpdateDaemonSet.discriminator=undefined;V1RollingUpdateDaemonSet.attributeTypeMap=[{name:"maxUnavailable",baseName:"maxUnavailable",type:"any"}];t.V1RollingUpdateDaemonSet=V1RollingUpdateDaemonSet;class V1RollingUpdateDeployment{static getAttributeTypeMap(){return V1RollingUpdateDeployment.attributeTypeMap}}V1RollingUpdateDeployment.discriminator=undefined;V1RollingUpdateDeployment.attributeTypeMap=[{name:"maxSurge",baseName:"maxSurge",type:"any"},{name:"maxUnavailable",baseName:"maxUnavailable",type:"any"}];t.V1RollingUpdateDeployment=V1RollingUpdateDeployment;class V1RollingUpdateStatefulSetStrategy{static getAttributeTypeMap(){return V1RollingUpdateStatefulSetStrategy.attributeTypeMap}}V1RollingUpdateStatefulSetStrategy.discriminator=undefined;V1RollingUpdateStatefulSetStrategy.attributeTypeMap=[{name:"partition",baseName:"partition",type:"number"}];t.V1RollingUpdateStatefulSetStrategy=V1RollingUpdateStatefulSetStrategy;class V1SELinuxOptions{static getAttributeTypeMap(){return V1SELinuxOptions.attributeTypeMap}}V1SELinuxOptions.discriminator=undefined;V1SELinuxOptions.attributeTypeMap=[{name:"level",baseName:"level",type:"string"},{name:"role",baseName:"role",type:"string"},{name:"type",baseName:"type",type:"string"},{name:"user",baseName:"user",type:"string"}];t.V1SELinuxOptions=V1SELinuxOptions;class V1Scale{static getAttributeTypeMap(){return V1Scale.attributeTypeMap}}V1Scale.discriminator=undefined;V1Scale.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1ScaleSpec"},{name:"status",baseName:"status",type:"V1ScaleStatus"}];t.V1Scale=V1Scale;class V1ScaleIOPersistentVolumeSource{static getAttributeTypeMap(){return V1ScaleIOPersistentVolumeSource.attributeTypeMap}}V1ScaleIOPersistentVolumeSource.discriminator=undefined;V1ScaleIOPersistentVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"gateway",baseName:"gateway",type:"string"},{name:"protectionDomain",baseName:"protectionDomain",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1SecretReference"},{name:"sslEnabled",baseName:"sslEnabled",type:"boolean"},{name:"storageMode",baseName:"storageMode",type:"string"},{name:"storagePool",baseName:"storagePool",type:"string"},{name:"system",baseName:"system",type:"string"},{name:"volumeName",baseName:"volumeName",type:"string"}];t.V1ScaleIOPersistentVolumeSource=V1ScaleIOPersistentVolumeSource;class V1ScaleIOVolumeSource{static getAttributeTypeMap(){return V1ScaleIOVolumeSource.attributeTypeMap}}V1ScaleIOVolumeSource.discriminator=undefined;V1ScaleIOVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"gateway",baseName:"gateway",type:"string"},{name:"protectionDomain",baseName:"protectionDomain",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"},{name:"sslEnabled",baseName:"sslEnabled",type:"boolean"},{name:"storageMode",baseName:"storageMode",type:"string"},{name:"storagePool",baseName:"storagePool",type:"string"},{name:"system",baseName:"system",type:"string"},{name:"volumeName",baseName:"volumeName",type:"string"}];t.V1ScaleIOVolumeSource=V1ScaleIOVolumeSource;class V1ScaleSpec{static getAttributeTypeMap(){return V1ScaleSpec.attributeTypeMap}}V1ScaleSpec.discriminator=undefined;V1ScaleSpec.attributeTypeMap=[{name:"replicas",baseName:"replicas",type:"number"}];t.V1ScaleSpec=V1ScaleSpec;class V1ScaleStatus{static getAttributeTypeMap(){return V1ScaleStatus.attributeTypeMap}}V1ScaleStatus.discriminator=undefined;V1ScaleStatus.attributeTypeMap=[{name:"replicas",baseName:"replicas",type:"number"},{name:"selector",baseName:"selector",type:"string"}];t.V1ScaleStatus=V1ScaleStatus;class V1ScopeSelector{static getAttributeTypeMap(){return V1ScopeSelector.attributeTypeMap}}V1ScopeSelector.discriminator=undefined;V1ScopeSelector.attributeTypeMap=[{name:"matchExpressions",baseName:"matchExpressions",type:"Array<V1ScopedResourceSelectorRequirement>"}];t.V1ScopeSelector=V1ScopeSelector;class V1ScopedResourceSelectorRequirement{static getAttributeTypeMap(){return V1ScopedResourceSelectorRequirement.attributeTypeMap}}V1ScopedResourceSelectorRequirement.discriminator=undefined;V1ScopedResourceSelectorRequirement.attributeTypeMap=[{name:"operator",baseName:"operator",type:"string"},{name:"scopeName",baseName:"scopeName",type:"string"},{name:"values",baseName:"values",type:"Array<string>"}];t.V1ScopedResourceSelectorRequirement=V1ScopedResourceSelectorRequirement;class V1Secret{static getAttributeTypeMap(){return V1Secret.attributeTypeMap}}V1Secret.discriminator=undefined;V1Secret.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"data",baseName:"data",type:"{ [key: string]: string; }"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"stringData",baseName:"stringData",type:"{ [key: string]: string; }"},{name:"type",baseName:"type",type:"string"}];t.V1Secret=V1Secret;class V1SecretEnvSource{static getAttributeTypeMap(){return V1SecretEnvSource.attributeTypeMap}}V1SecretEnvSource.discriminator=undefined;V1SecretEnvSource.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}];t.V1SecretEnvSource=V1SecretEnvSource;class V1SecretKeySelector{static getAttributeTypeMap(){return V1SecretKeySelector.attributeTypeMap}}V1SecretKeySelector.discriminator=undefined;V1SecretKeySelector.attributeTypeMap=[{name:"key",baseName:"key",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}];t.V1SecretKeySelector=V1SecretKeySelector;class V1SecretList{static getAttributeTypeMap(){return V1SecretList.attributeTypeMap}}V1SecretList.discriminator=undefined;V1SecretList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1Secret>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1SecretList=V1SecretList;class V1SecretProjection{static getAttributeTypeMap(){return V1SecretProjection.attributeTypeMap}}V1SecretProjection.discriminator=undefined;V1SecretProjection.attributeTypeMap=[{name:"items",baseName:"items",type:"Array<V1KeyToPath>"},{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}];t.V1SecretProjection=V1SecretProjection;class V1SecretReference{static getAttributeTypeMap(){return V1SecretReference.attributeTypeMap}}V1SecretReference.discriminator=undefined;V1SecretReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"}];t.V1SecretReference=V1SecretReference;class V1SecretVolumeSource{static getAttributeTypeMap(){return V1SecretVolumeSource.attributeTypeMap}}V1SecretVolumeSource.discriminator=undefined;V1SecretVolumeSource.attributeTypeMap=[{name:"defaultMode",baseName:"defaultMode",type:"number"},{name:"items",baseName:"items",type:"Array<V1KeyToPath>"},{name:"optional",baseName:"optional",type:"boolean"},{name:"secretName",baseName:"secretName",type:"string"}];t.V1SecretVolumeSource=V1SecretVolumeSource;class V1SecurityContext{static getAttributeTypeMap(){return V1SecurityContext.attributeTypeMap}}V1SecurityContext.discriminator=undefined;V1SecurityContext.attributeTypeMap=[{name:"allowPrivilegeEscalation",baseName:"allowPrivilegeEscalation",type:"boolean"},{name:"capabilities",baseName:"capabilities",type:"V1Capabilities"},{name:"privileged",baseName:"privileged",type:"boolean"},{name:"procMount",baseName:"procMount",type:"string"},{name:"readOnlyRootFilesystem",baseName:"readOnlyRootFilesystem",type:"boolean"},{name:"runAsGroup",baseName:"runAsGroup",type:"number"},{name:"runAsNonRoot",baseName:"runAsNonRoot",type:"boolean"},{name:"runAsUser",baseName:"runAsUser",type:"number"},{name:"seLinuxOptions",baseName:"seLinuxOptions",type:"V1SELinuxOptions"}];t.V1SecurityContext=V1SecurityContext;class V1SelfSubjectAccessReview{static getAttributeTypeMap(){return V1SelfSubjectAccessReview.attributeTypeMap}}V1SelfSubjectAccessReview.discriminator=undefined;V1SelfSubjectAccessReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1SelfSubjectAccessReviewSpec"},{name:"status",baseName:"status",type:"V1SubjectAccessReviewStatus"}];t.V1SelfSubjectAccessReview=V1SelfSubjectAccessReview;class V1SelfSubjectAccessReviewSpec{static getAttributeTypeMap(){return V1SelfSubjectAccessReviewSpec.attributeTypeMap}}V1SelfSubjectAccessReviewSpec.discriminator=undefined;V1SelfSubjectAccessReviewSpec.attributeTypeMap=[{name:"nonResourceAttributes",baseName:"nonResourceAttributes",type:"V1NonResourceAttributes"},{name:"resourceAttributes",baseName:"resourceAttributes",type:"V1ResourceAttributes"}];t.V1SelfSubjectAccessReviewSpec=V1SelfSubjectAccessReviewSpec;class V1SelfSubjectRulesReview{static getAttributeTypeMap(){return V1SelfSubjectRulesReview.attributeTypeMap}}V1SelfSubjectRulesReview.discriminator=undefined;V1SelfSubjectRulesReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1SelfSubjectRulesReviewSpec"},{name:"status",baseName:"status",type:"V1SubjectRulesReviewStatus"}];t.V1SelfSubjectRulesReview=V1SelfSubjectRulesReview;class V1SelfSubjectRulesReviewSpec{static getAttributeTypeMap(){return V1SelfSubjectRulesReviewSpec.attributeTypeMap}}V1SelfSubjectRulesReviewSpec.discriminator=undefined;V1SelfSubjectRulesReviewSpec.attributeTypeMap=[{name:"namespace",baseName:"namespace",type:"string"}];t.V1SelfSubjectRulesReviewSpec=V1SelfSubjectRulesReviewSpec;class V1ServerAddressByClientCIDR{static getAttributeTypeMap(){return V1ServerAddressByClientCIDR.attributeTypeMap}}V1ServerAddressByClientCIDR.discriminator=undefined;V1ServerAddressByClientCIDR.attributeTypeMap=[{name:"clientCIDR",baseName:"clientCIDR",type:"string"},{name:"serverAddress",baseName:"serverAddress",type:"string"}];t.V1ServerAddressByClientCIDR=V1ServerAddressByClientCIDR;class V1Service{static getAttributeTypeMap(){return V1Service.attributeTypeMap}}V1Service.discriminator=undefined;V1Service.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1ServiceSpec"},{name:"status",baseName:"status",type:"V1ServiceStatus"}];t.V1Service=V1Service;class V1ServiceAccount{static getAttributeTypeMap(){return V1ServiceAccount.attributeTypeMap}}V1ServiceAccount.discriminator=undefined;V1ServiceAccount.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"automountServiceAccountToken",baseName:"automountServiceAccountToken",type:"boolean"},{name:"imagePullSecrets",baseName:"imagePullSecrets",type:"Array<V1LocalObjectReference>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"secrets",baseName:"secrets",type:"Array<V1ObjectReference>"}];t.V1ServiceAccount=V1ServiceAccount;class V1ServiceAccountList{static getAttributeTypeMap(){return V1ServiceAccountList.attributeTypeMap}}V1ServiceAccountList.discriminator=undefined;V1ServiceAccountList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1ServiceAccount>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1ServiceAccountList=V1ServiceAccountList;class V1ServiceAccountTokenProjection{static getAttributeTypeMap(){return V1ServiceAccountTokenProjection.attributeTypeMap}}V1ServiceAccountTokenProjection.discriminator=undefined;V1ServiceAccountTokenProjection.attributeTypeMap=[{name:"audience",baseName:"audience",type:"string"},{name:"expirationSeconds",baseName:"expirationSeconds",type:"number"},{name:"path",baseName:"path",type:"string"}];t.V1ServiceAccountTokenProjection=V1ServiceAccountTokenProjection;class V1ServiceList{static getAttributeTypeMap(){return V1ServiceList.attributeTypeMap}}V1ServiceList.discriminator=undefined;V1ServiceList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1Service>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1ServiceList=V1ServiceList;class V1ServicePort{static getAttributeTypeMap(){return V1ServicePort.attributeTypeMap}}V1ServicePort.discriminator=undefined;V1ServicePort.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"nodePort",baseName:"nodePort",type:"number"},{name:"port",baseName:"port",type:"number"},{name:"protocol",baseName:"protocol",type:"string"},{name:"targetPort",baseName:"targetPort",type:"any"}];t.V1ServicePort=V1ServicePort;class V1ServiceReference{static getAttributeTypeMap(){return V1ServiceReference.attributeTypeMap}}V1ServiceReference.discriminator=undefined;V1ServiceReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"}];t.V1ServiceReference=V1ServiceReference;class V1ServiceSpec{static getAttributeTypeMap(){return V1ServiceSpec.attributeTypeMap}}V1ServiceSpec.discriminator=undefined;V1ServiceSpec.attributeTypeMap=[{name:"clusterIP",baseName:"clusterIP",type:"string"},{name:"externalIPs",baseName:"externalIPs",type:"Array<string>"},{name:"externalName",baseName:"externalName",type:"string"},{name:"externalTrafficPolicy",baseName:"externalTrafficPolicy",type:"string"},{name:"healthCheckNodePort",baseName:"healthCheckNodePort",type:"number"},{name:"loadBalancerIP",baseName:"loadBalancerIP",type:"string"},{name:"loadBalancerSourceRanges",baseName:"loadBalancerSourceRanges",type:"Array<string>"},{name:"ports",baseName:"ports",type:"Array<V1ServicePort>"},{name:"publishNotReadyAddresses",baseName:"publishNotReadyAddresses",type:"boolean"},{name:"selector",baseName:"selector",type:"{ [key: string]: string; }"},{name:"sessionAffinity",baseName:"sessionAffinity",type:"string"},{name:"sessionAffinityConfig",baseName:"sessionAffinityConfig",type:"V1SessionAffinityConfig"},{name:"type",baseName:"type",type:"string"}];t.V1ServiceSpec=V1ServiceSpec;class V1ServiceStatus{static getAttributeTypeMap(){return V1ServiceStatus.attributeTypeMap}}V1ServiceStatus.discriminator=undefined;V1ServiceStatus.attributeTypeMap=[{name:"loadBalancer",baseName:"loadBalancer",type:"V1LoadBalancerStatus"}];t.V1ServiceStatus=V1ServiceStatus;class V1SessionAffinityConfig{static getAttributeTypeMap(){return V1SessionAffinityConfig.attributeTypeMap}}V1SessionAffinityConfig.discriminator=undefined;V1SessionAffinityConfig.attributeTypeMap=[{name:"clientIP",baseName:"clientIP",type:"V1ClientIPConfig"}];t.V1SessionAffinityConfig=V1SessionAffinityConfig;class V1StatefulSet{static getAttributeTypeMap(){return V1StatefulSet.attributeTypeMap}}V1StatefulSet.discriminator=undefined;V1StatefulSet.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1StatefulSetSpec"},{name:"status",baseName:"status",type:"V1StatefulSetStatus"}];t.V1StatefulSet=V1StatefulSet;class V1StatefulSetCondition{static getAttributeTypeMap(){return V1StatefulSetCondition.attributeTypeMap}}V1StatefulSetCondition.discriminator=undefined;V1StatefulSetCondition.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.V1StatefulSetCondition=V1StatefulSetCondition;class V1StatefulSetList{static getAttributeTypeMap(){return V1StatefulSetList.attributeTypeMap}}V1StatefulSetList.discriminator=undefined;V1StatefulSetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1StatefulSet>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1StatefulSetList=V1StatefulSetList;class V1StatefulSetSpec{static getAttributeTypeMap(){return V1StatefulSetSpec.attributeTypeMap}}V1StatefulSetSpec.discriminator=undefined;V1StatefulSetSpec.attributeTypeMap=[{name:"podManagementPolicy",baseName:"podManagementPolicy",type:"string"},{name:"replicas",baseName:"replicas",type:"number"},{name:"revisionHistoryLimit",baseName:"revisionHistoryLimit",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"serviceName",baseName:"serviceName",type:"string"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"},{name:"updateStrategy",baseName:"updateStrategy",type:"V1StatefulSetUpdateStrategy"},{name:"volumeClaimTemplates",baseName:"volumeClaimTemplates",type:"Array<V1PersistentVolumeClaim>"}];t.V1StatefulSetSpec=V1StatefulSetSpec;class V1StatefulSetStatus{static getAttributeTypeMap(){return V1StatefulSetStatus.attributeTypeMap}}V1StatefulSetStatus.discriminator=undefined;V1StatefulSetStatus.attributeTypeMap=[{name:"collisionCount",baseName:"collisionCount",type:"number"},{name:"conditions",baseName:"conditions",type:"Array<V1StatefulSetCondition>"},{name:"currentReplicas",baseName:"currentReplicas",type:"number"},{name:"currentRevision",baseName:"currentRevision",type:"string"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"readyReplicas",baseName:"readyReplicas",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"updateRevision",baseName:"updateRevision",type:"string"},{name:"updatedReplicas",baseName:"updatedReplicas",type:"number"}];t.V1StatefulSetStatus=V1StatefulSetStatus;class V1StatefulSetUpdateStrategy{static getAttributeTypeMap(){return V1StatefulSetUpdateStrategy.attributeTypeMap}}V1StatefulSetUpdateStrategy.discriminator=undefined;V1StatefulSetUpdateStrategy.attributeTypeMap=[{name:"rollingUpdate",baseName:"rollingUpdate",type:"V1RollingUpdateStatefulSetStrategy"},{name:"type",baseName:"type",type:"string"}];t.V1StatefulSetUpdateStrategy=V1StatefulSetUpdateStrategy;class V1Status{static getAttributeTypeMap(){return V1Status.attributeTypeMap}}V1Status.discriminator=undefined;V1Status.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"code",baseName:"code",type:"number"},{name:"details",baseName:"details",type:"V1StatusDetails"},{name:"kind",baseName:"kind",type:"string"},{name:"message",baseName:"message",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"}];t.V1Status=V1Status;class V1StatusCause{static getAttributeTypeMap(){return V1StatusCause.attributeTypeMap}}V1StatusCause.discriminator=undefined;V1StatusCause.attributeTypeMap=[{name:"field",baseName:"field",type:"string"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"}];t.V1StatusCause=V1StatusCause;class V1StatusDetails{static getAttributeTypeMap(){return V1StatusDetails.attributeTypeMap}}V1StatusDetails.discriminator=undefined;V1StatusDetails.attributeTypeMap=[{name:"causes",baseName:"causes",type:"Array<V1StatusCause>"},{name:"group",baseName:"group",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"retryAfterSeconds",baseName:"retryAfterSeconds",type:"number"},{name:"uid",baseName:"uid",type:"string"}];t.V1StatusDetails=V1StatusDetails;class V1StorageClass{static getAttributeTypeMap(){return V1StorageClass.attributeTypeMap}}V1StorageClass.discriminator=undefined;V1StorageClass.attributeTypeMap=[{name:"allowVolumeExpansion",baseName:"allowVolumeExpansion",type:"boolean"},{name:"allowedTopologies",baseName:"allowedTopologies",type:"Array<V1TopologySelectorTerm>"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"mountOptions",baseName:"mountOptions",type:"Array<string>"},{name:"parameters",baseName:"parameters",type:"{ [key: string]: string; }"},{name:"provisioner",baseName:"provisioner",type:"string"},{name:"reclaimPolicy",baseName:"reclaimPolicy",type:"string"},{name:"volumeBindingMode",baseName:"volumeBindingMode",type:"string"}];t.V1StorageClass=V1StorageClass;class V1StorageClassList{static getAttributeTypeMap(){return V1StorageClassList.attributeTypeMap}}V1StorageClassList.discriminator=undefined;V1StorageClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1StorageClass>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1StorageClassList=V1StorageClassList;class V1StorageOSPersistentVolumeSource{static getAttributeTypeMap(){return V1StorageOSPersistentVolumeSource.attributeTypeMap}}V1StorageOSPersistentVolumeSource.discriminator=undefined;V1StorageOSPersistentVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1ObjectReference"},{name:"volumeName",baseName:"volumeName",type:"string"},{name:"volumeNamespace",baseName:"volumeNamespace",type:"string"}];t.V1StorageOSPersistentVolumeSource=V1StorageOSPersistentVolumeSource;class V1StorageOSVolumeSource{static getAttributeTypeMap(){return V1StorageOSVolumeSource.attributeTypeMap}}V1StorageOSVolumeSource.discriminator=undefined;V1StorageOSVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"},{name:"volumeName",baseName:"volumeName",type:"string"},{name:"volumeNamespace",baseName:"volumeNamespace",type:"string"}];t.V1StorageOSVolumeSource=V1StorageOSVolumeSource;class V1Subject{static getAttributeTypeMap(){return V1Subject.attributeTypeMap}}V1Subject.discriminator=undefined;V1Subject.attributeTypeMap=[{name:"apiGroup",baseName:"apiGroup",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"}];t.V1Subject=V1Subject;class V1SubjectAccessReview{static getAttributeTypeMap(){return V1SubjectAccessReview.attributeTypeMap}}V1SubjectAccessReview.discriminator=undefined;V1SubjectAccessReview.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.V1SubjectAccessReview=V1SubjectAccessReview;class V1SubjectAccessReviewSpec{static getAttributeTypeMap(){return V1SubjectAccessReviewSpec.attributeTypeMap}}V1SubjectAccessReviewSpec.discriminator=undefined;V1SubjectAccessReviewSpec.attributeTypeMap=[{name:"extra",baseName:"extra",type:"{ [key: string]: Array<string>; }"},{name:"groups",baseName:"groups",type:"Array<string>"},{name:"nonResourceAttributes",baseName:"nonResourceAttributes",type:"V1NonResourceAttributes"},{name:"resourceAttributes",baseName:"resourceAttributes",type:"V1ResourceAttributes"},{name:"uid",baseName:"uid",type:"string"},{name:"user",baseName:"user",type:"string"}];t.V1SubjectAccessReviewSpec=V1SubjectAccessReviewSpec;class V1SubjectAccessReviewStatus{static getAttributeTypeMap(){return V1SubjectAccessReviewStatus.attributeTypeMap}}V1SubjectAccessReviewStatus.discriminator=undefined;V1SubjectAccessReviewStatus.attributeTypeMap=[{name:"allowed",baseName:"allowed",type:"boolean"},{name:"denied",baseName:"denied",type:"boolean"},{name:"evaluationError",baseName:"evaluationError",type:"string"},{name:"reason",baseName:"reason",type:"string"}];t.V1SubjectAccessReviewStatus=V1SubjectAccessReviewStatus;class V1SubjectRulesReviewStatus{static getAttributeTypeMap(){return V1SubjectRulesReviewStatus.attributeTypeMap}}V1SubjectRulesReviewStatus.discriminator=undefined;V1SubjectRulesReviewStatus.attributeTypeMap=[{name:"evaluationError",baseName:"evaluationError",type:"string"},{name:"incomplete",baseName:"incomplete",type:"boolean"},{name:"nonResourceRules",baseName:"nonResourceRules",type:"Array<V1NonResourceRule>"},{name:"resourceRules",baseName:"resourceRules",type:"Array<V1ResourceRule>"}];t.V1SubjectRulesReviewStatus=V1SubjectRulesReviewStatus;class V1Sysctl{static getAttributeTypeMap(){return V1Sysctl.attributeTypeMap}}V1Sysctl.discriminator=undefined;V1Sysctl.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"value",baseName:"value",type:"string"}];t.V1Sysctl=V1Sysctl;class V1TCPSocketAction{static getAttributeTypeMap(){return V1TCPSocketAction.attributeTypeMap}}V1TCPSocketAction.discriminator=undefined;V1TCPSocketAction.attributeTypeMap=[{name:"host",baseName:"host",type:"string"},{name:"port",baseName:"port",type:"any"}];t.V1TCPSocketAction=V1TCPSocketAction;class V1Taint{static getAttributeTypeMap(){return V1Taint.attributeTypeMap}}V1Taint.discriminator=undefined;V1Taint.attributeTypeMap=[{name:"effect",baseName:"effect",type:"string"},{name:"key",baseName:"key",type:"string"},{name:"timeAdded",baseName:"timeAdded",type:"Date"},{name:"value",baseName:"value",type:"string"}];t.V1Taint=V1Taint;class V1TokenReview{static getAttributeTypeMap(){return V1TokenReview.attributeTypeMap}}V1TokenReview.discriminator=undefined;V1TokenReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1TokenReviewSpec"},{name:"status",baseName:"status",type:"V1TokenReviewStatus"}];t.V1TokenReview=V1TokenReview;class V1TokenReviewSpec{static getAttributeTypeMap(){return V1TokenReviewSpec.attributeTypeMap}}V1TokenReviewSpec.discriminator=undefined;V1TokenReviewSpec.attributeTypeMap=[{name:"audiences",baseName:"audiences",type:"Array<string>"},{name:"token",baseName:"token",type:"string"}];t.V1TokenReviewSpec=V1TokenReviewSpec;class V1TokenReviewStatus{static getAttributeTypeMap(){return V1TokenReviewStatus.attributeTypeMap}}V1TokenReviewStatus.discriminator=undefined;V1TokenReviewStatus.attributeTypeMap=[{name:"audiences",baseName:"audiences",type:"Array<string>"},{name:"authenticated",baseName:"authenticated",type:"boolean"},{name:"error",baseName:"error",type:"string"},{name:"user",baseName:"user",type:"V1UserInfo"}];t.V1TokenReviewStatus=V1TokenReviewStatus;class V1Toleration{static getAttributeTypeMap(){return V1Toleration.attributeTypeMap}}V1Toleration.discriminator=undefined;V1Toleration.attributeTypeMap=[{name:"effect",baseName:"effect",type:"string"},{name:"key",baseName:"key",type:"string"},{name:"operator",baseName:"operator",type:"string"},{name:"tolerationSeconds",baseName:"tolerationSeconds",type:"number"},{name:"value",baseName:"value",type:"string"}];t.V1Toleration=V1Toleration;class V1TopologySelectorLabelRequirement{static getAttributeTypeMap(){return V1TopologySelectorLabelRequirement.attributeTypeMap}}V1TopologySelectorLabelRequirement.discriminator=undefined;V1TopologySelectorLabelRequirement.attributeTypeMap=[{name:"key",baseName:"key",type:"string"},{name:"values",baseName:"values",type:"Array<string>"}];t.V1TopologySelectorLabelRequirement=V1TopologySelectorLabelRequirement;class V1TopologySelectorTerm{static getAttributeTypeMap(){return V1TopologySelectorTerm.attributeTypeMap}}V1TopologySelectorTerm.discriminator=undefined;V1TopologySelectorTerm.attributeTypeMap=[{name:"matchLabelExpressions",baseName:"matchLabelExpressions",type:"Array<V1TopologySelectorLabelRequirement>"}];t.V1TopologySelectorTerm=V1TopologySelectorTerm;class V1TypedLocalObjectReference{static getAttributeTypeMap(){return V1TypedLocalObjectReference.attributeTypeMap}}V1TypedLocalObjectReference.discriminator=undefined;V1TypedLocalObjectReference.attributeTypeMap=[{name:"apiGroup",baseName:"apiGroup",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}];t.V1TypedLocalObjectReference=V1TypedLocalObjectReference;class V1UserInfo{static getAttributeTypeMap(){return V1UserInfo.attributeTypeMap}}V1UserInfo.discriminator=undefined;V1UserInfo.attributeTypeMap=[{name:"extra",baseName:"extra",type:"{ [key: string]: Array<string>; }"},{name:"groups",baseName:"groups",type:"Array<string>"},{name:"uid",baseName:"uid",type:"string"},{name:"username",baseName:"username",type:"string"}];t.V1UserInfo=V1UserInfo;class V1Volume{static getAttributeTypeMap(){return V1Volume.attributeTypeMap}}V1Volume.discriminator=undefined;V1Volume.attributeTypeMap=[{name:"awsElasticBlockStore",baseName:"awsElasticBlockStore",type:"V1AWSElasticBlockStoreVolumeSource"},{name:"azureDisk",baseName:"azureDisk",type:"V1AzureDiskVolumeSource"},{name:"azureFile",baseName:"azureFile",type:"V1AzureFileVolumeSource"},{name:"cephfs",baseName:"cephfs",type:"V1CephFSVolumeSource"},{name:"cinder",baseName:"cinder",type:"V1CinderVolumeSource"},{name:"configMap",baseName:"configMap",type:"V1ConfigMapVolumeSource"},{name:"downwardAPI",baseName:"downwardAPI",type:"V1DownwardAPIVolumeSource"},{name:"emptyDir",baseName:"emptyDir",type:"V1EmptyDirVolumeSource"},{name:"fc",baseName:"fc",type:"V1FCVolumeSource"},{name:"flexVolume",baseName:"flexVolume",type:"V1FlexVolumeSource"},{name:"flocker",baseName:"flocker",type:"V1FlockerVolumeSource"},{name:"gcePersistentDisk",baseName:"gcePersistentDisk",type:"V1GCEPersistentDiskVolumeSource"},{name:"gitRepo",baseName:"gitRepo",type:"V1GitRepoVolumeSource"},{name:"glusterfs",baseName:"glusterfs",type:"V1GlusterfsVolumeSource"},{name:"hostPath",baseName:"hostPath",type:"V1HostPathVolumeSource"},{name:"iscsi",baseName:"iscsi",type:"V1ISCSIVolumeSource"},{name:"name",baseName:"name",type:"string"},{name:"nfs",baseName:"nfs",type:"V1NFSVolumeSource"},{name:"persistentVolumeClaim",baseName:"persistentVolumeClaim",type:"V1PersistentVolumeClaimVolumeSource"},{name:"photonPersistentDisk",baseName:"photonPersistentDisk",type:"V1PhotonPersistentDiskVolumeSource"},{name:"portworxVolume",baseName:"portworxVolume",type:"V1PortworxVolumeSource"},{name:"projected",baseName:"projected",type:"V1ProjectedVolumeSource"},{name:"quobyte",baseName:"quobyte",type:"V1QuobyteVolumeSource"},{name:"rbd",baseName:"rbd",type:"V1RBDVolumeSource"},{name:"scaleIO",baseName:"scaleIO",type:"V1ScaleIOVolumeSource"},{name:"secret",baseName:"secret",type:"V1SecretVolumeSource"},{name:"storageos",baseName:"storageos",type:"V1StorageOSVolumeSource"},{name:"vsphereVolume",baseName:"vsphereVolume",type:"V1VsphereVirtualDiskVolumeSource"}];t.V1Volume=V1Volume;class V1VolumeAttachment{static getAttributeTypeMap(){return V1VolumeAttachment.attributeTypeMap}}V1VolumeAttachment.discriminator=undefined;V1VolumeAttachment.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1VolumeAttachmentSpec"},{name:"status",baseName:"status",type:"V1VolumeAttachmentStatus"}];t.V1VolumeAttachment=V1VolumeAttachment;class V1VolumeAttachmentList{static getAttributeTypeMap(){return V1VolumeAttachmentList.attributeTypeMap}}V1VolumeAttachmentList.discriminator=undefined;V1VolumeAttachmentList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1VolumeAttachment>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1VolumeAttachmentList=V1VolumeAttachmentList;class V1VolumeAttachmentSource{static getAttributeTypeMap(){return V1VolumeAttachmentSource.attributeTypeMap}}V1VolumeAttachmentSource.discriminator=undefined;V1VolumeAttachmentSource.attributeTypeMap=[{name:"persistentVolumeName",baseName:"persistentVolumeName",type:"string"}];t.V1VolumeAttachmentSource=V1VolumeAttachmentSource;class V1VolumeAttachmentSpec{static getAttributeTypeMap(){return V1VolumeAttachmentSpec.attributeTypeMap}}V1VolumeAttachmentSpec.discriminator=undefined;V1VolumeAttachmentSpec.attributeTypeMap=[{name:"attacher",baseName:"attacher",type:"string"},{name:"nodeName",baseName:"nodeName",type:"string"},{name:"source",baseName:"source",type:"V1VolumeAttachmentSource"}];t.V1VolumeAttachmentSpec=V1VolumeAttachmentSpec;class V1VolumeAttachmentStatus{static getAttributeTypeMap(){return V1VolumeAttachmentStatus.attributeTypeMap}}V1VolumeAttachmentStatus.discriminator=undefined;V1VolumeAttachmentStatus.attributeTypeMap=[{name:"attachError",baseName:"attachError",type:"V1VolumeError"},{name:"attached",baseName:"attached",type:"boolean"},{name:"attachmentMetadata",baseName:"attachmentMetadata",type:"{ [key: string]: string; }"},{name:"detachError",baseName:"detachError",type:"V1VolumeError"}];t.V1VolumeAttachmentStatus=V1VolumeAttachmentStatus;class V1VolumeDevice{static getAttributeTypeMap(){return V1VolumeDevice.attributeTypeMap}}V1VolumeDevice.discriminator=undefined;V1VolumeDevice.attributeTypeMap=[{name:"devicePath",baseName:"devicePath",type:"string"},{name:"name",baseName:"name",type:"string"}];t.V1VolumeDevice=V1VolumeDevice;class V1VolumeError{static getAttributeTypeMap(){return V1VolumeError.attributeTypeMap}}V1VolumeError.discriminator=undefined;V1VolumeError.attributeTypeMap=[{name:"message",baseName:"message",type:"string"},{name:"time",baseName:"time",type:"Date"}];t.V1VolumeError=V1VolumeError;class V1VolumeMount{static getAttributeTypeMap(){return V1VolumeMount.attributeTypeMap}}V1VolumeMount.discriminator=undefined;V1VolumeMount.attributeTypeMap=[{name:"mountPath",baseName:"mountPath",type:"string"},{name:"mountPropagation",baseName:"mountPropagation",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"subPath",baseName:"subPath",type:"string"}];t.V1VolumeMount=V1VolumeMount;class V1VolumeNodeAffinity{static getAttributeTypeMap(){return V1VolumeNodeAffinity.attributeTypeMap}}V1VolumeNodeAffinity.discriminator=undefined;V1VolumeNodeAffinity.attributeTypeMap=[{name:"required",baseName:"required",type:"V1NodeSelector"}];t.V1VolumeNodeAffinity=V1VolumeNodeAffinity;class V1VolumeProjection{static getAttributeTypeMap(){return V1VolumeProjection.attributeTypeMap}}V1VolumeProjection.discriminator=undefined;V1VolumeProjection.attributeTypeMap=[{name:"configMap",baseName:"configMap",type:"V1ConfigMapProjection"},{name:"downwardAPI",baseName:"downwardAPI",type:"V1DownwardAPIProjection"},{name:"secret",baseName:"secret",type:"V1SecretProjection"},{name:"serviceAccountToken",baseName:"serviceAccountToken",type:"V1ServiceAccountTokenProjection"}];t.V1VolumeProjection=V1VolumeProjection;class V1VsphereVirtualDiskVolumeSource{static getAttributeTypeMap(){return V1VsphereVirtualDiskVolumeSource.attributeTypeMap}}V1VsphereVirtualDiskVolumeSource.discriminator=undefined;V1VsphereVirtualDiskVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"storagePolicyID",baseName:"storagePolicyID",type:"string"},{name:"storagePolicyName",baseName:"storagePolicyName",type:"string"},{name:"volumePath",baseName:"volumePath",type:"string"}];t.V1VsphereVirtualDiskVolumeSource=V1VsphereVirtualDiskVolumeSource;class V1WatchEvent{static getAttributeTypeMap(){return V1WatchEvent.attributeTypeMap}}V1WatchEvent.discriminator=undefined;V1WatchEvent.attributeTypeMap=[{name:"object",baseName:"object",type:"RuntimeRawExtension"},{name:"type",baseName:"type",type:"string"}];t.V1WatchEvent=V1WatchEvent;class V1WeightedPodAffinityTerm{static getAttributeTypeMap(){return V1WeightedPodAffinityTerm.attributeTypeMap}}V1WeightedPodAffinityTerm.discriminator=undefined;V1WeightedPodAffinityTerm.attributeTypeMap=[{name:"podAffinityTerm",baseName:"podAffinityTerm",type:"V1PodAffinityTerm"},{name:"weight",baseName:"weight",type:"number"}];t.V1WeightedPodAffinityTerm=V1WeightedPodAffinityTerm;class V1alpha1AggregationRule{static getAttributeTypeMap(){return V1alpha1AggregationRule.attributeTypeMap}}V1alpha1AggregationRule.discriminator=undefined;V1alpha1AggregationRule.attributeTypeMap=[{name:"clusterRoleSelectors",baseName:"clusterRoleSelectors",type:"Array<V1LabelSelector>"}];t.V1alpha1AggregationRule=V1alpha1AggregationRule;class V1alpha1AuditSink{static getAttributeTypeMap(){return V1alpha1AuditSink.attributeTypeMap}}V1alpha1AuditSink.discriminator=undefined;V1alpha1AuditSink.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1alpha1AuditSinkSpec"}];t.V1alpha1AuditSink=V1alpha1AuditSink;class V1alpha1AuditSinkList{static getAttributeTypeMap(){return V1alpha1AuditSinkList.attributeTypeMap}}V1alpha1AuditSinkList.discriminator=undefined;V1alpha1AuditSinkList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1alpha1AuditSink>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1alpha1AuditSinkList=V1alpha1AuditSinkList;class V1alpha1AuditSinkSpec{static getAttributeTypeMap(){return V1alpha1AuditSinkSpec.attributeTypeMap}}V1alpha1AuditSinkSpec.discriminator=undefined;V1alpha1AuditSinkSpec.attributeTypeMap=[{name:"policy",baseName:"policy",type:"V1alpha1Policy"},{name:"webhook",baseName:"webhook",type:"V1alpha1Webhook"}];t.V1alpha1AuditSinkSpec=V1alpha1AuditSinkSpec;class V1alpha1ClusterRole{static getAttributeTypeMap(){return V1alpha1ClusterRole.attributeTypeMap}}V1alpha1ClusterRole.discriminator=undefined;V1alpha1ClusterRole.attributeTypeMap=[{name:"aggregationRule",baseName:"aggregationRule",type:"V1alpha1AggregationRule"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"rules",baseName:"rules",type:"Array<V1alpha1PolicyRule>"}];t.V1alpha1ClusterRole=V1alpha1ClusterRole;class V1alpha1ClusterRoleBinding{static getAttributeTypeMap(){return V1alpha1ClusterRoleBinding.attributeTypeMap}}V1alpha1ClusterRoleBinding.discriminator=undefined;V1alpha1ClusterRoleBinding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"roleRef",baseName:"roleRef",type:"V1alpha1RoleRef"},{name:"subjects",baseName:"subjects",type:"Array<V1alpha1Subject>"}];t.V1alpha1ClusterRoleBinding=V1alpha1ClusterRoleBinding;class V1alpha1ClusterRoleBindingList{static getAttributeTypeMap(){return V1alpha1ClusterRoleBindingList.attributeTypeMap}}V1alpha1ClusterRoleBindingList.discriminator=undefined;V1alpha1ClusterRoleBindingList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1alpha1ClusterRoleBinding>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1alpha1ClusterRoleBindingList=V1alpha1ClusterRoleBindingList;class V1alpha1ClusterRoleList{static getAttributeTypeMap(){return V1alpha1ClusterRoleList.attributeTypeMap}}V1alpha1ClusterRoleList.discriminator=undefined;V1alpha1ClusterRoleList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1alpha1ClusterRole>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1alpha1ClusterRoleList=V1alpha1ClusterRoleList;class V1alpha1Initializer{static getAttributeTypeMap(){return V1alpha1Initializer.attributeTypeMap}}V1alpha1Initializer.discriminator=undefined;V1alpha1Initializer.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"rules",baseName:"rules",type:"Array<V1alpha1Rule>"}];t.V1alpha1Initializer=V1alpha1Initializer;class V1alpha1InitializerConfiguration{static getAttributeTypeMap(){return V1alpha1InitializerConfiguration.attributeTypeMap}}V1alpha1InitializerConfiguration.discriminator=undefined;V1alpha1InitializerConfiguration.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"initializers",baseName:"initializers",type:"Array<V1alpha1Initializer>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"}];t.V1alpha1InitializerConfiguration=V1alpha1InitializerConfiguration;class V1alpha1InitializerConfigurationList{static getAttributeTypeMap(){return V1alpha1InitializerConfigurationList.attributeTypeMap}}V1alpha1InitializerConfigurationList.discriminator=undefined;V1alpha1InitializerConfigurationList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1alpha1InitializerConfiguration>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1alpha1InitializerConfigurationList=V1alpha1InitializerConfigurationList;class V1alpha1PodPreset{static getAttributeTypeMap(){return V1alpha1PodPreset.attributeTypeMap}}V1alpha1PodPreset.discriminator=undefined;V1alpha1PodPreset.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1alpha1PodPresetSpec"}];t.V1alpha1PodPreset=V1alpha1PodPreset;class V1alpha1PodPresetList{static getAttributeTypeMap(){return V1alpha1PodPresetList.attributeTypeMap}}V1alpha1PodPresetList.discriminator=undefined;V1alpha1PodPresetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1alpha1PodPreset>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1alpha1PodPresetList=V1alpha1PodPresetList;class V1alpha1PodPresetSpec{static getAttributeTypeMap(){return V1alpha1PodPresetSpec.attributeTypeMap}}V1alpha1PodPresetSpec.discriminator=undefined;V1alpha1PodPresetSpec.attributeTypeMap=[{name:"env",baseName:"env",type:"Array<V1EnvVar>"},{name:"envFrom",baseName:"envFrom",type:"Array<V1EnvFromSource>"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"volumeMounts",baseName:"volumeMounts",type:"Array<V1VolumeMount>"},{name:"volumes",baseName:"volumes",type:"Array<V1Volume>"}];t.V1alpha1PodPresetSpec=V1alpha1PodPresetSpec;class V1alpha1Policy{static getAttributeTypeMap(){return V1alpha1Policy.attributeTypeMap}}V1alpha1Policy.discriminator=undefined;V1alpha1Policy.attributeTypeMap=[{name:"level",baseName:"level",type:"string"},{name:"stages",baseName:"stages",type:"Array<string>"}];t.V1alpha1Policy=V1alpha1Policy;class V1alpha1PolicyRule{static getAttributeTypeMap(){return V1alpha1PolicyRule.attributeTypeMap}}V1alpha1PolicyRule.discriminator=undefined;V1alpha1PolicyRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array<string>"},{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array<string>"},{name:"resourceNames",baseName:"resourceNames",type:"Array<string>"},{name:"resources",baseName:"resources",type:"Array<string>"},{name:"verbs",baseName:"verbs",type:"Array<string>"}];t.V1alpha1PolicyRule=V1alpha1PolicyRule;class V1alpha1PriorityClass{static getAttributeTypeMap(){return V1alpha1PriorityClass.attributeTypeMap}}V1alpha1PriorityClass.discriminator=undefined;V1alpha1PriorityClass.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"description",baseName:"description",type:"string"},{name:"globalDefault",baseName:"globalDefault",type:"boolean"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"value",baseName:"value",type:"number"}];t.V1alpha1PriorityClass=V1alpha1PriorityClass;class V1alpha1PriorityClassList{static getAttributeTypeMap(){return V1alpha1PriorityClassList.attributeTypeMap}}V1alpha1PriorityClassList.discriminator=undefined;V1alpha1PriorityClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1alpha1PriorityClass>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1alpha1PriorityClassList=V1alpha1PriorityClassList;class V1alpha1Role{static getAttributeTypeMap(){return V1alpha1Role.attributeTypeMap}}V1alpha1Role.discriminator=undefined;V1alpha1Role.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"rules",baseName:"rules",type:"Array<V1alpha1PolicyRule>"}];t.V1alpha1Role=V1alpha1Role;class V1alpha1RoleBinding{static getAttributeTypeMap(){return V1alpha1RoleBinding.attributeTypeMap}}V1alpha1RoleBinding.discriminator=undefined;V1alpha1RoleBinding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"roleRef",baseName:"roleRef",type:"V1alpha1RoleRef"},{name:"subjects",baseName:"subjects",type:"Array<V1alpha1Subject>"}];t.V1alpha1RoleBinding=V1alpha1RoleBinding;class V1alpha1RoleBindingList{static getAttributeTypeMap(){return V1alpha1RoleBindingList.attributeTypeMap}}V1alpha1RoleBindingList.discriminator=undefined;V1alpha1RoleBindingList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1alpha1RoleBinding>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1alpha1RoleBindingList=V1alpha1RoleBindingList;class V1alpha1RoleList{static getAttributeTypeMap(){return V1alpha1RoleList.attributeTypeMap}}V1alpha1RoleList.discriminator=undefined;V1alpha1RoleList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1alpha1Role>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1alpha1RoleList=V1alpha1RoleList;class V1alpha1RoleRef{static getAttributeTypeMap(){return V1alpha1RoleRef.attributeTypeMap}}V1alpha1RoleRef.discriminator=undefined;V1alpha1RoleRef.attributeTypeMap=[{name:"apiGroup",baseName:"apiGroup",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}];t.V1alpha1RoleRef=V1alpha1RoleRef;class V1alpha1Rule{static getAttributeTypeMap(){return V1alpha1Rule.attributeTypeMap}}V1alpha1Rule.discriminator=undefined;V1alpha1Rule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array<string>"},{name:"apiVersions",baseName:"apiVersions",type:"Array<string>"},{name:"resources",baseName:"resources",type:"Array<string>"}];t.V1alpha1Rule=V1alpha1Rule;class V1alpha1ServiceReference{static getAttributeTypeMap(){return V1alpha1ServiceReference.attributeTypeMap}}V1alpha1ServiceReference.discriminator=undefined;V1alpha1ServiceReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"path",baseName:"path",type:"string"}];t.V1alpha1ServiceReference=V1alpha1ServiceReference;class V1alpha1Subject{static getAttributeTypeMap(){return V1alpha1Subject.attributeTypeMap}}V1alpha1Subject.discriminator=undefined;V1alpha1Subject.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"}];t.V1alpha1Subject=V1alpha1Subject;class V1alpha1VolumeAttachment{static getAttributeTypeMap(){return V1alpha1VolumeAttachment.attributeTypeMap}}V1alpha1VolumeAttachment.discriminator=undefined;V1alpha1VolumeAttachment.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1alpha1VolumeAttachmentSpec"},{name:"status",baseName:"status",type:"V1alpha1VolumeAttachmentStatus"}];t.V1alpha1VolumeAttachment=V1alpha1VolumeAttachment;class V1alpha1VolumeAttachmentList{static getAttributeTypeMap(){return V1alpha1VolumeAttachmentList.attributeTypeMap}}V1alpha1VolumeAttachmentList.discriminator=undefined;V1alpha1VolumeAttachmentList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1alpha1VolumeAttachment>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1alpha1VolumeAttachmentList=V1alpha1VolumeAttachmentList;class V1alpha1VolumeAttachmentSource{static getAttributeTypeMap(){return V1alpha1VolumeAttachmentSource.attributeTypeMap}}V1alpha1VolumeAttachmentSource.discriminator=undefined;V1alpha1VolumeAttachmentSource.attributeTypeMap=[{name:"persistentVolumeName",baseName:"persistentVolumeName",type:"string"}];t.V1alpha1VolumeAttachmentSource=V1alpha1VolumeAttachmentSource;class V1alpha1VolumeAttachmentSpec{static getAttributeTypeMap(){return V1alpha1VolumeAttachmentSpec.attributeTypeMap}}V1alpha1VolumeAttachmentSpec.discriminator=undefined;V1alpha1VolumeAttachmentSpec.attributeTypeMap=[{name:"attacher",baseName:"attacher",type:"string"},{name:"nodeName",baseName:"nodeName",type:"string"},{name:"source",baseName:"source",type:"V1alpha1VolumeAttachmentSource"}];t.V1alpha1VolumeAttachmentSpec=V1alpha1VolumeAttachmentSpec;class V1alpha1VolumeAttachmentStatus{static getAttributeTypeMap(){return V1alpha1VolumeAttachmentStatus.attributeTypeMap}}V1alpha1VolumeAttachmentStatus.discriminator=undefined;V1alpha1VolumeAttachmentStatus.attributeTypeMap=[{name:"attachError",baseName:"attachError",type:"V1alpha1VolumeError"},{name:"attached",baseName:"attached",type:"boolean"},{name:"attachmentMetadata",baseName:"attachmentMetadata",type:"{ [key: string]: string; }"},{name:"detachError",baseName:"detachError",type:"V1alpha1VolumeError"}];t.V1alpha1VolumeAttachmentStatus=V1alpha1VolumeAttachmentStatus;class V1alpha1VolumeError{static getAttributeTypeMap(){return V1alpha1VolumeError.attributeTypeMap}}V1alpha1VolumeError.discriminator=undefined;V1alpha1VolumeError.attributeTypeMap=[{name:"message",baseName:"message",type:"string"},{name:"time",baseName:"time",type:"Date"}];t.V1alpha1VolumeError=V1alpha1VolumeError;class V1alpha1Webhook{static getAttributeTypeMap(){return V1alpha1Webhook.attributeTypeMap}}V1alpha1Webhook.discriminator=undefined;V1alpha1Webhook.attributeTypeMap=[{name:"clientConfig",baseName:"clientConfig",type:"V1alpha1WebhookClientConfig"},{name:"throttle",baseName:"throttle",type:"V1alpha1WebhookThrottleConfig"}];t.V1alpha1Webhook=V1alpha1Webhook;class V1alpha1WebhookClientConfig{static getAttributeTypeMap(){return V1alpha1WebhookClientConfig.attributeTypeMap}}V1alpha1WebhookClientConfig.discriminator=undefined;V1alpha1WebhookClientConfig.attributeTypeMap=[{name:"caBundle",baseName:"caBundle",type:"string"},{name:"service",baseName:"service",type:"V1alpha1ServiceReference"},{name:"url",baseName:"url",type:"string"}];t.V1alpha1WebhookClientConfig=V1alpha1WebhookClientConfig;class V1alpha1WebhookThrottleConfig{static getAttributeTypeMap(){return V1alpha1WebhookThrottleConfig.attributeTypeMap}}V1alpha1WebhookThrottleConfig.discriminator=undefined;V1alpha1WebhookThrottleConfig.attributeTypeMap=[{name:"burst",baseName:"burst",type:"number"},{name:"qps",baseName:"qps",type:"number"}];t.V1alpha1WebhookThrottleConfig=V1alpha1WebhookThrottleConfig;class V1beta1APIService{static getAttributeTypeMap(){return V1beta1APIService.attributeTypeMap}}V1beta1APIService.discriminator=undefined;V1beta1APIService.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1APIServiceSpec"},{name:"status",baseName:"status",type:"V1beta1APIServiceStatus"}];t.V1beta1APIService=V1beta1APIService;class V1beta1APIServiceCondition{static getAttributeTypeMap(){return V1beta1APIServiceCondition.attributeTypeMap}}V1beta1APIServiceCondition.discriminator=undefined;V1beta1APIServiceCondition.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.V1beta1APIServiceCondition=V1beta1APIServiceCondition;class V1beta1APIServiceList{static getAttributeTypeMap(){return V1beta1APIServiceList.attributeTypeMap}}V1beta1APIServiceList.discriminator=undefined;V1beta1APIServiceList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1APIService>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1APIServiceList=V1beta1APIServiceList;class V1beta1APIServiceSpec{static getAttributeTypeMap(){return V1beta1APIServiceSpec.attributeTypeMap}}V1beta1APIServiceSpec.discriminator=undefined;V1beta1APIServiceSpec.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:"ApiregistrationV1beta1ServiceReference"},{name:"version",baseName:"version",type:"string"},{name:"versionPriority",baseName:"versionPriority",type:"number"}];t.V1beta1APIServiceSpec=V1beta1APIServiceSpec;class V1beta1APIServiceStatus{static getAttributeTypeMap(){return V1beta1APIServiceStatus.attributeTypeMap}}V1beta1APIServiceStatus.discriminator=undefined;V1beta1APIServiceStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array<V1beta1APIServiceCondition>"}];t.V1beta1APIServiceStatus=V1beta1APIServiceStatus;class V1beta1AggregationRule{static getAttributeTypeMap(){return V1beta1AggregationRule.attributeTypeMap}}V1beta1AggregationRule.discriminator=undefined;V1beta1AggregationRule.attributeTypeMap=[{name:"clusterRoleSelectors",baseName:"clusterRoleSelectors",type:"Array<V1LabelSelector>"}];t.V1beta1AggregationRule=V1beta1AggregationRule;class V1beta1CertificateSigningRequest{static getAttributeTypeMap(){return V1beta1CertificateSigningRequest.attributeTypeMap}}V1beta1CertificateSigningRequest.discriminator=undefined;V1beta1CertificateSigningRequest.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1CertificateSigningRequestSpec"},{name:"status",baseName:"status",type:"V1beta1CertificateSigningRequestStatus"}];t.V1beta1CertificateSigningRequest=V1beta1CertificateSigningRequest;class V1beta1CertificateSigningRequestCondition{static getAttributeTypeMap(){return V1beta1CertificateSigningRequestCondition.attributeTypeMap}}V1beta1CertificateSigningRequestCondition.discriminator=undefined;V1beta1CertificateSigningRequestCondition.attributeTypeMap=[{name:"lastUpdateTime",baseName:"lastUpdateTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"type",baseName:"type",type:"string"}];t.V1beta1CertificateSigningRequestCondition=V1beta1CertificateSigningRequestCondition;class V1beta1CertificateSigningRequestList{static getAttributeTypeMap(){return V1beta1CertificateSigningRequestList.attributeTypeMap}}V1beta1CertificateSigningRequestList.discriminator=undefined;V1beta1CertificateSigningRequestList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1CertificateSigningRequest>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1CertificateSigningRequestList=V1beta1CertificateSigningRequestList;class V1beta1CertificateSigningRequestSpec{static getAttributeTypeMap(){return V1beta1CertificateSigningRequestSpec.attributeTypeMap}}V1beta1CertificateSigningRequestSpec.discriminator=undefined;V1beta1CertificateSigningRequestSpec.attributeTypeMap=[{name:"extra",baseName:"extra",type:"{ [key: string]: Array<string>; }"},{name:"groups",baseName:"groups",type:"Array<string>"},{name:"request",baseName:"request",type:"string"},{name:"uid",baseName:"uid",type:"string"},{name:"usages",baseName:"usages",type:"Array<string>"},{name:"username",baseName:"username",type:"string"}];t.V1beta1CertificateSigningRequestSpec=V1beta1CertificateSigningRequestSpec;class V1beta1CertificateSigningRequestStatus{static getAttributeTypeMap(){return V1beta1CertificateSigningRequestStatus.attributeTypeMap}}V1beta1CertificateSigningRequestStatus.discriminator=undefined;V1beta1CertificateSigningRequestStatus.attributeTypeMap=[{name:"certificate",baseName:"certificate",type:"string"},{name:"conditions",baseName:"conditions",type:"Array<V1beta1CertificateSigningRequestCondition>"}];t.V1beta1CertificateSigningRequestStatus=V1beta1CertificateSigningRequestStatus;class V1beta1ClusterRole{static getAttributeTypeMap(){return V1beta1ClusterRole.attributeTypeMap}}V1beta1ClusterRole.discriminator=undefined;V1beta1ClusterRole.attributeTypeMap=[{name:"aggregationRule",baseName:"aggregationRule",type:"V1beta1AggregationRule"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"rules",baseName:"rules",type:"Array<V1beta1PolicyRule>"}];t.V1beta1ClusterRole=V1beta1ClusterRole;class V1beta1ClusterRoleBinding{static getAttributeTypeMap(){return V1beta1ClusterRoleBinding.attributeTypeMap}}V1beta1ClusterRoleBinding.discriminator=undefined;V1beta1ClusterRoleBinding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"roleRef",baseName:"roleRef",type:"V1beta1RoleRef"},{name:"subjects",baseName:"subjects",type:"Array<V1beta1Subject>"}];t.V1beta1ClusterRoleBinding=V1beta1ClusterRoleBinding;class V1beta1ClusterRoleBindingList{static getAttributeTypeMap(){return V1beta1ClusterRoleBindingList.attributeTypeMap}}V1beta1ClusterRoleBindingList.discriminator=undefined;V1beta1ClusterRoleBindingList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1ClusterRoleBinding>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1ClusterRoleBindingList=V1beta1ClusterRoleBindingList;class V1beta1ClusterRoleList{static getAttributeTypeMap(){return V1beta1ClusterRoleList.attributeTypeMap}}V1beta1ClusterRoleList.discriminator=undefined;V1beta1ClusterRoleList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1ClusterRole>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1ClusterRoleList=V1beta1ClusterRoleList;class V1beta1ControllerRevision{static getAttributeTypeMap(){return V1beta1ControllerRevision.attributeTypeMap}}V1beta1ControllerRevision.discriminator=undefined;V1beta1ControllerRevision.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.V1beta1ControllerRevision=V1beta1ControllerRevision;class V1beta1ControllerRevisionList{static getAttributeTypeMap(){return V1beta1ControllerRevisionList.attributeTypeMap}}V1beta1ControllerRevisionList.discriminator=undefined;V1beta1ControllerRevisionList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1ControllerRevision>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1ControllerRevisionList=V1beta1ControllerRevisionList;class V1beta1CronJob{static getAttributeTypeMap(){return V1beta1CronJob.attributeTypeMap}}V1beta1CronJob.discriminator=undefined;V1beta1CronJob.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1CronJobSpec"},{name:"status",baseName:"status",type:"V1beta1CronJobStatus"}];t.V1beta1CronJob=V1beta1CronJob;class V1beta1CronJobList{static getAttributeTypeMap(){return V1beta1CronJobList.attributeTypeMap}}V1beta1CronJobList.discriminator=undefined;V1beta1CronJobList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1CronJob>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1CronJobList=V1beta1CronJobList;class V1beta1CronJobSpec{static getAttributeTypeMap(){return V1beta1CronJobSpec.attributeTypeMap}}V1beta1CronJobSpec.discriminator=undefined;V1beta1CronJobSpec.attributeTypeMap=[{name:"concurrencyPolicy",baseName:"concurrencyPolicy",type:"string"},{name:"failedJobsHistoryLimit",baseName:"failedJobsHistoryLimit",type:"number"},{name:"jobTemplate",baseName:"jobTemplate",type:"V1beta1JobTemplateSpec"},{name:"schedule",baseName:"schedule",type:"string"},{name:"startingDeadlineSeconds",baseName:"startingDeadlineSeconds",type:"number"},{name:"successfulJobsHistoryLimit",baseName:"successfulJobsHistoryLimit",type:"number"},{name:"suspend",baseName:"suspend",type:"boolean"}];t.V1beta1CronJobSpec=V1beta1CronJobSpec;class V1beta1CronJobStatus{static getAttributeTypeMap(){return V1beta1CronJobStatus.attributeTypeMap}}V1beta1CronJobStatus.discriminator=undefined;V1beta1CronJobStatus.attributeTypeMap=[{name:"active",baseName:"active",type:"Array<V1ObjectReference>"},{name:"lastScheduleTime",baseName:"lastScheduleTime",type:"Date"}];t.V1beta1CronJobStatus=V1beta1CronJobStatus;class V1beta1CustomResourceColumnDefinition{static getAttributeTypeMap(){return V1beta1CustomResourceColumnDefinition.attributeTypeMap}}V1beta1CustomResourceColumnDefinition.discriminator=undefined;V1beta1CustomResourceColumnDefinition.attributeTypeMap=[{name:"jSONPath",baseName:"JSONPath",type:"string"},{name:"description",baseName:"description",type:"string"},{name:"format",baseName:"format",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"priority",baseName:"priority",type:"number"},{name:"type",baseName:"type",type:"string"}];t.V1beta1CustomResourceColumnDefinition=V1beta1CustomResourceColumnDefinition;class V1beta1CustomResourceConversion{static getAttributeTypeMap(){return V1beta1CustomResourceConversion.attributeTypeMap}}V1beta1CustomResourceConversion.discriminator=undefined;V1beta1CustomResourceConversion.attributeTypeMap=[{name:"strategy",baseName:"strategy",type:"string"},{name:"webhookClientConfig",baseName:"webhookClientConfig",type:"ApiextensionsV1beta1WebhookClientConfig"}];t.V1beta1CustomResourceConversion=V1beta1CustomResourceConversion;class V1beta1CustomResourceDefinition{static getAttributeTypeMap(){return V1beta1CustomResourceDefinition.attributeTypeMap}}V1beta1CustomResourceDefinition.discriminator=undefined;V1beta1CustomResourceDefinition.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1CustomResourceDefinitionSpec"},{name:"status",baseName:"status",type:"V1beta1CustomResourceDefinitionStatus"}];t.V1beta1CustomResourceDefinition=V1beta1CustomResourceDefinition;class V1beta1CustomResourceDefinitionCondition{static getAttributeTypeMap(){return V1beta1CustomResourceDefinitionCondition.attributeTypeMap}}V1beta1CustomResourceDefinitionCondition.discriminator=undefined;V1beta1CustomResourceDefinitionCondition.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.V1beta1CustomResourceDefinitionCondition=V1beta1CustomResourceDefinitionCondition;class V1beta1CustomResourceDefinitionList{static getAttributeTypeMap(){return V1beta1CustomResourceDefinitionList.attributeTypeMap}}V1beta1CustomResourceDefinitionList.discriminator=undefined;V1beta1CustomResourceDefinitionList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1CustomResourceDefinition>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1CustomResourceDefinitionList=V1beta1CustomResourceDefinitionList;class V1beta1CustomResourceDefinitionNames{static getAttributeTypeMap(){return V1beta1CustomResourceDefinitionNames.attributeTypeMap}}V1beta1CustomResourceDefinitionNames.discriminator=undefined;V1beta1CustomResourceDefinitionNames.attributeTypeMap=[{name:"categories",baseName:"categories",type:"Array<string>"},{name:"kind",baseName:"kind",type:"string"},{name:"listKind",baseName:"listKind",type:"string"},{name:"plural",baseName:"plural",type:"string"},{name:"shortNames",baseName:"shortNames",type:"Array<string>"},{name:"singular",baseName:"singular",type:"string"}];t.V1beta1CustomResourceDefinitionNames=V1beta1CustomResourceDefinitionNames;class V1beta1CustomResourceDefinitionSpec{static getAttributeTypeMap(){return V1beta1CustomResourceDefinitionSpec.attributeTypeMap}}V1beta1CustomResourceDefinitionSpec.discriminator=undefined;V1beta1CustomResourceDefinitionSpec.attributeTypeMap=[{name:"additionalPrinterColumns",baseName:"additionalPrinterColumns",type:"Array<V1beta1CustomResourceColumnDefinition>"},{name:"conversion",baseName:"conversion",type:"V1beta1CustomResourceConversion"},{name:"group",baseName:"group",type:"string"},{name:"names",baseName:"names",type:"V1beta1CustomResourceDefinitionNames"},{name:"scope",baseName:"scope",type:"string"},{name:"subresources",baseName:"subresources",type:"V1beta1CustomResourceSubresources"},{name:"validation",baseName:"validation",type:"V1beta1CustomResourceValidation"},{name:"version",baseName:"version",type:"string"},{name:"versions",baseName:"versions",type:"Array<V1beta1CustomResourceDefinitionVersion>"}];t.V1beta1CustomResourceDefinitionSpec=V1beta1CustomResourceDefinitionSpec;class V1beta1CustomResourceDefinitionStatus{static getAttributeTypeMap(){return V1beta1CustomResourceDefinitionStatus.attributeTypeMap}}V1beta1CustomResourceDefinitionStatus.discriminator=undefined;V1beta1CustomResourceDefinitionStatus.attributeTypeMap=[{name:"acceptedNames",baseName:"acceptedNames",type:"V1beta1CustomResourceDefinitionNames"},{name:"conditions",baseName:"conditions",type:"Array<V1beta1CustomResourceDefinitionCondition>"},{name:"storedVersions",baseName:"storedVersions",type:"Array<string>"}];t.V1beta1CustomResourceDefinitionStatus=V1beta1CustomResourceDefinitionStatus;class V1beta1CustomResourceDefinitionVersion{static getAttributeTypeMap(){return V1beta1CustomResourceDefinitionVersion.attributeTypeMap}}V1beta1CustomResourceDefinitionVersion.discriminator=undefined;V1beta1CustomResourceDefinitionVersion.attributeTypeMap=[{name:"additionalPrinterColumns",baseName:"additionalPrinterColumns",type:"Array<V1beta1CustomResourceColumnDefinition>"},{name:"name",baseName:"name",type:"string"},{name:"schema",baseName:"schema",type:"V1beta1CustomResourceValidation"},{name:"served",baseName:"served",type:"boolean"},{name:"storage",baseName:"storage",type:"boolean"},{name:"subresources",baseName:"subresources",type:"V1beta1CustomResourceSubresources"}];t.V1beta1CustomResourceDefinitionVersion=V1beta1CustomResourceDefinitionVersion;class V1beta1CustomResourceSubresourceScale{static getAttributeTypeMap(){return V1beta1CustomResourceSubresourceScale.attributeTypeMap}}V1beta1CustomResourceSubresourceScale.discriminator=undefined;V1beta1CustomResourceSubresourceScale.attributeTypeMap=[{name:"labelSelectorPath",baseName:"labelSelectorPath",type:"string"},{name:"specReplicasPath",baseName:"specReplicasPath",type:"string"},{name:"statusReplicasPath",baseName:"statusReplicasPath",type:"string"}];t.V1beta1CustomResourceSubresourceScale=V1beta1CustomResourceSubresourceScale;class V1beta1CustomResourceSubresources{static getAttributeTypeMap(){return V1beta1CustomResourceSubresources.attributeTypeMap}}V1beta1CustomResourceSubresources.discriminator=undefined;V1beta1CustomResourceSubresources.attributeTypeMap=[{name:"scale",baseName:"scale",type:"V1beta1CustomResourceSubresourceScale"},{name:"status",baseName:"status",type:"any"}];t.V1beta1CustomResourceSubresources=V1beta1CustomResourceSubresources;class V1beta1CustomResourceValidation{static getAttributeTypeMap(){return V1beta1CustomResourceValidation.attributeTypeMap}}V1beta1CustomResourceValidation.discriminator=undefined;V1beta1CustomResourceValidation.attributeTypeMap=[{name:"openAPIV3Schema",baseName:"openAPIV3Schema",type:"V1beta1JSONSchemaProps"}];t.V1beta1CustomResourceValidation=V1beta1CustomResourceValidation;class V1beta1DaemonSet{static getAttributeTypeMap(){return V1beta1DaemonSet.attributeTypeMap}}V1beta1DaemonSet.discriminator=undefined;V1beta1DaemonSet.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1DaemonSetSpec"},{name:"status",baseName:"status",type:"V1beta1DaemonSetStatus"}];t.V1beta1DaemonSet=V1beta1DaemonSet;class V1beta1DaemonSetCondition{static getAttributeTypeMap(){return V1beta1DaemonSetCondition.attributeTypeMap}}V1beta1DaemonSetCondition.discriminator=undefined;V1beta1DaemonSetCondition.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.V1beta1DaemonSetCondition=V1beta1DaemonSetCondition;class V1beta1DaemonSetList{static getAttributeTypeMap(){return V1beta1DaemonSetList.attributeTypeMap}}V1beta1DaemonSetList.discriminator=undefined;V1beta1DaemonSetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1DaemonSet>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1DaemonSetList=V1beta1DaemonSetList;class V1beta1DaemonSetSpec{static getAttributeTypeMap(){return V1beta1DaemonSetSpec.attributeTypeMap}}V1beta1DaemonSetSpec.discriminator=undefined;V1beta1DaemonSetSpec.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:"templateGeneration",baseName:"templateGeneration",type:"number"},{name:"updateStrategy",baseName:"updateStrategy",type:"V1beta1DaemonSetUpdateStrategy"}];t.V1beta1DaemonSetSpec=V1beta1DaemonSetSpec;class V1beta1DaemonSetStatus{static getAttributeTypeMap(){return V1beta1DaemonSetStatus.attributeTypeMap}}V1beta1DaemonSetStatus.discriminator=undefined;V1beta1DaemonSetStatus.attributeTypeMap=[{name:"collisionCount",baseName:"collisionCount",type:"number"},{name:"conditions",baseName:"conditions",type:"Array<V1beta1DaemonSetCondition>"},{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.V1beta1DaemonSetStatus=V1beta1DaemonSetStatus;class V1beta1DaemonSetUpdateStrategy{static getAttributeTypeMap(){return V1beta1DaemonSetUpdateStrategy.attributeTypeMap}}V1beta1DaemonSetUpdateStrategy.discriminator=undefined;V1beta1DaemonSetUpdateStrategy.attributeTypeMap=[{name:"rollingUpdate",baseName:"rollingUpdate",type:"V1beta1RollingUpdateDaemonSet"},{name:"type",baseName:"type",type:"string"}];t.V1beta1DaemonSetUpdateStrategy=V1beta1DaemonSetUpdateStrategy;class V1beta1Event{static getAttributeTypeMap(){return V1beta1Event.attributeTypeMap}}V1beta1Event.discriminator=undefined;V1beta1Event.attributeTypeMap=[{name:"action",baseName:"action",type:"string"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"deprecatedCount",baseName:"deprecatedCount",type:"number"},{name:"deprecatedFirstTimestamp",baseName:"deprecatedFirstTimestamp",type:"Date"},{name:"deprecatedLastTimestamp",baseName:"deprecatedLastTimestamp",type:"Date"},{name:"deprecatedSource",baseName:"deprecatedSource",type:"V1EventSource"},{name:"eventTime",baseName:"eventTime",type:"Date"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"note",baseName:"note",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"regarding",baseName:"regarding",type:"V1ObjectReference"},{name:"related",baseName:"related",type:"V1ObjectReference"},{name:"reportingController",baseName:"reportingController",type:"string"},{name:"reportingInstance",baseName:"reportingInstance",type:"string"},{name:"series",baseName:"series",type:"V1beta1EventSeries"},{name:"type",baseName:"type",type:"string"}];t.V1beta1Event=V1beta1Event;class V1beta1EventList{static getAttributeTypeMap(){return V1beta1EventList.attributeTypeMap}}V1beta1EventList.discriminator=undefined;V1beta1EventList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1Event>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1EventList=V1beta1EventList;class V1beta1EventSeries{static getAttributeTypeMap(){return V1beta1EventSeries.attributeTypeMap}}V1beta1EventSeries.discriminator=undefined;V1beta1EventSeries.attributeTypeMap=[{name:"count",baseName:"count",type:"number"},{name:"lastObservedTime",baseName:"lastObservedTime",type:"Date"},{name:"state",baseName:"state",type:"string"}];t.V1beta1EventSeries=V1beta1EventSeries;class V1beta1Eviction{static getAttributeTypeMap(){return V1beta1Eviction.attributeTypeMap}}V1beta1Eviction.discriminator=undefined;V1beta1Eviction.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"deleteOptions",baseName:"deleteOptions",type:"V1DeleteOptions"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"}];t.V1beta1Eviction=V1beta1Eviction;class V1beta1ExternalDocumentation{static getAttributeTypeMap(){return V1beta1ExternalDocumentation.attributeTypeMap}}V1beta1ExternalDocumentation.discriminator=undefined;V1beta1ExternalDocumentation.attributeTypeMap=[{name:"description",baseName:"description",type:"string"},{name:"url",baseName:"url",type:"string"}];t.V1beta1ExternalDocumentation=V1beta1ExternalDocumentation;class V1beta1HTTPIngressPath{static getAttributeTypeMap(){return V1beta1HTTPIngressPath.attributeTypeMap}}V1beta1HTTPIngressPath.discriminator=undefined;V1beta1HTTPIngressPath.attributeTypeMap=[{name:"backend",baseName:"backend",type:"V1beta1IngressBackend"},{name:"path",baseName:"path",type:"string"}];t.V1beta1HTTPIngressPath=V1beta1HTTPIngressPath;class V1beta1HTTPIngressRuleValue{static getAttributeTypeMap(){return V1beta1HTTPIngressRuleValue.attributeTypeMap}}V1beta1HTTPIngressRuleValue.discriminator=undefined;V1beta1HTTPIngressRuleValue.attributeTypeMap=[{name:"paths",baseName:"paths",type:"Array<V1beta1HTTPIngressPath>"}];t.V1beta1HTTPIngressRuleValue=V1beta1HTTPIngressRuleValue;class V1beta1IPBlock{static getAttributeTypeMap(){return V1beta1IPBlock.attributeTypeMap}}V1beta1IPBlock.discriminator=undefined;V1beta1IPBlock.attributeTypeMap=[{name:"cidr",baseName:"cidr",type:"string"},{name:"except",baseName:"except",type:"Array<string>"}];t.V1beta1IPBlock=V1beta1IPBlock;class V1beta1Ingress{static getAttributeTypeMap(){return V1beta1Ingress.attributeTypeMap}}V1beta1Ingress.discriminator=undefined;V1beta1Ingress.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1IngressSpec"},{name:"status",baseName:"status",type:"V1beta1IngressStatus"}];t.V1beta1Ingress=V1beta1Ingress;class V1beta1IngressBackend{static getAttributeTypeMap(){return V1beta1IngressBackend.attributeTypeMap}}V1beta1IngressBackend.discriminator=undefined;V1beta1IngressBackend.attributeTypeMap=[{name:"serviceName",baseName:"serviceName",type:"string"},{name:"servicePort",baseName:"servicePort",type:"any"}];t.V1beta1IngressBackend=V1beta1IngressBackend;class V1beta1IngressList{static getAttributeTypeMap(){return V1beta1IngressList.attributeTypeMap}}V1beta1IngressList.discriminator=undefined;V1beta1IngressList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1Ingress>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1IngressList=V1beta1IngressList;class V1beta1IngressRule{static getAttributeTypeMap(){return V1beta1IngressRule.attributeTypeMap}}V1beta1IngressRule.discriminator=undefined;V1beta1IngressRule.attributeTypeMap=[{name:"host",baseName:"host",type:"string"},{name:"http",baseName:"http",type:"V1beta1HTTPIngressRuleValue"}];t.V1beta1IngressRule=V1beta1IngressRule;class V1beta1IngressSpec{static getAttributeTypeMap(){return V1beta1IngressSpec.attributeTypeMap}}V1beta1IngressSpec.discriminator=undefined;V1beta1IngressSpec.attributeTypeMap=[{name:"backend",baseName:"backend",type:"V1beta1IngressBackend"},{name:"rules",baseName:"rules",type:"Array<V1beta1IngressRule>"},{name:"tls",baseName:"tls",type:"Array<V1beta1IngressTLS>"}];t.V1beta1IngressSpec=V1beta1IngressSpec;class V1beta1IngressStatus{static getAttributeTypeMap(){return V1beta1IngressStatus.attributeTypeMap}}V1beta1IngressStatus.discriminator=undefined;V1beta1IngressStatus.attributeTypeMap=[{name:"loadBalancer",baseName:"loadBalancer",type:"V1LoadBalancerStatus"}];t.V1beta1IngressStatus=V1beta1IngressStatus;class V1beta1IngressTLS{static getAttributeTypeMap(){return V1beta1IngressTLS.attributeTypeMap}}V1beta1IngressTLS.discriminator=undefined;V1beta1IngressTLS.attributeTypeMap=[{name:"hosts",baseName:"hosts",type:"Array<string>"},{name:"secretName",baseName:"secretName",type:"string"}];t.V1beta1IngressTLS=V1beta1IngressTLS;class V1beta1JSONSchemaProps{static getAttributeTypeMap(){return V1beta1JSONSchemaProps.attributeTypeMap}}V1beta1JSONSchemaProps.discriminator=undefined;V1beta1JSONSchemaProps.attributeTypeMap=[{name:"ref",baseName:"$ref",type:"string"},{name:"schema",baseName:"$schema",type:"string"},{name:"additionalItems",baseName:"additionalItems",type:"any"},{name:"additionalProperties",baseName:"additionalProperties",type:"any"},{name:"allOf",baseName:"allOf",type:"Array<V1beta1JSONSchemaProps>"},{name:"anyOf",baseName:"anyOf",type:"Array<V1beta1JSONSchemaProps>"},{name:"_default",baseName:"default",type:"any"},{name:"definitions",baseName:"definitions",type:"{ [key: string]: V1beta1JSONSchemaProps; }"},{name:"dependencies",baseName:"dependencies",type:"{ [key: string]: any; }"},{name:"description",baseName:"description",type:"string"},{name:"_enum",baseName:"enum",type:"Array<any>"},{name:"example",baseName:"example",type:"any"},{name:"exclusiveMaximum",baseName:"exclusiveMaximum",type:"boolean"},{name:"exclusiveMinimum",baseName:"exclusiveMinimum",type:"boolean"},{name:"externalDocs",baseName:"externalDocs",type:"V1beta1ExternalDocumentation"},{name:"format",baseName:"format",type:"string"},{name:"id",baseName:"id",type:"string"},{name:"items",baseName:"items",type:"any"},{name:"maxItems",baseName:"maxItems",type:"number"},{name:"maxLength",baseName:"maxLength",type:"number"},{name:"maxProperties",baseName:"maxProperties",type:"number"},{name:"maximum",baseName:"maximum",type:"number"},{name:"minItems",baseName:"minItems",type:"number"},{name:"minLength",baseName:"minLength",type:"number"},{name:"minProperties",baseName:"minProperties",type:"number"},{name:"minimum",baseName:"minimum",type:"number"},{name:"multipleOf",baseName:"multipleOf",type:"number"},{name:"not",baseName:"not",type:"V1beta1JSONSchemaProps"},{name:"oneOf",baseName:"oneOf",type:"Array<V1beta1JSONSchemaProps>"},{name:"pattern",baseName:"pattern",type:"string"},{name:"patternProperties",baseName:"patternProperties",type:"{ [key: string]: V1beta1JSONSchemaProps; }"},{name:"properties",baseName:"properties",type:"{ [key: string]: V1beta1JSONSchemaProps; }"},{name:"required",baseName:"required",type:"Array<string>"},{name:"title",baseName:"title",type:"string"},{name:"type",baseName:"type",type:"string"},{name:"uniqueItems",baseName:"uniqueItems",type:"boolean"}];t.V1beta1JSONSchemaProps=V1beta1JSONSchemaProps;class V1beta1JobTemplateSpec{static getAttributeTypeMap(){return V1beta1JobTemplateSpec.attributeTypeMap}}V1beta1JobTemplateSpec.discriminator=undefined;V1beta1JobTemplateSpec.attributeTypeMap=[{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1JobSpec"}];t.V1beta1JobTemplateSpec=V1beta1JobTemplateSpec;class V1beta1Lease{static getAttributeTypeMap(){return V1beta1Lease.attributeTypeMap}}V1beta1Lease.discriminator=undefined;V1beta1Lease.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1LeaseSpec"}];t.V1beta1Lease=V1beta1Lease;class V1beta1LeaseList{static getAttributeTypeMap(){return V1beta1LeaseList.attributeTypeMap}}V1beta1LeaseList.discriminator=undefined;V1beta1LeaseList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1Lease>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1LeaseList=V1beta1LeaseList;class V1beta1LeaseSpec{static getAttributeTypeMap(){return V1beta1LeaseSpec.attributeTypeMap}}V1beta1LeaseSpec.discriminator=undefined;V1beta1LeaseSpec.attributeTypeMap=[{name:"acquireTime",baseName:"acquireTime",type:"Date"},{name:"holderIdentity",baseName:"holderIdentity",type:"string"},{name:"leaseDurationSeconds",baseName:"leaseDurationSeconds",type:"number"},{name:"leaseTransitions",baseName:"leaseTransitions",type:"number"},{name:"renewTime",baseName:"renewTime",type:"Date"}];t.V1beta1LeaseSpec=V1beta1LeaseSpec;class V1beta1LocalSubjectAccessReview{static getAttributeTypeMap(){return V1beta1LocalSubjectAccessReview.attributeTypeMap}}V1beta1LocalSubjectAccessReview.discriminator=undefined;V1beta1LocalSubjectAccessReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1SubjectAccessReviewSpec"},{name:"status",baseName:"status",type:"V1beta1SubjectAccessReviewStatus"}];t.V1beta1LocalSubjectAccessReview=V1beta1LocalSubjectAccessReview;class V1beta1MutatingWebhookConfiguration{static getAttributeTypeMap(){return V1beta1MutatingWebhookConfiguration.attributeTypeMap}}V1beta1MutatingWebhookConfiguration.discriminator=undefined;V1beta1MutatingWebhookConfiguration.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"webhooks",baseName:"webhooks",type:"Array<V1beta1Webhook>"}];t.V1beta1MutatingWebhookConfiguration=V1beta1MutatingWebhookConfiguration;class V1beta1MutatingWebhookConfigurationList{static getAttributeTypeMap(){return V1beta1MutatingWebhookConfigurationList.attributeTypeMap}}V1beta1MutatingWebhookConfigurationList.discriminator=undefined;V1beta1MutatingWebhookConfigurationList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1MutatingWebhookConfiguration>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1MutatingWebhookConfigurationList=V1beta1MutatingWebhookConfigurationList;class V1beta1NetworkPolicy{static getAttributeTypeMap(){return V1beta1NetworkPolicy.attributeTypeMap}}V1beta1NetworkPolicy.discriminator=undefined;V1beta1NetworkPolicy.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1NetworkPolicySpec"}];t.V1beta1NetworkPolicy=V1beta1NetworkPolicy;class V1beta1NetworkPolicyEgressRule{static getAttributeTypeMap(){return V1beta1NetworkPolicyEgressRule.attributeTypeMap}}V1beta1NetworkPolicyEgressRule.discriminator=undefined;V1beta1NetworkPolicyEgressRule.attributeTypeMap=[{name:"ports",baseName:"ports",type:"Array<V1beta1NetworkPolicyPort>"},{name:"to",baseName:"to",type:"Array<V1beta1NetworkPolicyPeer>"}];t.V1beta1NetworkPolicyEgressRule=V1beta1NetworkPolicyEgressRule;class V1beta1NetworkPolicyIngressRule{static getAttributeTypeMap(){return V1beta1NetworkPolicyIngressRule.attributeTypeMap}}V1beta1NetworkPolicyIngressRule.discriminator=undefined;V1beta1NetworkPolicyIngressRule.attributeTypeMap=[{name:"from",baseName:"from",type:"Array<V1beta1NetworkPolicyPeer>"},{name:"ports",baseName:"ports",type:"Array<V1beta1NetworkPolicyPort>"}];t.V1beta1NetworkPolicyIngressRule=V1beta1NetworkPolicyIngressRule;class V1beta1NetworkPolicyList{static getAttributeTypeMap(){return V1beta1NetworkPolicyList.attributeTypeMap}}V1beta1NetworkPolicyList.discriminator=undefined;V1beta1NetworkPolicyList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1NetworkPolicy>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1NetworkPolicyList=V1beta1NetworkPolicyList;class V1beta1NetworkPolicyPeer{static getAttributeTypeMap(){return V1beta1NetworkPolicyPeer.attributeTypeMap}}V1beta1NetworkPolicyPeer.discriminator=undefined;V1beta1NetworkPolicyPeer.attributeTypeMap=[{name:"ipBlock",baseName:"ipBlock",type:"V1beta1IPBlock"},{name:"namespaceSelector",baseName:"namespaceSelector",type:"V1LabelSelector"},{name:"podSelector",baseName:"podSelector",type:"V1LabelSelector"}];t.V1beta1NetworkPolicyPeer=V1beta1NetworkPolicyPeer;class V1beta1NetworkPolicyPort{static getAttributeTypeMap(){return V1beta1NetworkPolicyPort.attributeTypeMap}}V1beta1NetworkPolicyPort.discriminator=undefined;V1beta1NetworkPolicyPort.attributeTypeMap=[{name:"port",baseName:"port",type:"any"},{name:"protocol",baseName:"protocol",type:"string"}];t.V1beta1NetworkPolicyPort=V1beta1NetworkPolicyPort;class V1beta1NetworkPolicySpec{static getAttributeTypeMap(){return V1beta1NetworkPolicySpec.attributeTypeMap}}V1beta1NetworkPolicySpec.discriminator=undefined;V1beta1NetworkPolicySpec.attributeTypeMap=[{name:"egress",baseName:"egress",type:"Array<V1beta1NetworkPolicyEgressRule>"},{name:"ingress",baseName:"ingress",type:"Array<V1beta1NetworkPolicyIngressRule>"},{name:"podSelector",baseName:"podSelector",type:"V1LabelSelector"},{name:"policyTypes",baseName:"policyTypes",type:"Array<string>"}];t.V1beta1NetworkPolicySpec=V1beta1NetworkPolicySpec;class V1beta1NonResourceAttributes{static getAttributeTypeMap(){return V1beta1NonResourceAttributes.attributeTypeMap}}V1beta1NonResourceAttributes.discriminator=undefined;V1beta1NonResourceAttributes.attributeTypeMap=[{name:"path",baseName:"path",type:"string"},{name:"verb",baseName:"verb",type:"string"}];t.V1beta1NonResourceAttributes=V1beta1NonResourceAttributes;class V1beta1NonResourceRule{static getAttributeTypeMap(){return V1beta1NonResourceRule.attributeTypeMap}}V1beta1NonResourceRule.discriminator=undefined;V1beta1NonResourceRule.attributeTypeMap=[{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array<string>"},{name:"verbs",baseName:"verbs",type:"Array<string>"}];t.V1beta1NonResourceRule=V1beta1NonResourceRule;class V1beta1PodDisruptionBudget{static getAttributeTypeMap(){return V1beta1PodDisruptionBudget.attributeTypeMap}}V1beta1PodDisruptionBudget.discriminator=undefined;V1beta1PodDisruptionBudget.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1PodDisruptionBudgetSpec"},{name:"status",baseName:"status",type:"V1beta1PodDisruptionBudgetStatus"}];t.V1beta1PodDisruptionBudget=V1beta1PodDisruptionBudget;class V1beta1PodDisruptionBudgetList{static getAttributeTypeMap(){return V1beta1PodDisruptionBudgetList.attributeTypeMap}}V1beta1PodDisruptionBudgetList.discriminator=undefined;V1beta1PodDisruptionBudgetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1PodDisruptionBudget>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1PodDisruptionBudgetList=V1beta1PodDisruptionBudgetList;class V1beta1PodDisruptionBudgetSpec{static getAttributeTypeMap(){return V1beta1PodDisruptionBudgetSpec.attributeTypeMap}}V1beta1PodDisruptionBudgetSpec.discriminator=undefined;V1beta1PodDisruptionBudgetSpec.attributeTypeMap=[{name:"maxUnavailable",baseName:"maxUnavailable",type:"any"},{name:"minAvailable",baseName:"minAvailable",type:"any"},{name:"selector",baseName:"selector",type:"V1LabelSelector"}];t.V1beta1PodDisruptionBudgetSpec=V1beta1PodDisruptionBudgetSpec;class V1beta1PodDisruptionBudgetStatus{static getAttributeTypeMap(){return V1beta1PodDisruptionBudgetStatus.attributeTypeMap}}V1beta1PodDisruptionBudgetStatus.discriminator=undefined;V1beta1PodDisruptionBudgetStatus.attributeTypeMap=[{name:"currentHealthy",baseName:"currentHealthy",type:"number"},{name:"desiredHealthy",baseName:"desiredHealthy",type:"number"},{name:"disruptedPods",baseName:"disruptedPods",type:"{ [key: string]: Date; }"},{name:"disruptionsAllowed",baseName:"disruptionsAllowed",type:"number"},{name:"expectedPods",baseName:"expectedPods",type:"number"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"}];t.V1beta1PodDisruptionBudgetStatus=V1beta1PodDisruptionBudgetStatus;class V1beta1PolicyRule{static getAttributeTypeMap(){return V1beta1PolicyRule.attributeTypeMap}}V1beta1PolicyRule.discriminator=undefined;V1beta1PolicyRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array<string>"},{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array<string>"},{name:"resourceNames",baseName:"resourceNames",type:"Array<string>"},{name:"resources",baseName:"resources",type:"Array<string>"},{name:"verbs",baseName:"verbs",type:"Array<string>"}];t.V1beta1PolicyRule=V1beta1PolicyRule;class V1beta1PriorityClass{static getAttributeTypeMap(){return V1beta1PriorityClass.attributeTypeMap}}V1beta1PriorityClass.discriminator=undefined;V1beta1PriorityClass.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"description",baseName:"description",type:"string"},{name:"globalDefault",baseName:"globalDefault",type:"boolean"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"value",baseName:"value",type:"number"}];t.V1beta1PriorityClass=V1beta1PriorityClass;class V1beta1PriorityClassList{static getAttributeTypeMap(){return V1beta1PriorityClassList.attributeTypeMap}}V1beta1PriorityClassList.discriminator=undefined;V1beta1PriorityClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1PriorityClass>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1PriorityClassList=V1beta1PriorityClassList;class V1beta1ReplicaSet{static getAttributeTypeMap(){return V1beta1ReplicaSet.attributeTypeMap}}V1beta1ReplicaSet.discriminator=undefined;V1beta1ReplicaSet.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1ReplicaSetSpec"},{name:"status",baseName:"status",type:"V1beta1ReplicaSetStatus"}];t.V1beta1ReplicaSet=V1beta1ReplicaSet;class V1beta1ReplicaSetCondition{static getAttributeTypeMap(){return V1beta1ReplicaSetCondition.attributeTypeMap}}V1beta1ReplicaSetCondition.discriminator=undefined;V1beta1ReplicaSetCondition.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.V1beta1ReplicaSetCondition=V1beta1ReplicaSetCondition;class V1beta1ReplicaSetList{static getAttributeTypeMap(){return V1beta1ReplicaSetList.attributeTypeMap}}V1beta1ReplicaSetList.discriminator=undefined;V1beta1ReplicaSetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1ReplicaSet>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1ReplicaSetList=V1beta1ReplicaSetList;class V1beta1ReplicaSetSpec{static getAttributeTypeMap(){return V1beta1ReplicaSetSpec.attributeTypeMap}}V1beta1ReplicaSetSpec.discriminator=undefined;V1beta1ReplicaSetSpec.attributeTypeMap=[{name:"minReadySeconds",baseName:"minReadySeconds",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"}];t.V1beta1ReplicaSetSpec=V1beta1ReplicaSetSpec;class V1beta1ReplicaSetStatus{static getAttributeTypeMap(){return V1beta1ReplicaSetStatus.attributeTypeMap}}V1beta1ReplicaSetStatus.discriminator=undefined;V1beta1ReplicaSetStatus.attributeTypeMap=[{name:"availableReplicas",baseName:"availableReplicas",type:"number"},{name:"conditions",baseName:"conditions",type:"Array<V1beta1ReplicaSetCondition>"},{name:"fullyLabeledReplicas",baseName:"fullyLabeledReplicas",type:"number"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"readyReplicas",baseName:"readyReplicas",type:"number"},{name:"replicas",baseName:"replicas",type:"number"}];t.V1beta1ReplicaSetStatus=V1beta1ReplicaSetStatus;class V1beta1ResourceAttributes{static getAttributeTypeMap(){return V1beta1ResourceAttributes.attributeTypeMap}}V1beta1ResourceAttributes.discriminator=undefined;V1beta1ResourceAttributes.attributeTypeMap=[{name:"group",baseName:"group",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"resource",baseName:"resource",type:"string"},{name:"subresource",baseName:"subresource",type:"string"},{name:"verb",baseName:"verb",type:"string"},{name:"version",baseName:"version",type:"string"}];t.V1beta1ResourceAttributes=V1beta1ResourceAttributes;class V1beta1ResourceRule{static getAttributeTypeMap(){return V1beta1ResourceRule.attributeTypeMap}}V1beta1ResourceRule.discriminator=undefined;V1beta1ResourceRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array<string>"},{name:"resourceNames",baseName:"resourceNames",type:"Array<string>"},{name:"resources",baseName:"resources",type:"Array<string>"},{name:"verbs",baseName:"verbs",type:"Array<string>"}];t.V1beta1ResourceRule=V1beta1ResourceRule;class V1beta1Role{static getAttributeTypeMap(){return V1beta1Role.attributeTypeMap}}V1beta1Role.discriminator=undefined;V1beta1Role.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"rules",baseName:"rules",type:"Array<V1beta1PolicyRule>"}];t.V1beta1Role=V1beta1Role;class V1beta1RoleBinding{static getAttributeTypeMap(){return V1beta1RoleBinding.attributeTypeMap}}V1beta1RoleBinding.discriminator=undefined;V1beta1RoleBinding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"roleRef",baseName:"roleRef",type:"V1beta1RoleRef"},{name:"subjects",baseName:"subjects",type:"Array<V1beta1Subject>"}];t.V1beta1RoleBinding=V1beta1RoleBinding;class V1beta1RoleBindingList{static getAttributeTypeMap(){return V1beta1RoleBindingList.attributeTypeMap}}V1beta1RoleBindingList.discriminator=undefined;V1beta1RoleBindingList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1RoleBinding>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1RoleBindingList=V1beta1RoleBindingList;class V1beta1RoleList{static getAttributeTypeMap(){return V1beta1RoleList.attributeTypeMap}}V1beta1RoleList.discriminator=undefined;V1beta1RoleList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1Role>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1RoleList=V1beta1RoleList;class V1beta1RoleRef{static getAttributeTypeMap(){return V1beta1RoleRef.attributeTypeMap}}V1beta1RoleRef.discriminator=undefined;V1beta1RoleRef.attributeTypeMap=[{name:"apiGroup",baseName:"apiGroup",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}];t.V1beta1RoleRef=V1beta1RoleRef;class V1beta1RollingUpdateDaemonSet{static getAttributeTypeMap(){return V1beta1RollingUpdateDaemonSet.attributeTypeMap}}V1beta1RollingUpdateDaemonSet.discriminator=undefined;V1beta1RollingUpdateDaemonSet.attributeTypeMap=[{name:"maxUnavailable",baseName:"maxUnavailable",type:"any"}];t.V1beta1RollingUpdateDaemonSet=V1beta1RollingUpdateDaemonSet;class V1beta1RollingUpdateStatefulSetStrategy{static getAttributeTypeMap(){return V1beta1RollingUpdateStatefulSetStrategy.attributeTypeMap}}V1beta1RollingUpdateStatefulSetStrategy.discriminator=undefined;V1beta1RollingUpdateStatefulSetStrategy.attributeTypeMap=[{name:"partition",baseName:"partition",type:"number"}];t.V1beta1RollingUpdateStatefulSetStrategy=V1beta1RollingUpdateStatefulSetStrategy;class V1beta1RuleWithOperations{static getAttributeTypeMap(){return V1beta1RuleWithOperations.attributeTypeMap}}V1beta1RuleWithOperations.discriminator=undefined;V1beta1RuleWithOperations.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array<string>"},{name:"apiVersions",baseName:"apiVersions",type:"Array<string>"},{name:"operations",baseName:"operations",type:"Array<string>"},{name:"resources",baseName:"resources",type:"Array<string>"}];t.V1beta1RuleWithOperations=V1beta1RuleWithOperations;class V1beta1SelfSubjectAccessReview{static getAttributeTypeMap(){return V1beta1SelfSubjectAccessReview.attributeTypeMap}}V1beta1SelfSubjectAccessReview.discriminator=undefined;V1beta1SelfSubjectAccessReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1SelfSubjectAccessReviewSpec"},{name:"status",baseName:"status",type:"V1beta1SubjectAccessReviewStatus"}];t.V1beta1SelfSubjectAccessReview=V1beta1SelfSubjectAccessReview;class V1beta1SelfSubjectAccessReviewSpec{static getAttributeTypeMap(){return V1beta1SelfSubjectAccessReviewSpec.attributeTypeMap}}V1beta1SelfSubjectAccessReviewSpec.discriminator=undefined;V1beta1SelfSubjectAccessReviewSpec.attributeTypeMap=[{name:"nonResourceAttributes",baseName:"nonResourceAttributes",type:"V1beta1NonResourceAttributes"},{name:"resourceAttributes",baseName:"resourceAttributes",type:"V1beta1ResourceAttributes"}];t.V1beta1SelfSubjectAccessReviewSpec=V1beta1SelfSubjectAccessReviewSpec;class V1beta1SelfSubjectRulesReview{static getAttributeTypeMap(){return V1beta1SelfSubjectRulesReview.attributeTypeMap}}V1beta1SelfSubjectRulesReview.discriminator=undefined;V1beta1SelfSubjectRulesReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1SelfSubjectRulesReviewSpec"},{name:"status",baseName:"status",type:"V1beta1SubjectRulesReviewStatus"}];t.V1beta1SelfSubjectRulesReview=V1beta1SelfSubjectRulesReview;class V1beta1SelfSubjectRulesReviewSpec{static getAttributeTypeMap(){return V1beta1SelfSubjectRulesReviewSpec.attributeTypeMap}}V1beta1SelfSubjectRulesReviewSpec.discriminator=undefined;V1beta1SelfSubjectRulesReviewSpec.attributeTypeMap=[{name:"namespace",baseName:"namespace",type:"string"}];t.V1beta1SelfSubjectRulesReviewSpec=V1beta1SelfSubjectRulesReviewSpec;class V1beta1StatefulSet{static getAttributeTypeMap(){return V1beta1StatefulSet.attributeTypeMap}}V1beta1StatefulSet.discriminator=undefined;V1beta1StatefulSet.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1StatefulSetSpec"},{name:"status",baseName:"status",type:"V1beta1StatefulSetStatus"}];t.V1beta1StatefulSet=V1beta1StatefulSet;class V1beta1StatefulSetCondition{static getAttributeTypeMap(){return V1beta1StatefulSetCondition.attributeTypeMap}}V1beta1StatefulSetCondition.discriminator=undefined;V1beta1StatefulSetCondition.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.V1beta1StatefulSetCondition=V1beta1StatefulSetCondition;class V1beta1StatefulSetList{static getAttributeTypeMap(){return V1beta1StatefulSetList.attributeTypeMap}}V1beta1StatefulSetList.discriminator=undefined;V1beta1StatefulSetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1StatefulSet>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1StatefulSetList=V1beta1StatefulSetList;class V1beta1StatefulSetSpec{static getAttributeTypeMap(){return V1beta1StatefulSetSpec.attributeTypeMap}}V1beta1StatefulSetSpec.discriminator=undefined;V1beta1StatefulSetSpec.attributeTypeMap=[{name:"podManagementPolicy",baseName:"podManagementPolicy",type:"string"},{name:"replicas",baseName:"replicas",type:"number"},{name:"revisionHistoryLimit",baseName:"revisionHistoryLimit",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"serviceName",baseName:"serviceName",type:"string"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"},{name:"updateStrategy",baseName:"updateStrategy",type:"V1beta1StatefulSetUpdateStrategy"},{name:"volumeClaimTemplates",baseName:"volumeClaimTemplates",type:"Array<V1PersistentVolumeClaim>"}];t.V1beta1StatefulSetSpec=V1beta1StatefulSetSpec;class V1beta1StatefulSetStatus{static getAttributeTypeMap(){return V1beta1StatefulSetStatus.attributeTypeMap}}V1beta1StatefulSetStatus.discriminator=undefined;V1beta1StatefulSetStatus.attributeTypeMap=[{name:"collisionCount",baseName:"collisionCount",type:"number"},{name:"conditions",baseName:"conditions",type:"Array<V1beta1StatefulSetCondition>"},{name:"currentReplicas",baseName:"currentReplicas",type:"number"},{name:"currentRevision",baseName:"currentRevision",type:"string"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"readyReplicas",baseName:"readyReplicas",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"updateRevision",baseName:"updateRevision",type:"string"},{name:"updatedReplicas",baseName:"updatedReplicas",type:"number"}];t.V1beta1StatefulSetStatus=V1beta1StatefulSetStatus;class V1beta1StatefulSetUpdateStrategy{static getAttributeTypeMap(){return V1beta1StatefulSetUpdateStrategy.attributeTypeMap}}V1beta1StatefulSetUpdateStrategy.discriminator=undefined;V1beta1StatefulSetUpdateStrategy.attributeTypeMap=[{name:"rollingUpdate",baseName:"rollingUpdate",type:"V1beta1RollingUpdateStatefulSetStrategy"},{name:"type",baseName:"type",type:"string"}];t.V1beta1StatefulSetUpdateStrategy=V1beta1StatefulSetUpdateStrategy;class V1beta1StorageClass{static getAttributeTypeMap(){return V1beta1StorageClass.attributeTypeMap}}V1beta1StorageClass.discriminator=undefined;V1beta1StorageClass.attributeTypeMap=[{name:"allowVolumeExpansion",baseName:"allowVolumeExpansion",type:"boolean"},{name:"allowedTopologies",baseName:"allowedTopologies",type:"Array<V1TopologySelectorTerm>"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"mountOptions",baseName:"mountOptions",type:"Array<string>"},{name:"parameters",baseName:"parameters",type:"{ [key: string]: string; }"},{name:"provisioner",baseName:"provisioner",type:"string"},{name:"reclaimPolicy",baseName:"reclaimPolicy",type:"string"},{name:"volumeBindingMode",baseName:"volumeBindingMode",type:"string"}];t.V1beta1StorageClass=V1beta1StorageClass;class V1beta1StorageClassList{static getAttributeTypeMap(){return V1beta1StorageClassList.attributeTypeMap}}V1beta1StorageClassList.discriminator=undefined;V1beta1StorageClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1StorageClass>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1StorageClassList=V1beta1StorageClassList;class V1beta1Subject{static getAttributeTypeMap(){return V1beta1Subject.attributeTypeMap}}V1beta1Subject.discriminator=undefined;V1beta1Subject.attributeTypeMap=[{name:"apiGroup",baseName:"apiGroup",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"}];t.V1beta1Subject=V1beta1Subject;class V1beta1SubjectAccessReview{static getAttributeTypeMap(){return V1beta1SubjectAccessReview.attributeTypeMap}}V1beta1SubjectAccessReview.discriminator=undefined;V1beta1SubjectAccessReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1SubjectAccessReviewSpec"},{name:"status",baseName:"status",type:"V1beta1SubjectAccessReviewStatus"}];t.V1beta1SubjectAccessReview=V1beta1SubjectAccessReview;class V1beta1SubjectAccessReviewSpec{static getAttributeTypeMap(){return V1beta1SubjectAccessReviewSpec.attributeTypeMap}}V1beta1SubjectAccessReviewSpec.discriminator=undefined;V1beta1SubjectAccessReviewSpec.attributeTypeMap=[{name:"extra",baseName:"extra",type:"{ [key: string]: Array<string>; }"},{name:"group",baseName:"group",type:"Array<string>"},{name:"nonResourceAttributes",baseName:"nonResourceAttributes",type:"V1beta1NonResourceAttributes"},{name:"resourceAttributes",baseName:"resourceAttributes",type:"V1beta1ResourceAttributes"},{name:"uid",baseName:"uid",type:"string"},{name:"user",baseName:"user",type:"string"}];t.V1beta1SubjectAccessReviewSpec=V1beta1SubjectAccessReviewSpec;class V1beta1SubjectAccessReviewStatus{static getAttributeTypeMap(){return V1beta1SubjectAccessReviewStatus.attributeTypeMap}}V1beta1SubjectAccessReviewStatus.discriminator=undefined;V1beta1SubjectAccessReviewStatus.attributeTypeMap=[{name:"allowed",baseName:"allowed",type:"boolean"},{name:"denied",baseName:"denied",type:"boolean"},{name:"evaluationError",baseName:"evaluationError",type:"string"},{name:"reason",baseName:"reason",type:"string"}];t.V1beta1SubjectAccessReviewStatus=V1beta1SubjectAccessReviewStatus;class V1beta1SubjectRulesReviewStatus{static getAttributeTypeMap(){return V1beta1SubjectRulesReviewStatus.attributeTypeMap}}V1beta1SubjectRulesReviewStatus.discriminator=undefined;V1beta1SubjectRulesReviewStatus.attributeTypeMap=[{name:"evaluationError",baseName:"evaluationError",type:"string"},{name:"incomplete",baseName:"incomplete",type:"boolean"},{name:"nonResourceRules",baseName:"nonResourceRules",type:"Array<V1beta1NonResourceRule>"},{name:"resourceRules",baseName:"resourceRules",type:"Array<V1beta1ResourceRule>"}];t.V1beta1SubjectRulesReviewStatus=V1beta1SubjectRulesReviewStatus;class V1beta1TokenReview{static getAttributeTypeMap(){return V1beta1TokenReview.attributeTypeMap}}V1beta1TokenReview.discriminator=undefined;V1beta1TokenReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1TokenReviewSpec"},{name:"status",baseName:"status",type:"V1beta1TokenReviewStatus"}];t.V1beta1TokenReview=V1beta1TokenReview;class V1beta1TokenReviewSpec{static getAttributeTypeMap(){return V1beta1TokenReviewSpec.attributeTypeMap}}V1beta1TokenReviewSpec.discriminator=undefined;V1beta1TokenReviewSpec.attributeTypeMap=[{name:"audiences",baseName:"audiences",type:"Array<string>"},{name:"token",baseName:"token",type:"string"}];t.V1beta1TokenReviewSpec=V1beta1TokenReviewSpec;class V1beta1TokenReviewStatus{static getAttributeTypeMap(){return V1beta1TokenReviewStatus.attributeTypeMap}}V1beta1TokenReviewStatus.discriminator=undefined;V1beta1TokenReviewStatus.attributeTypeMap=[{name:"audiences",baseName:"audiences",type:"Array<string>"},{name:"authenticated",baseName:"authenticated",type:"boolean"},{name:"error",baseName:"error",type:"string"},{name:"user",baseName:"user",type:"V1beta1UserInfo"}];t.V1beta1TokenReviewStatus=V1beta1TokenReviewStatus;class V1beta1UserInfo{static getAttributeTypeMap(){return V1beta1UserInfo.attributeTypeMap}}V1beta1UserInfo.discriminator=undefined;V1beta1UserInfo.attributeTypeMap=[{name:"extra",baseName:"extra",type:"{ [key: string]: Array<string>; }"},{name:"groups",baseName:"groups",type:"Array<string>"},{name:"uid",baseName:"uid",type:"string"},{name:"username",baseName:"username",type:"string"}];t.V1beta1UserInfo=V1beta1UserInfo;class V1beta1ValidatingWebhookConfiguration{static getAttributeTypeMap(){return V1beta1ValidatingWebhookConfiguration.attributeTypeMap}}V1beta1ValidatingWebhookConfiguration.discriminator=undefined;V1beta1ValidatingWebhookConfiguration.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"webhooks",baseName:"webhooks",type:"Array<V1beta1Webhook>"}];t.V1beta1ValidatingWebhookConfiguration=V1beta1ValidatingWebhookConfiguration;class V1beta1ValidatingWebhookConfigurationList{static getAttributeTypeMap(){return V1beta1ValidatingWebhookConfigurationList.attributeTypeMap}}V1beta1ValidatingWebhookConfigurationList.discriminator=undefined;V1beta1ValidatingWebhookConfigurationList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1ValidatingWebhookConfiguration>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1ValidatingWebhookConfigurationList=V1beta1ValidatingWebhookConfigurationList;class V1beta1VolumeAttachment{static getAttributeTypeMap(){return V1beta1VolumeAttachment.attributeTypeMap}}V1beta1VolumeAttachment.discriminator=undefined;V1beta1VolumeAttachment.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1VolumeAttachmentSpec"},{name:"status",baseName:"status",type:"V1beta1VolumeAttachmentStatus"}];t.V1beta1VolumeAttachment=V1beta1VolumeAttachment;class V1beta1VolumeAttachmentList{static getAttributeTypeMap(){return V1beta1VolumeAttachmentList.attributeTypeMap}}V1beta1VolumeAttachmentList.discriminator=undefined;V1beta1VolumeAttachmentList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta1VolumeAttachment>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta1VolumeAttachmentList=V1beta1VolumeAttachmentList;class V1beta1VolumeAttachmentSource{static getAttributeTypeMap(){return V1beta1VolumeAttachmentSource.attributeTypeMap}}V1beta1VolumeAttachmentSource.discriminator=undefined;V1beta1VolumeAttachmentSource.attributeTypeMap=[{name:"persistentVolumeName",baseName:"persistentVolumeName",type:"string"}];t.V1beta1VolumeAttachmentSource=V1beta1VolumeAttachmentSource;class V1beta1VolumeAttachmentSpec{static getAttributeTypeMap(){return V1beta1VolumeAttachmentSpec.attributeTypeMap}}V1beta1VolumeAttachmentSpec.discriminator=undefined;V1beta1VolumeAttachmentSpec.attributeTypeMap=[{name:"attacher",baseName:"attacher",type:"string"},{name:"nodeName",baseName:"nodeName",type:"string"},{name:"source",baseName:"source",type:"V1beta1VolumeAttachmentSource"}];t.V1beta1VolumeAttachmentSpec=V1beta1VolumeAttachmentSpec;class V1beta1VolumeAttachmentStatus{static getAttributeTypeMap(){return V1beta1VolumeAttachmentStatus.attributeTypeMap}}V1beta1VolumeAttachmentStatus.discriminator=undefined;V1beta1VolumeAttachmentStatus.attributeTypeMap=[{name:"attachError",baseName:"attachError",type:"V1beta1VolumeError"},{name:"attached",baseName:"attached",type:"boolean"},{name:"attachmentMetadata",baseName:"attachmentMetadata",type:"{ [key: string]: string; }"},{name:"detachError",baseName:"detachError",type:"V1beta1VolumeError"}];t.V1beta1VolumeAttachmentStatus=V1beta1VolumeAttachmentStatus;class V1beta1VolumeError{static getAttributeTypeMap(){return V1beta1VolumeError.attributeTypeMap}}V1beta1VolumeError.discriminator=undefined;V1beta1VolumeError.attributeTypeMap=[{name:"message",baseName:"message",type:"string"},{name:"time",baseName:"time",type:"Date"}];t.V1beta1VolumeError=V1beta1VolumeError;class V1beta1Webhook{static getAttributeTypeMap(){return V1beta1Webhook.attributeTypeMap}}V1beta1Webhook.discriminator=undefined;V1beta1Webhook.attributeTypeMap=[{name:"clientConfig",baseName:"clientConfig",type:"AdmissionregistrationV1beta1WebhookClientConfig"},{name:"failurePolicy",baseName:"failurePolicy",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespaceSelector",baseName:"namespaceSelector",type:"V1LabelSelector"},{name:"rules",baseName:"rules",type:"Array<V1beta1RuleWithOperations>"},{name:"sideEffects",baseName:"sideEffects",type:"string"}];t.V1beta1Webhook=V1beta1Webhook;class V1beta2ControllerRevision{static getAttributeTypeMap(){return V1beta2ControllerRevision.attributeTypeMap}}V1beta2ControllerRevision.discriminator=undefined;V1beta2ControllerRevision.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.V1beta2ControllerRevision=V1beta2ControllerRevision;class V1beta2ControllerRevisionList{static getAttributeTypeMap(){return V1beta2ControllerRevisionList.attributeTypeMap}}V1beta2ControllerRevisionList.discriminator=undefined;V1beta2ControllerRevisionList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta2ControllerRevision>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta2ControllerRevisionList=V1beta2ControllerRevisionList;class V1beta2DaemonSet{static getAttributeTypeMap(){return V1beta2DaemonSet.attributeTypeMap}}V1beta2DaemonSet.discriminator=undefined;V1beta2DaemonSet.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta2DaemonSetSpec"},{name:"status",baseName:"status",type:"V1beta2DaemonSetStatus"}];t.V1beta2DaemonSet=V1beta2DaemonSet;class V1beta2DaemonSetCondition{static getAttributeTypeMap(){return V1beta2DaemonSetCondition.attributeTypeMap}}V1beta2DaemonSetCondition.discriminator=undefined;V1beta2DaemonSetCondition.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.V1beta2DaemonSetCondition=V1beta2DaemonSetCondition;class V1beta2DaemonSetList{static getAttributeTypeMap(){return V1beta2DaemonSetList.attributeTypeMap}}V1beta2DaemonSetList.discriminator=undefined;V1beta2DaemonSetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta2DaemonSet>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta2DaemonSetList=V1beta2DaemonSetList;class V1beta2DaemonSetSpec{static getAttributeTypeMap(){return V1beta2DaemonSetSpec.attributeTypeMap}}V1beta2DaemonSetSpec.discriminator=undefined;V1beta2DaemonSetSpec.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:"V1beta2DaemonSetUpdateStrategy"}];t.V1beta2DaemonSetSpec=V1beta2DaemonSetSpec;class V1beta2DaemonSetStatus{static getAttributeTypeMap(){return V1beta2DaemonSetStatus.attributeTypeMap}}V1beta2DaemonSetStatus.discriminator=undefined;V1beta2DaemonSetStatus.attributeTypeMap=[{name:"collisionCount",baseName:"collisionCount",type:"number"},{name:"conditions",baseName:"conditions",type:"Array<V1beta2DaemonSetCondition>"},{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.V1beta2DaemonSetStatus=V1beta2DaemonSetStatus;class V1beta2DaemonSetUpdateStrategy{static getAttributeTypeMap(){return V1beta2DaemonSetUpdateStrategy.attributeTypeMap}}V1beta2DaemonSetUpdateStrategy.discriminator=undefined;V1beta2DaemonSetUpdateStrategy.attributeTypeMap=[{name:"rollingUpdate",baseName:"rollingUpdate",type:"V1beta2RollingUpdateDaemonSet"},{name:"type",baseName:"type",type:"string"}];t.V1beta2DaemonSetUpdateStrategy=V1beta2DaemonSetUpdateStrategy;class V1beta2Deployment{static getAttributeTypeMap(){return V1beta2Deployment.attributeTypeMap}}V1beta2Deployment.discriminator=undefined;V1beta2Deployment.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta2DeploymentSpec"},{name:"status",baseName:"status",type:"V1beta2DeploymentStatus"}];t.V1beta2Deployment=V1beta2Deployment;class V1beta2DeploymentCondition{static getAttributeTypeMap(){return V1beta2DeploymentCondition.attributeTypeMap}}V1beta2DeploymentCondition.discriminator=undefined;V1beta2DeploymentCondition.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.V1beta2DeploymentCondition=V1beta2DeploymentCondition;class V1beta2DeploymentList{static getAttributeTypeMap(){return V1beta2DeploymentList.attributeTypeMap}}V1beta2DeploymentList.discriminator=undefined;V1beta2DeploymentList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta2Deployment>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta2DeploymentList=V1beta2DeploymentList;class V1beta2DeploymentSpec{static getAttributeTypeMap(){return V1beta2DeploymentSpec.attributeTypeMap}}V1beta2DeploymentSpec.discriminator=undefined;V1beta2DeploymentSpec.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:"V1beta2DeploymentStrategy"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"}];t.V1beta2DeploymentSpec=V1beta2DeploymentSpec;class V1beta2DeploymentStatus{static getAttributeTypeMap(){return V1beta2DeploymentStatus.attributeTypeMap}}V1beta2DeploymentStatus.discriminator=undefined;V1beta2DeploymentStatus.attributeTypeMap=[{name:"availableReplicas",baseName:"availableReplicas",type:"number"},{name:"collisionCount",baseName:"collisionCount",type:"number"},{name:"conditions",baseName:"conditions",type:"Array<V1beta2DeploymentCondition>"},{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.V1beta2DeploymentStatus=V1beta2DeploymentStatus;class V1beta2DeploymentStrategy{static getAttributeTypeMap(){return V1beta2DeploymentStrategy.attributeTypeMap}}V1beta2DeploymentStrategy.discriminator=undefined;V1beta2DeploymentStrategy.attributeTypeMap=[{name:"rollingUpdate",baseName:"rollingUpdate",type:"V1beta2RollingUpdateDeployment"},{name:"type",baseName:"type",type:"string"}];t.V1beta2DeploymentStrategy=V1beta2DeploymentStrategy;class V1beta2ReplicaSet{static getAttributeTypeMap(){return V1beta2ReplicaSet.attributeTypeMap}}V1beta2ReplicaSet.discriminator=undefined;V1beta2ReplicaSet.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta2ReplicaSetSpec"},{name:"status",baseName:"status",type:"V1beta2ReplicaSetStatus"}];t.V1beta2ReplicaSet=V1beta2ReplicaSet;class V1beta2ReplicaSetCondition{static getAttributeTypeMap(){return V1beta2ReplicaSetCondition.attributeTypeMap}}V1beta2ReplicaSetCondition.discriminator=undefined;V1beta2ReplicaSetCondition.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.V1beta2ReplicaSetCondition=V1beta2ReplicaSetCondition;class V1beta2ReplicaSetList{static getAttributeTypeMap(){return V1beta2ReplicaSetList.attributeTypeMap}}V1beta2ReplicaSetList.discriminator=undefined;V1beta2ReplicaSetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta2ReplicaSet>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta2ReplicaSetList=V1beta2ReplicaSetList;class V1beta2ReplicaSetSpec{static getAttributeTypeMap(){return V1beta2ReplicaSetSpec.attributeTypeMap}}V1beta2ReplicaSetSpec.discriminator=undefined;V1beta2ReplicaSetSpec.attributeTypeMap=[{name:"minReadySeconds",baseName:"minReadySeconds",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"}];t.V1beta2ReplicaSetSpec=V1beta2ReplicaSetSpec;class V1beta2ReplicaSetStatus{static getAttributeTypeMap(){return V1beta2ReplicaSetStatus.attributeTypeMap}}V1beta2ReplicaSetStatus.discriminator=undefined;V1beta2ReplicaSetStatus.attributeTypeMap=[{name:"availableReplicas",baseName:"availableReplicas",type:"number"},{name:"conditions",baseName:"conditions",type:"Array<V1beta2ReplicaSetCondition>"},{name:"fullyLabeledReplicas",baseName:"fullyLabeledReplicas",type:"number"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"readyReplicas",baseName:"readyReplicas",type:"number"},{name:"replicas",baseName:"replicas",type:"number"}];t.V1beta2ReplicaSetStatus=V1beta2ReplicaSetStatus;class V1beta2RollingUpdateDaemonSet{static getAttributeTypeMap(){return V1beta2RollingUpdateDaemonSet.attributeTypeMap}}V1beta2RollingUpdateDaemonSet.discriminator=undefined;V1beta2RollingUpdateDaemonSet.attributeTypeMap=[{name:"maxUnavailable",baseName:"maxUnavailable",type:"any"}];t.V1beta2RollingUpdateDaemonSet=V1beta2RollingUpdateDaemonSet;class V1beta2RollingUpdateDeployment{static getAttributeTypeMap(){return V1beta2RollingUpdateDeployment.attributeTypeMap}}V1beta2RollingUpdateDeployment.discriminator=undefined;V1beta2RollingUpdateDeployment.attributeTypeMap=[{name:"maxSurge",baseName:"maxSurge",type:"any"},{name:"maxUnavailable",baseName:"maxUnavailable",type:"any"}];t.V1beta2RollingUpdateDeployment=V1beta2RollingUpdateDeployment;class V1beta2RollingUpdateStatefulSetStrategy{static getAttributeTypeMap(){return V1beta2RollingUpdateStatefulSetStrategy.attributeTypeMap}}V1beta2RollingUpdateStatefulSetStrategy.discriminator=undefined;V1beta2RollingUpdateStatefulSetStrategy.attributeTypeMap=[{name:"partition",baseName:"partition",type:"number"}];t.V1beta2RollingUpdateStatefulSetStrategy=V1beta2RollingUpdateStatefulSetStrategy;class V1beta2Scale{static getAttributeTypeMap(){return V1beta2Scale.attributeTypeMap}}V1beta2Scale.discriminator=undefined;V1beta2Scale.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta2ScaleSpec"},{name:"status",baseName:"status",type:"V1beta2ScaleStatus"}];t.V1beta2Scale=V1beta2Scale;class V1beta2ScaleSpec{static getAttributeTypeMap(){return V1beta2ScaleSpec.attributeTypeMap}}V1beta2ScaleSpec.discriminator=undefined;V1beta2ScaleSpec.attributeTypeMap=[{name:"replicas",baseName:"replicas",type:"number"}];t.V1beta2ScaleSpec=V1beta2ScaleSpec;class V1beta2ScaleStatus{static getAttributeTypeMap(){return V1beta2ScaleStatus.attributeTypeMap}}V1beta2ScaleStatus.discriminator=undefined;V1beta2ScaleStatus.attributeTypeMap=[{name:"replicas",baseName:"replicas",type:"number"},{name:"selector",baseName:"selector",type:"{ [key: string]: string; }"},{name:"targetSelector",baseName:"targetSelector",type:"string"}];t.V1beta2ScaleStatus=V1beta2ScaleStatus;class V1beta2StatefulSet{static getAttributeTypeMap(){return V1beta2StatefulSet.attributeTypeMap}}V1beta2StatefulSet.discriminator=undefined;V1beta2StatefulSet.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta2StatefulSetSpec"},{name:"status",baseName:"status",type:"V1beta2StatefulSetStatus"}];t.V1beta2StatefulSet=V1beta2StatefulSet;class V1beta2StatefulSetCondition{static getAttributeTypeMap(){return V1beta2StatefulSetCondition.attributeTypeMap}}V1beta2StatefulSetCondition.discriminator=undefined;V1beta2StatefulSetCondition.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.V1beta2StatefulSetCondition=V1beta2StatefulSetCondition;class V1beta2StatefulSetList{static getAttributeTypeMap(){return V1beta2StatefulSetList.attributeTypeMap}}V1beta2StatefulSetList.discriminator=undefined;V1beta2StatefulSetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V1beta2StatefulSet>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V1beta2StatefulSetList=V1beta2StatefulSetList;class V1beta2StatefulSetSpec{static getAttributeTypeMap(){return V1beta2StatefulSetSpec.attributeTypeMap}}V1beta2StatefulSetSpec.discriminator=undefined;V1beta2StatefulSetSpec.attributeTypeMap=[{name:"podManagementPolicy",baseName:"podManagementPolicy",type:"string"},{name:"replicas",baseName:"replicas",type:"number"},{name:"revisionHistoryLimit",baseName:"revisionHistoryLimit",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"serviceName",baseName:"serviceName",type:"string"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"},{name:"updateStrategy",baseName:"updateStrategy",type:"V1beta2StatefulSetUpdateStrategy"},{name:"volumeClaimTemplates",baseName:"volumeClaimTemplates",type:"Array<V1PersistentVolumeClaim>"}];t.V1beta2StatefulSetSpec=V1beta2StatefulSetSpec;class V1beta2StatefulSetStatus{static getAttributeTypeMap(){return V1beta2StatefulSetStatus.attributeTypeMap}}V1beta2StatefulSetStatus.discriminator=undefined;V1beta2StatefulSetStatus.attributeTypeMap=[{name:"collisionCount",baseName:"collisionCount",type:"number"},{name:"conditions",baseName:"conditions",type:"Array<V1beta2StatefulSetCondition>"},{name:"currentReplicas",baseName:"currentReplicas",type:"number"},{name:"currentRevision",baseName:"currentRevision",type:"string"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"readyReplicas",baseName:"readyReplicas",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"updateRevision",baseName:"updateRevision",type:"string"},{name:"updatedReplicas",baseName:"updatedReplicas",type:"number"}];t.V1beta2StatefulSetStatus=V1beta2StatefulSetStatus;class V1beta2StatefulSetUpdateStrategy{static getAttributeTypeMap(){return V1beta2StatefulSetUpdateStrategy.attributeTypeMap}}V1beta2StatefulSetUpdateStrategy.discriminator=undefined;V1beta2StatefulSetUpdateStrategy.attributeTypeMap=[{name:"rollingUpdate",baseName:"rollingUpdate",type:"V1beta2RollingUpdateStatefulSetStrategy"},{name:"type",baseName:"type",type:"string"}];t.V1beta2StatefulSetUpdateStrategy=V1beta2StatefulSetUpdateStrategy;class V2alpha1CronJob{static getAttributeTypeMap(){return V2alpha1CronJob.attributeTypeMap}}V2alpha1CronJob.discriminator=undefined;V2alpha1CronJob.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V2alpha1CronJobSpec"},{name:"status",baseName:"status",type:"V2alpha1CronJobStatus"}];t.V2alpha1CronJob=V2alpha1CronJob;class V2alpha1CronJobList{static getAttributeTypeMap(){return V2alpha1CronJobList.attributeTypeMap}}V2alpha1CronJobList.discriminator=undefined;V2alpha1CronJobList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V2alpha1CronJob>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V2alpha1CronJobList=V2alpha1CronJobList;class V2alpha1CronJobSpec{static getAttributeTypeMap(){return V2alpha1CronJobSpec.attributeTypeMap}}V2alpha1CronJobSpec.discriminator=undefined;V2alpha1CronJobSpec.attributeTypeMap=[{name:"concurrencyPolicy",baseName:"concurrencyPolicy",type:"string"},{name:"failedJobsHistoryLimit",baseName:"failedJobsHistoryLimit",type:"number"},{name:"jobTemplate",baseName:"jobTemplate",type:"V2alpha1JobTemplateSpec"},{name:"schedule",baseName:"schedule",type:"string"},{name:"startingDeadlineSeconds",baseName:"startingDeadlineSeconds",type:"number"},{name:"successfulJobsHistoryLimit",baseName:"successfulJobsHistoryLimit",type:"number"},{name:"suspend",baseName:"suspend",type:"boolean"}];t.V2alpha1CronJobSpec=V2alpha1CronJobSpec;class V2alpha1CronJobStatus{static getAttributeTypeMap(){return V2alpha1CronJobStatus.attributeTypeMap}}V2alpha1CronJobStatus.discriminator=undefined;V2alpha1CronJobStatus.attributeTypeMap=[{name:"active",baseName:"active",type:"Array<V1ObjectReference>"},{name:"lastScheduleTime",baseName:"lastScheduleTime",type:"Date"}];t.V2alpha1CronJobStatus=V2alpha1CronJobStatus;class V2alpha1JobTemplateSpec{static getAttributeTypeMap(){return V2alpha1JobTemplateSpec.attributeTypeMap}}V2alpha1JobTemplateSpec.discriminator=undefined;V2alpha1JobTemplateSpec.attributeTypeMap=[{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1JobSpec"}];t.V2alpha1JobTemplateSpec=V2alpha1JobTemplateSpec;class V2beta1CrossVersionObjectReference{static getAttributeTypeMap(){return V2beta1CrossVersionObjectReference.attributeTypeMap}}V2beta1CrossVersionObjectReference.discriminator=undefined;V2beta1CrossVersionObjectReference.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}];t.V2beta1CrossVersionObjectReference=V2beta1CrossVersionObjectReference;class V2beta1ExternalMetricSource{static getAttributeTypeMap(){return V2beta1ExternalMetricSource.attributeTypeMap}}V2beta1ExternalMetricSource.discriminator=undefined;V2beta1ExternalMetricSource.attributeTypeMap=[{name:"metricName",baseName:"metricName",type:"string"},{name:"metricSelector",baseName:"metricSelector",type:"V1LabelSelector"},{name:"targetAverageValue",baseName:"targetAverageValue",type:"string"},{name:"targetValue",baseName:"targetValue",type:"string"}];t.V2beta1ExternalMetricSource=V2beta1ExternalMetricSource;class V2beta1ExternalMetricStatus{static getAttributeTypeMap(){return V2beta1ExternalMetricStatus.attributeTypeMap}}V2beta1ExternalMetricStatus.discriminator=undefined;V2beta1ExternalMetricStatus.attributeTypeMap=[{name:"currentAverageValue",baseName:"currentAverageValue",type:"string"},{name:"currentValue",baseName:"currentValue",type:"string"},{name:"metricName",baseName:"metricName",type:"string"},{name:"metricSelector",baseName:"metricSelector",type:"V1LabelSelector"}];t.V2beta1ExternalMetricStatus=V2beta1ExternalMetricStatus;class V2beta1HorizontalPodAutoscaler{static getAttributeTypeMap(){return V2beta1HorizontalPodAutoscaler.attributeTypeMap}}V2beta1HorizontalPodAutoscaler.discriminator=undefined;V2beta1HorizontalPodAutoscaler.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V2beta1HorizontalPodAutoscalerSpec"},{name:"status",baseName:"status",type:"V2beta1HorizontalPodAutoscalerStatus"}];t.V2beta1HorizontalPodAutoscaler=V2beta1HorizontalPodAutoscaler;class V2beta1HorizontalPodAutoscalerCondition{static getAttributeTypeMap(){return V2beta1HorizontalPodAutoscalerCondition.attributeTypeMap}}V2beta1HorizontalPodAutoscalerCondition.discriminator=undefined;V2beta1HorizontalPodAutoscalerCondition.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.V2beta1HorizontalPodAutoscalerCondition=V2beta1HorizontalPodAutoscalerCondition;class V2beta1HorizontalPodAutoscalerList{static getAttributeTypeMap(){return V2beta1HorizontalPodAutoscalerList.attributeTypeMap}}V2beta1HorizontalPodAutoscalerList.discriminator=undefined;V2beta1HorizontalPodAutoscalerList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V2beta1HorizontalPodAutoscaler>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V2beta1HorizontalPodAutoscalerList=V2beta1HorizontalPodAutoscalerList;class V2beta1HorizontalPodAutoscalerSpec{static getAttributeTypeMap(){return V2beta1HorizontalPodAutoscalerSpec.attributeTypeMap}}V2beta1HorizontalPodAutoscalerSpec.discriminator=undefined;V2beta1HorizontalPodAutoscalerSpec.attributeTypeMap=[{name:"maxReplicas",baseName:"maxReplicas",type:"number"},{name:"metrics",baseName:"metrics",type:"Array<V2beta1MetricSpec>"},{name:"minReplicas",baseName:"minReplicas",type:"number"},{name:"scaleTargetRef",baseName:"scaleTargetRef",type:"V2beta1CrossVersionObjectReference"}];t.V2beta1HorizontalPodAutoscalerSpec=V2beta1HorizontalPodAutoscalerSpec;class V2beta1HorizontalPodAutoscalerStatus{static getAttributeTypeMap(){return V2beta1HorizontalPodAutoscalerStatus.attributeTypeMap}}V2beta1HorizontalPodAutoscalerStatus.discriminator=undefined;V2beta1HorizontalPodAutoscalerStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array<V2beta1HorizontalPodAutoscalerCondition>"},{name:"currentMetrics",baseName:"currentMetrics",type:"Array<V2beta1MetricStatus>"},{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.V2beta1HorizontalPodAutoscalerStatus=V2beta1HorizontalPodAutoscalerStatus;class V2beta1MetricSpec{static getAttributeTypeMap(){return V2beta1MetricSpec.attributeTypeMap}}V2beta1MetricSpec.discriminator=undefined;V2beta1MetricSpec.attributeTypeMap=[{name:"external",baseName:"external",type:"V2beta1ExternalMetricSource"},{name:"object",baseName:"object",type:"V2beta1ObjectMetricSource"},{name:"pods",baseName:"pods",type:"V2beta1PodsMetricSource"},{name:"resource",baseName:"resource",type:"V2beta1ResourceMetricSource"},{name:"type",baseName:"type",type:"string"}];t.V2beta1MetricSpec=V2beta1MetricSpec;class V2beta1MetricStatus{static getAttributeTypeMap(){return V2beta1MetricStatus.attributeTypeMap}}V2beta1MetricStatus.discriminator=undefined;V2beta1MetricStatus.attributeTypeMap=[{name:"external",baseName:"external",type:"V2beta1ExternalMetricStatus"},{name:"object",baseName:"object",type:"V2beta1ObjectMetricStatus"},{name:"pods",baseName:"pods",type:"V2beta1PodsMetricStatus"},{name:"resource",baseName:"resource",type:"V2beta1ResourceMetricStatus"},{name:"type",baseName:"type",type:"string"}];t.V2beta1MetricStatus=V2beta1MetricStatus;class V2beta1ObjectMetricSource{static getAttributeTypeMap(){return V2beta1ObjectMetricSource.attributeTypeMap}}V2beta1ObjectMetricSource.discriminator=undefined;V2beta1ObjectMetricSource.attributeTypeMap=[{name:"averageValue",baseName:"averageValue",type:"string"},{name:"metricName",baseName:"metricName",type:"string"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"target",baseName:"target",type:"V2beta1CrossVersionObjectReference"},{name:"targetValue",baseName:"targetValue",type:"string"}];t.V2beta1ObjectMetricSource=V2beta1ObjectMetricSource;class V2beta1ObjectMetricStatus{static getAttributeTypeMap(){return V2beta1ObjectMetricStatus.attributeTypeMap}}V2beta1ObjectMetricStatus.discriminator=undefined;V2beta1ObjectMetricStatus.attributeTypeMap=[{name:"averageValue",baseName:"averageValue",type:"string"},{name:"currentValue",baseName:"currentValue",type:"string"},{name:"metricName",baseName:"metricName",type:"string"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"target",baseName:"target",type:"V2beta1CrossVersionObjectReference"}];t.V2beta1ObjectMetricStatus=V2beta1ObjectMetricStatus;class V2beta1PodsMetricSource{static getAttributeTypeMap(){return V2beta1PodsMetricSource.attributeTypeMap}}V2beta1PodsMetricSource.discriminator=undefined;V2beta1PodsMetricSource.attributeTypeMap=[{name:"metricName",baseName:"metricName",type:"string"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"targetAverageValue",baseName:"targetAverageValue",type:"string"}];t.V2beta1PodsMetricSource=V2beta1PodsMetricSource;class V2beta1PodsMetricStatus{static getAttributeTypeMap(){return V2beta1PodsMetricStatus.attributeTypeMap}}V2beta1PodsMetricStatus.discriminator=undefined;V2beta1PodsMetricStatus.attributeTypeMap=[{name:"currentAverageValue",baseName:"currentAverageValue",type:"string"},{name:"metricName",baseName:"metricName",type:"string"},{name:"selector",baseName:"selector",type:"V1LabelSelector"}];t.V2beta1PodsMetricStatus=V2beta1PodsMetricStatus;class V2beta1ResourceMetricSource{static getAttributeTypeMap(){return V2beta1ResourceMetricSource.attributeTypeMap}}V2beta1ResourceMetricSource.discriminator=undefined;V2beta1ResourceMetricSource.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"targetAverageUtilization",baseName:"targetAverageUtilization",type:"number"},{name:"targetAverageValue",baseName:"targetAverageValue",type:"string"}];t.V2beta1ResourceMetricSource=V2beta1ResourceMetricSource;class V2beta1ResourceMetricStatus{static getAttributeTypeMap(){return V2beta1ResourceMetricStatus.attributeTypeMap}}V2beta1ResourceMetricStatus.discriminator=undefined;V2beta1ResourceMetricStatus.attributeTypeMap=[{name:"currentAverageUtilization",baseName:"currentAverageUtilization",type:"number"},{name:"currentAverageValue",baseName:"currentAverageValue",type:"string"},{name:"name",baseName:"name",type:"string"}];t.V2beta1ResourceMetricStatus=V2beta1ResourceMetricStatus;class V2beta2CrossVersionObjectReference{static getAttributeTypeMap(){return V2beta2CrossVersionObjectReference.attributeTypeMap}}V2beta2CrossVersionObjectReference.discriminator=undefined;V2beta2CrossVersionObjectReference.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}];t.V2beta2CrossVersionObjectReference=V2beta2CrossVersionObjectReference;class V2beta2ExternalMetricSource{static getAttributeTypeMap(){return V2beta2ExternalMetricSource.attributeTypeMap}}V2beta2ExternalMetricSource.discriminator=undefined;V2beta2ExternalMetricSource.attributeTypeMap=[{name:"metric",baseName:"metric",type:"V2beta2MetricIdentifier"},{name:"target",baseName:"target",type:"V2beta2MetricTarget"}];t.V2beta2ExternalMetricSource=V2beta2ExternalMetricSource;class V2beta2ExternalMetricStatus{static getAttributeTypeMap(){return V2beta2ExternalMetricStatus.attributeTypeMap}}V2beta2ExternalMetricStatus.discriminator=undefined;V2beta2ExternalMetricStatus.attributeTypeMap=[{name:"current",baseName:"current",type:"V2beta2MetricValueStatus"},{name:"metric",baseName:"metric",type:"V2beta2MetricIdentifier"}];t.V2beta2ExternalMetricStatus=V2beta2ExternalMetricStatus;class V2beta2HorizontalPodAutoscaler{static getAttributeTypeMap(){return V2beta2HorizontalPodAutoscaler.attributeTypeMap}}V2beta2HorizontalPodAutoscaler.discriminator=undefined;V2beta2HorizontalPodAutoscaler.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V2beta2HorizontalPodAutoscalerSpec"},{name:"status",baseName:"status",type:"V2beta2HorizontalPodAutoscalerStatus"}];t.V2beta2HorizontalPodAutoscaler=V2beta2HorizontalPodAutoscaler;class V2beta2HorizontalPodAutoscalerCondition{static getAttributeTypeMap(){return V2beta2HorizontalPodAutoscalerCondition.attributeTypeMap}}V2beta2HorizontalPodAutoscalerCondition.discriminator=undefined;V2beta2HorizontalPodAutoscalerCondition.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.V2beta2HorizontalPodAutoscalerCondition=V2beta2HorizontalPodAutoscalerCondition;class V2beta2HorizontalPodAutoscalerList{static getAttributeTypeMap(){return V2beta2HorizontalPodAutoscalerList.attributeTypeMap}}V2beta2HorizontalPodAutoscalerList.discriminator=undefined;V2beta2HorizontalPodAutoscalerList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array<V2beta2HorizontalPodAutoscaler>"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}];t.V2beta2HorizontalPodAutoscalerList=V2beta2HorizontalPodAutoscalerList;class V2beta2HorizontalPodAutoscalerSpec{static getAttributeTypeMap(){return V2beta2HorizontalPodAutoscalerSpec.attributeTypeMap}}V2beta2HorizontalPodAutoscalerSpec.discriminator=undefined;V2beta2HorizontalPodAutoscalerSpec.attributeTypeMap=[{name:"maxReplicas",baseName:"maxReplicas",type:"number"},{name:"metrics",baseName:"metrics",type:"Array<V2beta2MetricSpec>"},{name:"minReplicas",baseName:"minReplicas",type:"number"},{name:"scaleTargetRef",baseName:"scaleTargetRef",type:"V2beta2CrossVersionObjectReference"}];t.V2beta2HorizontalPodAutoscalerSpec=V2beta2HorizontalPodAutoscalerSpec;class V2beta2HorizontalPodAutoscalerStatus{static getAttributeTypeMap(){return V2beta2HorizontalPodAutoscalerStatus.attributeTypeMap}}V2beta2HorizontalPodAutoscalerStatus.discriminator=undefined;V2beta2HorizontalPodAutoscalerStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array<V2beta2HorizontalPodAutoscalerCondition>"},{name:"currentMetrics",baseName:"currentMetrics",type:"Array<V2beta2MetricStatus>"},{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.V2beta2HorizontalPodAutoscalerStatus=V2beta2HorizontalPodAutoscalerStatus;class V2beta2MetricIdentifier{static getAttributeTypeMap(){return V2beta2MetricIdentifier.attributeTypeMap}}V2beta2MetricIdentifier.discriminator=undefined;V2beta2MetricIdentifier.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"selector",baseName:"selector",type:"V1LabelSelector"}];t.V2beta2MetricIdentifier=V2beta2MetricIdentifier;class V2beta2MetricSpec{static getAttributeTypeMap(){return V2beta2MetricSpec.attributeTypeMap}}V2beta2MetricSpec.discriminator=undefined;V2beta2MetricSpec.attributeTypeMap=[{name:"external",baseName:"external",type:"V2beta2ExternalMetricSource"},{name:"object",baseName:"object",type:"V2beta2ObjectMetricSource"},{name:"pods",baseName:"pods",type:"V2beta2PodsMetricSource"},{name:"resource",baseName:"resource",type:"V2beta2ResourceMetricSource"},{name:"type",baseName:"type",type:"string"}];t.V2beta2MetricSpec=V2beta2MetricSpec;class V2beta2MetricStatus{static getAttributeTypeMap(){return V2beta2MetricStatus.attributeTypeMap}}V2beta2MetricStatus.discriminator=undefined;V2beta2MetricStatus.attributeTypeMap=[{name:"external",baseName:"external",type:"V2beta2ExternalMetricStatus"},{name:"object",baseName:"object",type:"V2beta2ObjectMetricStatus"},{name:"pods",baseName:"pods",type:"V2beta2PodsMetricStatus"},{name:"resource",baseName:"resource",type:"V2beta2ResourceMetricStatus"},{name:"type",baseName:"type",type:"string"}];t.V2beta2MetricStatus=V2beta2MetricStatus;class V2beta2MetricTarget{static getAttributeTypeMap(){return V2beta2MetricTarget.attributeTypeMap}}V2beta2MetricTarget.discriminator=undefined;V2beta2MetricTarget.attributeTypeMap=[{name:"averageUtilization",baseName:"averageUtilization",type:"number"},{name:"averageValue",baseName:"averageValue",type:"string"},{name:"type",baseName:"type",type:"string"},{name:"value",baseName:"value",type:"string"}];t.V2beta2MetricTarget=V2beta2MetricTarget;class V2beta2MetricValueStatus{static getAttributeTypeMap(){return V2beta2MetricValueStatus.attributeTypeMap}}V2beta2MetricValueStatus.discriminator=undefined;V2beta2MetricValueStatus.attributeTypeMap=[{name:"averageUtilization",baseName:"averageUtilization",type:"number"},{name:"averageValue",baseName:"averageValue",type:"string"},{name:"value",baseName:"value",type:"string"}];t.V2beta2MetricValueStatus=V2beta2MetricValueStatus;class V2beta2ObjectMetricSource{static getAttributeTypeMap(){return V2beta2ObjectMetricSource.attributeTypeMap}}V2beta2ObjectMetricSource.discriminator=undefined;V2beta2ObjectMetricSource.attributeTypeMap=[{name:"describedObject",baseName:"describedObject",type:"V2beta2CrossVersionObjectReference"},{name:"metric",baseName:"metric",type:"V2beta2MetricIdentifier"},{name:"target",baseName:"target",type:"V2beta2MetricTarget"}];t.V2beta2ObjectMetricSource=V2beta2ObjectMetricSource;class V2beta2ObjectMetricStatus{static getAttributeTypeMap(){return V2beta2ObjectMetricStatus.attributeTypeMap}}V2beta2ObjectMetricStatus.discriminator=undefined;V2beta2ObjectMetricStatus.attributeTypeMap=[{name:"current",baseName:"current",type:"V2beta2MetricValueStatus"},{name:"describedObject",baseName:"describedObject",type:"V2beta2CrossVersionObjectReference"},{name:"metric",baseName:"metric",type:"V2beta2MetricIdentifier"}];t.V2beta2ObjectMetricStatus=V2beta2ObjectMetricStatus;class V2beta2PodsMetricSource{static getAttributeTypeMap(){return V2beta2PodsMetricSource.attributeTypeMap}}V2beta2PodsMetricSource.discriminator=undefined;V2beta2PodsMetricSource.attributeTypeMap=[{name:"metric",baseName:"metric",type:"V2beta2MetricIdentifier"},{name:"target",baseName:"target",type:"V2beta2MetricTarget"}];t.V2beta2PodsMetricSource=V2beta2PodsMetricSource;class V2beta2PodsMetricStatus{static getAttributeTypeMap(){return V2beta2PodsMetricStatus.attributeTypeMap}}V2beta2PodsMetricStatus.discriminator=undefined;V2beta2PodsMetricStatus.attributeTypeMap=[{name:"current",baseName:"current",type:"V2beta2MetricValueStatus"},{name:"metric",baseName:"metric",type:"V2beta2MetricIdentifier"}];t.V2beta2PodsMetricStatus=V2beta2PodsMetricStatus;class V2beta2ResourceMetricSource{static getAttributeTypeMap(){return V2beta2ResourceMetricSource.attributeTypeMap}}V2beta2ResourceMetricSource.discriminator=undefined;V2beta2ResourceMetricSource.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"target",baseName:"target",type:"V2beta2MetricTarget"}];t.V2beta2ResourceMetricSource=V2beta2ResourceMetricSource;class V2beta2ResourceMetricStatus{static getAttributeTypeMap(){return V2beta2ResourceMetricStatus.attributeTypeMap}}V2beta2ResourceMetricStatus.discriminator=undefined;V2beta2ResourceMetricStatus.attributeTypeMap=[{name:"current",baseName:"current",type:"V2beta2MetricValueStatus"},{name:"name",baseName:"name",type:"string"}];t.V2beta2ResourceMetricStatus=V2beta2ResourceMetricStatus;class VersionInfo{static getAttributeTypeMap(){return VersionInfo.attributeTypeMap}}VersionInfo.discriminator=undefined;VersionInfo.attributeTypeMap=[{name:"buildDate",baseName:"buildDate",type:"string"},{name:"compiler",baseName:"compiler",type:"string"},{name:"gitCommit",baseName:"gitCommit",type:"string"},{name:"gitTreeState",baseName:"gitTreeState",type:"string"},{name:"gitVersion",baseName:"gitVersion",type:"string"},{name:"goVersion",baseName:"goVersion",type:"string"},{name:"major",baseName:"major",type:"string"},{name:"minor",baseName:"minor",type:"string"},{name:"platform",baseName:"platform",type:"string"}];t.VersionInfo=VersionInfo;let s={};let o={AdmissionregistrationV1beta1ServiceReference:AdmissionregistrationV1beta1ServiceReference,AdmissionregistrationV1beta1WebhookClientConfig:AdmissionregistrationV1beta1WebhookClientConfig,ApiextensionsV1beta1ServiceReference:ApiextensionsV1beta1ServiceReference,ApiextensionsV1beta1WebhookClientConfig:ApiextensionsV1beta1WebhookClientConfig,ApiregistrationV1beta1ServiceReference:ApiregistrationV1beta1ServiceReference,AppsV1beta1Deployment:AppsV1beta1Deployment,AppsV1beta1DeploymentCondition:AppsV1beta1DeploymentCondition,AppsV1beta1DeploymentList:AppsV1beta1DeploymentList,AppsV1beta1DeploymentRollback:AppsV1beta1DeploymentRollback,AppsV1beta1DeploymentSpec:AppsV1beta1DeploymentSpec,AppsV1beta1DeploymentStatus:AppsV1beta1DeploymentStatus,AppsV1beta1DeploymentStrategy:AppsV1beta1DeploymentStrategy,AppsV1beta1RollbackConfig:AppsV1beta1RollbackConfig,AppsV1beta1RollingUpdateDeployment:AppsV1beta1RollingUpdateDeployment,AppsV1beta1Scale:AppsV1beta1Scale,AppsV1beta1ScaleSpec:AppsV1beta1ScaleSpec,AppsV1beta1ScaleStatus:AppsV1beta1ScaleStatus,ExtensionsV1beta1AllowedFlexVolume:ExtensionsV1beta1AllowedFlexVolume,ExtensionsV1beta1AllowedHostPath:ExtensionsV1beta1AllowedHostPath,ExtensionsV1beta1Deployment:ExtensionsV1beta1Deployment,ExtensionsV1beta1DeploymentCondition:ExtensionsV1beta1DeploymentCondition,ExtensionsV1beta1DeploymentList:ExtensionsV1beta1DeploymentList,ExtensionsV1beta1DeploymentRollback:ExtensionsV1beta1DeploymentRollback,ExtensionsV1beta1DeploymentSpec:ExtensionsV1beta1DeploymentSpec,ExtensionsV1beta1DeploymentStatus:ExtensionsV1beta1DeploymentStatus,ExtensionsV1beta1DeploymentStrategy:ExtensionsV1beta1DeploymentStrategy,ExtensionsV1beta1FSGroupStrategyOptions:ExtensionsV1beta1FSGroupStrategyOptions,ExtensionsV1beta1HostPortRange:ExtensionsV1beta1HostPortRange,ExtensionsV1beta1IDRange:ExtensionsV1beta1IDRange,ExtensionsV1beta1PodSecurityPolicy:ExtensionsV1beta1PodSecurityPolicy,ExtensionsV1beta1PodSecurityPolicyList:ExtensionsV1beta1PodSecurityPolicyList,ExtensionsV1beta1PodSecurityPolicySpec:ExtensionsV1beta1PodSecurityPolicySpec,ExtensionsV1beta1RollbackConfig:ExtensionsV1beta1RollbackConfig,ExtensionsV1beta1RollingUpdateDeployment:ExtensionsV1beta1RollingUpdateDeployment,ExtensionsV1beta1RunAsGroupStrategyOptions:ExtensionsV1beta1RunAsGroupStrategyOptions,ExtensionsV1beta1RunAsUserStrategyOptions:ExtensionsV1beta1RunAsUserStrategyOptions,ExtensionsV1beta1SELinuxStrategyOptions:ExtensionsV1beta1SELinuxStrategyOptions,ExtensionsV1beta1Scale:ExtensionsV1beta1Scale,ExtensionsV1beta1ScaleSpec:ExtensionsV1beta1ScaleSpec,ExtensionsV1beta1ScaleStatus:ExtensionsV1beta1ScaleStatus,ExtensionsV1beta1SupplementalGroupsStrategyOptions:ExtensionsV1beta1SupplementalGroupsStrategyOptions,PolicyV1beta1AllowedFlexVolume:PolicyV1beta1AllowedFlexVolume,PolicyV1beta1AllowedHostPath:PolicyV1beta1AllowedHostPath,PolicyV1beta1FSGroupStrategyOptions:PolicyV1beta1FSGroupStrategyOptions,PolicyV1beta1HostPortRange:PolicyV1beta1HostPortRange,PolicyV1beta1IDRange:PolicyV1beta1IDRange,PolicyV1beta1PodSecurityPolicy:PolicyV1beta1PodSecurityPolicy,PolicyV1beta1PodSecurityPolicyList:PolicyV1beta1PodSecurityPolicyList,PolicyV1beta1PodSecurityPolicySpec:PolicyV1beta1PodSecurityPolicySpec,PolicyV1beta1RunAsGroupStrategyOptions:PolicyV1beta1RunAsGroupStrategyOptions,PolicyV1beta1RunAsUserStrategyOptions:PolicyV1beta1RunAsUserStrategyOptions,PolicyV1beta1SELinuxStrategyOptions:PolicyV1beta1SELinuxStrategyOptions,PolicyV1beta1SupplementalGroupsStrategyOptions:PolicyV1beta1SupplementalGroupsStrategyOptions,RuntimeRawExtension:RuntimeRawExtension,V1APIGroup:V1APIGroup,V1APIGroupList:V1APIGroupList,V1APIResource:V1APIResource,V1APIResourceList:V1APIResourceList,V1APIService:V1APIService,V1APIServiceCondition:V1APIServiceCondition,V1APIServiceList:V1APIServiceList,V1APIServiceSpec:V1APIServiceSpec,V1APIServiceStatus:V1APIServiceStatus,V1APIVersions:V1APIVersions,V1AWSElasticBlockStoreVolumeSource:V1AWSElasticBlockStoreVolumeSource,V1Affinity:V1Affinity,V1AggregationRule:V1AggregationRule,V1AttachedVolume:V1AttachedVolume,V1AzureDiskVolumeSource:V1AzureDiskVolumeSource,V1AzureFilePersistentVolumeSource:V1AzureFilePersistentVolumeSource,V1AzureFileVolumeSource:V1AzureFileVolumeSource,V1Binding:V1Binding,V1CSIPersistentVolumeSource:V1CSIPersistentVolumeSource,V1Capabilities:V1Capabilities,V1CephFSPersistentVolumeSource:V1CephFSPersistentVolumeSource,V1CephFSVolumeSource:V1CephFSVolumeSource,V1CinderPersistentVolumeSource:V1CinderPersistentVolumeSource,V1CinderVolumeSource:V1CinderVolumeSource,V1ClientIPConfig:V1ClientIPConfig,V1ClusterRole:V1ClusterRole,V1ClusterRoleBinding:V1ClusterRoleBinding,V1ClusterRoleBindingList:V1ClusterRoleBindingList,V1ClusterRoleList:V1ClusterRoleList,V1ComponentCondition:V1ComponentCondition,V1ComponentStatus:V1ComponentStatus,V1ComponentStatusList:V1ComponentStatusList,V1ConfigMap:V1ConfigMap,V1ConfigMapEnvSource:V1ConfigMapEnvSource,V1ConfigMapKeySelector:V1ConfigMapKeySelector,V1ConfigMapList:V1ConfigMapList,V1ConfigMapNodeConfigSource:V1ConfigMapNodeConfigSource,V1ConfigMapProjection:V1ConfigMapProjection,V1ConfigMapVolumeSource:V1ConfigMapVolumeSource,V1Container:V1Container,V1ContainerImage:V1ContainerImage,V1ContainerPort:V1ContainerPort,V1ContainerState:V1ContainerState,V1ContainerStateRunning:V1ContainerStateRunning,V1ContainerStateTerminated:V1ContainerStateTerminated,V1ContainerStateWaiting:V1ContainerStateWaiting,V1ContainerStatus:V1ContainerStatus,V1ControllerRevision:V1ControllerRevision,V1ControllerRevisionList:V1ControllerRevisionList,V1CrossVersionObjectReference:V1CrossVersionObjectReference,V1DaemonEndpoint:V1DaemonEndpoint,V1DaemonSet:V1DaemonSet,V1DaemonSetCondition:V1DaemonSetCondition,V1DaemonSetList:V1DaemonSetList,V1DaemonSetSpec:V1DaemonSetSpec,V1DaemonSetStatus:V1DaemonSetStatus,V1DaemonSetUpdateStrategy:V1DaemonSetUpdateStrategy,V1DeleteOptions:V1DeleteOptions,V1Deployment:V1Deployment,V1DeploymentCondition:V1DeploymentCondition,V1DeploymentList:V1DeploymentList,V1DeploymentSpec:V1DeploymentSpec,V1DeploymentStatus:V1DeploymentStatus,V1DeploymentStrategy:V1DeploymentStrategy,V1DownwardAPIProjection:V1DownwardAPIProjection,V1DownwardAPIVolumeFile:V1DownwardAPIVolumeFile,V1DownwardAPIVolumeSource:V1DownwardAPIVolumeSource,V1EmptyDirVolumeSource:V1EmptyDirVolumeSource,V1EndpointAddress:V1EndpointAddress,V1EndpointPort:V1EndpointPort,V1EndpointSubset:V1EndpointSubset,V1Endpoints:V1Endpoints,V1EndpointsList:V1EndpointsList,V1EnvFromSource:V1EnvFromSource,V1EnvVar:V1EnvVar,V1EnvVarSource:V1EnvVarSource,V1Event:V1Event,V1EventList:V1EventList,V1EventSeries:V1EventSeries,V1EventSource:V1EventSource,V1ExecAction:V1ExecAction,V1FCVolumeSource:V1FCVolumeSource,V1FlexPersistentVolumeSource:V1FlexPersistentVolumeSource,V1FlexVolumeSource:V1FlexVolumeSource,V1FlockerVolumeSource:V1FlockerVolumeSource,V1GCEPersistentDiskVolumeSource:V1GCEPersistentDiskVolumeSource,V1GitRepoVolumeSource:V1GitRepoVolumeSource,V1GlusterfsPersistentVolumeSource:V1GlusterfsPersistentVolumeSource,V1GlusterfsVolumeSource:V1GlusterfsVolumeSource,V1GroupVersionForDiscovery:V1GroupVersionForDiscovery,V1HTTPGetAction:V1HTTPGetAction,V1HTTPHeader:V1HTTPHeader,V1Handler:V1Handler,V1HorizontalPodAutoscaler:V1HorizontalPodAutoscaler,V1HorizontalPodAutoscalerList:V1HorizontalPodAutoscalerList,V1HorizontalPodAutoscalerSpec:V1HorizontalPodAutoscalerSpec,V1HorizontalPodAutoscalerStatus:V1HorizontalPodAutoscalerStatus,V1HostAlias:V1HostAlias,V1HostPathVolumeSource:V1HostPathVolumeSource,V1IPBlock:V1IPBlock,V1ISCSIPersistentVolumeSource:V1ISCSIPersistentVolumeSource,V1ISCSIVolumeSource:V1ISCSIVolumeSource,V1Initializer:V1Initializer,V1Initializers:V1Initializers,V1Job:V1Job,V1JobCondition:V1JobCondition,V1JobList:V1JobList,V1JobSpec:V1JobSpec,V1JobStatus:V1JobStatus,V1KeyToPath:V1KeyToPath,V1LabelSelector:V1LabelSelector,V1LabelSelectorRequirement:V1LabelSelectorRequirement,V1Lifecycle:V1Lifecycle,V1LimitRange:V1LimitRange,V1LimitRangeItem:V1LimitRangeItem,V1LimitRangeList:V1LimitRangeList,V1LimitRangeSpec:V1LimitRangeSpec,V1ListMeta:V1ListMeta,V1LoadBalancerIngress:V1LoadBalancerIngress,V1LoadBalancerStatus:V1LoadBalancerStatus,V1LocalObjectReference:V1LocalObjectReference,V1LocalSubjectAccessReview:V1LocalSubjectAccessReview,V1LocalVolumeSource:V1LocalVolumeSource,V1NFSVolumeSource:V1NFSVolumeSource,V1Namespace:V1Namespace,V1NamespaceList:V1NamespaceList,V1NamespaceSpec:V1NamespaceSpec,V1NamespaceStatus:V1NamespaceStatus,V1NetworkPolicy:V1NetworkPolicy,V1NetworkPolicyEgressRule:V1NetworkPolicyEgressRule,V1NetworkPolicyIngressRule:V1NetworkPolicyIngressRule,V1NetworkPolicyList:V1NetworkPolicyList,V1NetworkPolicyPeer:V1NetworkPolicyPeer,V1NetworkPolicyPort:V1NetworkPolicyPort,V1NetworkPolicySpec:V1NetworkPolicySpec,V1Node:V1Node,V1NodeAddress:V1NodeAddress,V1NodeAffinity:V1NodeAffinity,V1NodeCondition:V1NodeCondition,V1NodeConfigSource:V1NodeConfigSource,V1NodeConfigStatus:V1NodeConfigStatus,V1NodeDaemonEndpoints:V1NodeDaemonEndpoints,V1NodeList:V1NodeList,V1NodeSelector:V1NodeSelector,V1NodeSelectorRequirement:V1NodeSelectorRequirement,V1NodeSelectorTerm:V1NodeSelectorTerm,V1NodeSpec:V1NodeSpec,V1NodeStatus:V1NodeStatus,V1NodeSystemInfo:V1NodeSystemInfo,V1NonResourceAttributes:V1NonResourceAttributes,V1NonResourceRule:V1NonResourceRule,V1ObjectFieldSelector:V1ObjectFieldSelector,V1ObjectMeta:V1ObjectMeta,V1ObjectReference:V1ObjectReference,V1OwnerReference:V1OwnerReference,V1PersistentVolume:V1PersistentVolume,V1PersistentVolumeClaim:V1PersistentVolumeClaim,V1PersistentVolumeClaimCondition:V1PersistentVolumeClaimCondition,V1PersistentVolumeClaimList:V1PersistentVolumeClaimList,V1PersistentVolumeClaimSpec:V1PersistentVolumeClaimSpec,V1PersistentVolumeClaimStatus:V1PersistentVolumeClaimStatus,V1PersistentVolumeClaimVolumeSource:V1PersistentVolumeClaimVolumeSource,V1PersistentVolumeList:V1PersistentVolumeList,V1PersistentVolumeSpec:V1PersistentVolumeSpec,V1PersistentVolumeStatus:V1PersistentVolumeStatus,V1PhotonPersistentDiskVolumeSource:V1PhotonPersistentDiskVolumeSource,V1Pod:V1Pod,V1PodAffinity:V1PodAffinity,V1PodAffinityTerm:V1PodAffinityTerm,V1PodAntiAffinity:V1PodAntiAffinity,V1PodCondition:V1PodCondition,V1PodDNSConfig:V1PodDNSConfig,V1PodDNSConfigOption:V1PodDNSConfigOption,V1PodList:V1PodList,V1PodReadinessGate:V1PodReadinessGate,V1PodSecurityContext:V1PodSecurityContext,V1PodSpec:V1PodSpec,V1PodStatus:V1PodStatus,V1PodTemplate:V1PodTemplate,V1PodTemplateList:V1PodTemplateList,V1PodTemplateSpec:V1PodTemplateSpec,V1PolicyRule:V1PolicyRule,V1PortworxVolumeSource:V1PortworxVolumeSource,V1Preconditions:V1Preconditions,V1PreferredSchedulingTerm:V1PreferredSchedulingTerm,V1Probe:V1Probe,V1ProjectedVolumeSource:V1ProjectedVolumeSource,V1QuobyteVolumeSource:V1QuobyteVolumeSource,V1RBDPersistentVolumeSource:V1RBDPersistentVolumeSource,V1RBDVolumeSource:V1RBDVolumeSource,V1ReplicaSet:V1ReplicaSet,V1ReplicaSetCondition:V1ReplicaSetCondition,V1ReplicaSetList:V1ReplicaSetList,V1ReplicaSetSpec:V1ReplicaSetSpec,V1ReplicaSetStatus:V1ReplicaSetStatus,V1ReplicationController:V1ReplicationController,V1ReplicationControllerCondition:V1ReplicationControllerCondition,V1ReplicationControllerList:V1ReplicationControllerList,V1ReplicationControllerSpec:V1ReplicationControllerSpec,V1ReplicationControllerStatus:V1ReplicationControllerStatus,V1ResourceAttributes:V1ResourceAttributes,V1ResourceFieldSelector:V1ResourceFieldSelector,V1ResourceQuota:V1ResourceQuota,V1ResourceQuotaList:V1ResourceQuotaList,V1ResourceQuotaSpec:V1ResourceQuotaSpec,V1ResourceQuotaStatus:V1ResourceQuotaStatus,V1ResourceRequirements:V1ResourceRequirements,V1ResourceRule:V1ResourceRule,V1Role:V1Role,V1RoleBinding:V1RoleBinding,V1RoleBindingList:V1RoleBindingList,V1RoleList:V1RoleList,V1RoleRef:V1RoleRef,V1RollingUpdateDaemonSet:V1RollingUpdateDaemonSet,V1RollingUpdateDeployment:V1RollingUpdateDeployment,V1RollingUpdateStatefulSetStrategy:V1RollingUpdateStatefulSetStrategy,V1SELinuxOptions:V1SELinuxOptions,V1Scale:V1Scale,V1ScaleIOPersistentVolumeSource:V1ScaleIOPersistentVolumeSource,V1ScaleIOVolumeSource:V1ScaleIOVolumeSource,V1ScaleSpec:V1ScaleSpec,V1ScaleStatus:V1ScaleStatus,V1ScopeSelector:V1ScopeSelector,V1ScopedResourceSelectorRequirement:V1ScopedResourceSelectorRequirement,V1Secret:V1Secret,V1SecretEnvSource:V1SecretEnvSource,V1SecretKeySelector:V1SecretKeySelector,V1SecretList:V1SecretList,V1SecretProjection:V1SecretProjection,V1SecretReference:V1SecretReference,V1SecretVolumeSource:V1SecretVolumeSource,V1SecurityContext:V1SecurityContext,V1SelfSubjectAccessReview:V1SelfSubjectAccessReview,V1SelfSubjectAccessReviewSpec:V1SelfSubjectAccessReviewSpec,V1SelfSubjectRulesReview:V1SelfSubjectRulesReview,V1SelfSubjectRulesReviewSpec:V1SelfSubjectRulesReviewSpec,V1ServerAddressByClientCIDR:V1ServerAddressByClientCIDR,V1Service:V1Service,V1ServiceAccount:V1ServiceAccount,V1ServiceAccountList:V1ServiceAccountList,V1ServiceAccountTokenProjection:V1ServiceAccountTokenProjection,V1ServiceList:V1ServiceList,V1ServicePort:V1ServicePort,V1ServiceReference:V1ServiceReference,V1ServiceSpec:V1ServiceSpec,V1ServiceStatus:V1ServiceStatus,V1SessionAffinityConfig:V1SessionAffinityConfig,V1StatefulSet:V1StatefulSet,V1StatefulSetCondition:V1StatefulSetCondition,V1StatefulSetList:V1StatefulSetList,V1StatefulSetSpec:V1StatefulSetSpec,V1StatefulSetStatus:V1StatefulSetStatus,V1StatefulSetUpdateStrategy:V1StatefulSetUpdateStrategy,V1Status:V1Status,V1StatusCause:V1StatusCause,V1StatusDetails:V1StatusDetails,V1StorageClass:V1StorageClass,V1StorageClassList:V1StorageClassList,V1StorageOSPersistentVolumeSource:V1StorageOSPersistentVolumeSource,V1StorageOSVolumeSource:V1StorageOSVolumeSource,V1Subject:V1Subject,V1SubjectAccessReview:V1SubjectAccessReview,V1SubjectAccessReviewSpec:V1SubjectAccessReviewSpec,V1SubjectAccessReviewStatus:V1SubjectAccessReviewStatus,V1SubjectRulesReviewStatus:V1SubjectRulesReviewStatus,V1Sysctl:V1Sysctl,V1TCPSocketAction:V1TCPSocketAction,V1Taint:V1Taint,V1TokenReview:V1TokenReview,V1TokenReviewSpec:V1TokenReviewSpec,V1TokenReviewStatus:V1TokenReviewStatus,V1Toleration:V1Toleration,V1TopologySelectorLabelRequirement:V1TopologySelectorLabelRequirement,V1TopologySelectorTerm:V1TopologySelectorTerm,V1TypedLocalObjectReference:V1TypedLocalObjectReference,V1UserInfo:V1UserInfo,V1Volume:V1Volume,V1VolumeAttachment:V1VolumeAttachment,V1VolumeAttachmentList:V1VolumeAttachmentList,V1VolumeAttachmentSource:V1VolumeAttachmentSource,V1VolumeAttachmentSpec:V1VolumeAttachmentSpec,V1VolumeAttachmentStatus:V1VolumeAttachmentStatus,V1VolumeDevice:V1VolumeDevice,V1VolumeError:V1VolumeError,V1VolumeMount:V1VolumeMount,V1VolumeNodeAffinity:V1VolumeNodeAffinity,V1VolumeProjection:V1VolumeProjection,V1VsphereVirtualDiskVolumeSource:V1VsphereVirtualDiskVolumeSource,V1WatchEvent:V1WatchEvent,V1WeightedPodAffinityTerm:V1WeightedPodAffinityTerm,V1alpha1AggregationRule:V1alpha1AggregationRule,V1alpha1AuditSink:V1alpha1AuditSink,V1alpha1AuditSinkList:V1alpha1AuditSinkList,V1alpha1AuditSinkSpec:V1alpha1AuditSinkSpec,V1alpha1ClusterRole:V1alpha1ClusterRole,V1alpha1ClusterRoleBinding:V1alpha1ClusterRoleBinding,V1alpha1ClusterRoleBindingList:V1alpha1ClusterRoleBindingList,V1alpha1ClusterRoleList:V1alpha1ClusterRoleList,V1alpha1Initializer:V1alpha1Initializer,V1alpha1InitializerConfiguration:V1alpha1InitializerConfiguration,V1alpha1InitializerConfigurationList:V1alpha1InitializerConfigurationList,V1alpha1PodPreset:V1alpha1PodPreset,V1alpha1PodPresetList:V1alpha1PodPresetList,V1alpha1PodPresetSpec:V1alpha1PodPresetSpec,V1alpha1Policy:V1alpha1Policy,V1alpha1PolicyRule:V1alpha1PolicyRule,V1alpha1PriorityClass:V1alpha1PriorityClass,V1alpha1PriorityClassList:V1alpha1PriorityClassList,V1alpha1Role:V1alpha1Role,V1alpha1RoleBinding:V1alpha1RoleBinding,V1alpha1RoleBindingList:V1alpha1RoleBindingList,V1alpha1RoleList:V1alpha1RoleList,V1alpha1RoleRef:V1alpha1RoleRef,V1alpha1Rule:V1alpha1Rule,V1alpha1ServiceReference:V1alpha1ServiceReference,V1alpha1Subject:V1alpha1Subject,V1alpha1VolumeAttachment:V1alpha1VolumeAttachment,V1alpha1VolumeAttachmentList:V1alpha1VolumeAttachmentList,V1alpha1VolumeAttachmentSource:V1alpha1VolumeAttachmentSource,V1alpha1VolumeAttachmentSpec:V1alpha1VolumeAttachmentSpec,V1alpha1VolumeAttachmentStatus:V1alpha1VolumeAttachmentStatus,V1alpha1VolumeError:V1alpha1VolumeError,V1alpha1Webhook:V1alpha1Webhook,V1alpha1WebhookClientConfig:V1alpha1WebhookClientConfig,V1alpha1WebhookThrottleConfig:V1alpha1WebhookThrottleConfig,V1beta1APIService:V1beta1APIService,V1beta1APIServiceCondition:V1beta1APIServiceCondition,V1beta1APIServiceList:V1beta1APIServiceList,V1beta1APIServiceSpec:V1beta1APIServiceSpec,V1beta1APIServiceStatus:V1beta1APIServiceStatus,V1beta1AggregationRule:V1beta1AggregationRule,V1beta1CertificateSigningRequest:V1beta1CertificateSigningRequest,V1beta1CertificateSigningRequestCondition:V1beta1CertificateSigningRequestCondition,V1beta1CertificateSigningRequestList:V1beta1CertificateSigningRequestList,V1beta1CertificateSigningRequestSpec:V1beta1CertificateSigningRequestSpec,V1beta1CertificateSigningRequestStatus:V1beta1CertificateSigningRequestStatus,V1beta1ClusterRole:V1beta1ClusterRole,V1beta1ClusterRoleBinding:V1beta1ClusterRoleBinding,V1beta1ClusterRoleBindingList:V1beta1ClusterRoleBindingList,V1beta1ClusterRoleList:V1beta1ClusterRoleList,V1beta1ControllerRevision:V1beta1ControllerRevision,V1beta1ControllerRevisionList:V1beta1ControllerRevisionList,V1beta1CronJob:V1beta1CronJob,V1beta1CronJobList:V1beta1CronJobList,V1beta1CronJobSpec:V1beta1CronJobSpec,V1beta1CronJobStatus:V1beta1CronJobStatus,V1beta1CustomResourceColumnDefinition:V1beta1CustomResourceColumnDefinition,V1beta1CustomResourceConversion:V1beta1CustomResourceConversion,V1beta1CustomResourceDefinition:V1beta1CustomResourceDefinition,V1beta1CustomResourceDefinitionCondition:V1beta1CustomResourceDefinitionCondition,V1beta1CustomResourceDefinitionList:V1beta1CustomResourceDefinitionList,V1beta1CustomResourceDefinitionNames:V1beta1CustomResourceDefinitionNames,V1beta1CustomResourceDefinitionSpec:V1beta1CustomResourceDefinitionSpec,V1beta1CustomResourceDefinitionStatus:V1beta1CustomResourceDefinitionStatus,V1beta1CustomResourceDefinitionVersion:V1beta1CustomResourceDefinitionVersion,V1beta1CustomResourceSubresourceScale:V1beta1CustomResourceSubresourceScale,V1beta1CustomResourceSubresources:V1beta1CustomResourceSubresources,V1beta1CustomResourceValidation:V1beta1CustomResourceValidation,V1beta1DaemonSet:V1beta1DaemonSet,V1beta1DaemonSetCondition:V1beta1DaemonSetCondition,V1beta1DaemonSetList:V1beta1DaemonSetList,V1beta1DaemonSetSpec:V1beta1DaemonSetSpec,V1beta1DaemonSetStatus:V1beta1DaemonSetStatus,V1beta1DaemonSetUpdateStrategy:V1beta1DaemonSetUpdateStrategy,V1beta1Event:V1beta1Event,V1beta1EventList:V1beta1EventList,V1beta1EventSeries:V1beta1EventSeries,V1beta1Eviction:V1beta1Eviction,V1beta1ExternalDocumentation:V1beta1ExternalDocumentation,V1beta1HTTPIngressPath:V1beta1HTTPIngressPath,V1beta1HTTPIngressRuleValue:V1beta1HTTPIngressRuleValue,V1beta1IPBlock:V1beta1IPBlock,V1beta1Ingress:V1beta1Ingress,V1beta1IngressBackend:V1beta1IngressBackend,V1beta1IngressList:V1beta1IngressList,V1beta1IngressRule:V1beta1IngressRule,V1beta1IngressSpec:V1beta1IngressSpec,V1beta1IngressStatus:V1beta1IngressStatus,V1beta1IngressTLS:V1beta1IngressTLS,V1beta1JSONSchemaProps:V1beta1JSONSchemaProps,V1beta1JobTemplateSpec:V1beta1JobTemplateSpec,V1beta1Lease:V1beta1Lease,V1beta1LeaseList:V1beta1LeaseList,V1beta1LeaseSpec:V1beta1LeaseSpec,V1beta1LocalSubjectAccessReview:V1beta1LocalSubjectAccessReview,V1beta1MutatingWebhookConfiguration:V1beta1MutatingWebhookConfiguration,V1beta1MutatingWebhookConfigurationList:V1beta1MutatingWebhookConfigurationList,V1beta1NetworkPolicy:V1beta1NetworkPolicy,V1beta1NetworkPolicyEgressRule:V1beta1NetworkPolicyEgressRule,V1beta1NetworkPolicyIngressRule:V1beta1NetworkPolicyIngressRule,V1beta1NetworkPolicyList:V1beta1NetworkPolicyList,V1beta1NetworkPolicyPeer:V1beta1NetworkPolicyPeer,V1beta1NetworkPolicyPort:V1beta1NetworkPolicyPort,V1beta1NetworkPolicySpec:V1beta1NetworkPolicySpec,V1beta1NonResourceAttributes:V1beta1NonResourceAttributes,V1beta1NonResourceRule:V1beta1NonResourceRule,V1beta1PodDisruptionBudget:V1beta1PodDisruptionBudget,V1beta1PodDisruptionBudgetList:V1beta1PodDisruptionBudgetList,V1beta1PodDisruptionBudgetSpec:V1beta1PodDisruptionBudgetSpec,V1beta1PodDisruptionBudgetStatus:V1beta1PodDisruptionBudgetStatus,V1beta1PolicyRule:V1beta1PolicyRule,V1beta1PriorityClass:V1beta1PriorityClass,V1beta1PriorityClassList:V1beta1PriorityClassList,V1beta1ReplicaSet:V1beta1ReplicaSet,V1beta1ReplicaSetCondition:V1beta1ReplicaSetCondition,V1beta1ReplicaSetList:V1beta1ReplicaSetList,V1beta1ReplicaSetSpec:V1beta1ReplicaSetSpec,V1beta1ReplicaSetStatus:V1beta1ReplicaSetStatus,V1beta1ResourceAttributes:V1beta1ResourceAttributes,V1beta1ResourceRule:V1beta1ResourceRule,V1beta1Role:V1beta1Role,V1beta1RoleBinding:V1beta1RoleBinding,V1beta1RoleBindingList:V1beta1RoleBindingList,V1beta1RoleList:V1beta1RoleList,V1beta1RoleRef:V1beta1RoleRef,V1beta1RollingUpdateDaemonSet:V1beta1RollingUpdateDaemonSet,V1beta1RollingUpdateStatefulSetStrategy:V1beta1RollingUpdateStatefulSetStrategy,V1beta1RuleWithOperations:V1beta1RuleWithOperations,V1beta1SelfSubjectAccessReview:V1beta1SelfSubjectAccessReview,V1beta1SelfSubjectAccessReviewSpec:V1beta1SelfSubjectAccessReviewSpec,V1beta1SelfSubjectRulesReview:V1beta1SelfSubjectRulesReview,V1beta1SelfSubjectRulesReviewSpec:V1beta1SelfSubjectRulesReviewSpec,V1beta1StatefulSet:V1beta1StatefulSet,V1beta1StatefulSetCondition:V1beta1StatefulSetCondition,V1beta1StatefulSetList:V1beta1StatefulSetList,V1beta1StatefulSetSpec:V1beta1StatefulSetSpec,V1beta1StatefulSetStatus:V1beta1StatefulSetStatus,V1beta1StatefulSetUpdateStrategy:V1beta1StatefulSetUpdateStrategy,V1beta1StorageClass:V1beta1StorageClass,V1beta1StorageClassList:V1beta1StorageClassList,V1beta1Subject:V1beta1Subject,V1beta1SubjectAccessReview:V1beta1SubjectAccessReview,V1beta1SubjectAccessReviewSpec:V1beta1SubjectAccessReviewSpec,V1beta1SubjectAccessReviewStatus:V1beta1SubjectAccessReviewStatus,V1beta1SubjectRulesReviewStatus:V1beta1SubjectRulesReviewStatus,V1beta1TokenReview:V1beta1TokenReview,V1beta1TokenReviewSpec:V1beta1TokenReviewSpec,V1beta1TokenReviewStatus:V1beta1TokenReviewStatus,V1beta1UserInfo:V1beta1UserInfo,V1beta1ValidatingWebhookConfiguration:V1beta1ValidatingWebhookConfiguration,V1beta1ValidatingWebhookConfigurationList:V1beta1ValidatingWebhookConfigurationList,V1beta1VolumeAttachment:V1beta1VolumeAttachment,V1beta1VolumeAttachmentList:V1beta1VolumeAttachmentList,V1beta1VolumeAttachmentSource:V1beta1VolumeAttachmentSource,V1beta1VolumeAttachmentSpec:V1beta1VolumeAttachmentSpec,V1beta1VolumeAttachmentStatus:V1beta1VolumeAttachmentStatus,V1beta1VolumeError:V1beta1VolumeError,V1beta1Webhook:V1beta1Webhook,V1beta2ControllerRevision:V1beta2ControllerRevision,V1beta2ControllerRevisionList:V1beta2ControllerRevisionList,V1beta2DaemonSet:V1beta2DaemonSet,V1beta2DaemonSetCondition:V1beta2DaemonSetCondition,V1beta2DaemonSetList:V1beta2DaemonSetList,V1beta2DaemonSetSpec:V1beta2DaemonSetSpec,V1beta2DaemonSetStatus:V1beta2DaemonSetStatus,V1beta2DaemonSetUpdateStrategy:V1beta2DaemonSetUpdateStrategy,V1beta2Deployment:V1beta2Deployment,V1beta2DeploymentCondition:V1beta2DeploymentCondition,V1beta2DeploymentList:V1beta2DeploymentList,V1beta2DeploymentSpec:V1beta2DeploymentSpec,V1beta2DeploymentStatus:V1beta2DeploymentStatus,V1beta2DeploymentStrategy:V1beta2DeploymentStrategy,V1beta2ReplicaSet:V1beta2ReplicaSet,V1beta2ReplicaSetCondition:V1beta2ReplicaSetCondition,V1beta2ReplicaSetList:V1beta2ReplicaSetList,V1beta2ReplicaSetSpec:V1beta2ReplicaSetSpec,V1beta2ReplicaSetStatus:V1beta2ReplicaSetStatus,V1beta2RollingUpdateDaemonSet:V1beta2RollingUpdateDaemonSet,V1beta2RollingUpdateDeployment:V1beta2RollingUpdateDeployment,V1beta2RollingUpdateStatefulSetStrategy:V1beta2RollingUpdateStatefulSetStrategy,V1beta2Scale:V1beta2Scale,V1beta2ScaleSpec:V1beta2ScaleSpec,V1beta2ScaleStatus:V1beta2ScaleStatus,V1beta2StatefulSet:V1beta2StatefulSet,V1beta2StatefulSetCondition:V1beta2StatefulSetCondition,V1beta2StatefulSetList:V1beta2StatefulSetList,V1beta2StatefulSetSpec:V1beta2StatefulSetSpec,V1beta2StatefulSetStatus:V1beta2StatefulSetStatus,V1beta2StatefulSetUpdateStrategy:V1beta2StatefulSetUpdateStrategy,V2alpha1CronJob:V2alpha1CronJob,V2alpha1CronJobList:V2alpha1CronJobList,V2alpha1CronJobSpec:V2alpha1CronJobSpec,V2alpha1CronJobStatus:V2alpha1CronJobStatus,V2alpha1JobTemplateSpec:V2alpha1JobTemplateSpec,V2beta1CrossVersionObjectReference:V2beta1CrossVersionObjectReference,V2beta1ExternalMetricSource:V2beta1ExternalMetricSource,V2beta1ExternalMetricStatus:V2beta1ExternalMetricStatus,V2beta1HorizontalPodAutoscaler:V2beta1HorizontalPodAutoscaler,V2beta1HorizontalPodAutoscalerCondition:V2beta1HorizontalPodAutoscalerCondition,V2beta1HorizontalPodAutoscalerList:V2beta1HorizontalPodAutoscalerList,V2beta1HorizontalPodAutoscalerSpec:V2beta1HorizontalPodAutoscalerSpec,V2beta1HorizontalPodAutoscalerStatus:V2beta1HorizontalPodAutoscalerStatus,V2beta1MetricSpec:V2beta1MetricSpec,V2beta1MetricStatus:V2beta1MetricStatus,V2beta1ObjectMetricSource:V2beta1ObjectMetricSource,V2beta1ObjectMetricStatus:V2beta1ObjectMetricStatus,V2beta1PodsMetricSource:V2beta1PodsMetricSource,V2beta1PodsMetricStatus:V2beta1PodsMetricStatus,V2beta1ResourceMetricSource:V2beta1ResourceMetricSource,V2beta1ResourceMetricStatus:V2beta1ResourceMetricStatus,V2beta2CrossVersionObjectReference:V2beta2CrossVersionObjectReference,V2beta2ExternalMetricSource:V2beta2ExternalMetricSource,V2beta2ExternalMetricStatus:V2beta2ExternalMetricStatus,V2beta2HorizontalPodAutoscaler:V2beta2HorizontalPodAutoscaler,V2beta2HorizontalPodAutoscalerCondition:V2beta2HorizontalPodAutoscalerCondition,V2beta2HorizontalPodAutoscalerList:V2beta2HorizontalPodAutoscalerList,V2beta2HorizontalPodAutoscalerSpec:V2beta2HorizontalPodAutoscalerSpec,V2beta2HorizontalPodAutoscalerStatus:V2beta2HorizontalPodAutoscalerStatus,V2beta2MetricIdentifier:V2beta2MetricIdentifier,V2beta2MetricSpec:V2beta2MetricSpec,V2beta2MetricStatus:V2beta2MetricStatus,V2beta2MetricTarget:V2beta2MetricTarget,V2beta2MetricValueStatus:V2beta2MetricValueStatus,V2beta2ObjectMetricSource:V2beta2ObjectMetricSource,V2beta2ObjectMetricStatus:V2beta2ObjectMetricStatus,V2beta2PodsMetricSource:V2beta2PodsMetricSource,V2beta2PodsMetricStatus:V2beta2PodsMetricStatus,V2beta2ResourceMetricSource:V2beta2ResourceMetricSource,V2beta2ResourceMetricStatus:V2beta2ResourceMetricStatus,VersionInfo:VersionInfo};class HttpBasicAuth{constructor(){this.username="";this.password=""}applyToRequest(e){e.auth={username:this.username,password:this.password}}}t.HttpBasicAuth=HttpBasicAuth;class ApiKeyAuth{constructor(e,t){this.location=e;this.paramName=t;this.apiKey=""}applyToRequest(e){if(this.location=="query"){e.qs[this.paramName]=this.apiKey}else if(this.location=="header"&&e&&e.headers){e.headers[this.paramName]=this.apiKey}}}t.ApiKeyAuth=ApiKeyAuth;class OAuth{constructor(){this.accessToken=""}applyToRequest(e){if(e&&e.headers){e.headers["Authorization"]="Bearer "+this.accessToken}}}t.OAuth=OAuth;class VoidAuth{constructor(){this.username="";this.password=""}applyToRequest(e){}}t.VoidAuth=VoidAuth;var u;(function(e){e[e["BearerToken"]=0]="BearerToken"})(u=t.AdmissionregistrationApiApiKeys||(t.AdmissionregistrationApiApiKeys={}));class AdmissionregistrationApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[u[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/admissionregistration.k8s.io/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AdmissionregistrationApi=AdmissionregistrationApi;var l;(function(e){e[e["BearerToken"]=0]="BearerToken"})(l=t.AdmissionregistrationV1alpha1ApiApiKeys||(t.AdmissionregistrationV1alpha1ApiApiKeys={}));class AdmissionregistrationV1alpha1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[l[e]].apiKey=t}createInitializerConfiguration(e,t,i,a,r={}){const s=this.basePath+"/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createInitializerConfiguration.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1alpha1InitializerConfiguration")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1InitializerConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionInitializerConfiguration(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteInitializerConfiguration(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteInitializerConfiguration.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/admissionregistration.k8s.io/v1alpha1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listInitializerConfiguration(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1InitializerConfigurationList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchInitializerConfiguration(e,t,i,a,r={}){const s=this.basePath+"/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchInitializerConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchInitializerConfiguration.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1InitializerConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readInitializerConfiguration(e,t,i,a,r={}){const s=this.basePath+"/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readInitializerConfiguration.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1InitializerConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceInitializerConfiguration(e,t,i,a,r={}){const s=this.basePath+"/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceInitializerConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceInitializerConfiguration.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1alpha1InitializerConfiguration")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1InitializerConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AdmissionregistrationV1alpha1Api=AdmissionregistrationV1alpha1Api;var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AdmissionregistrationV1beta1ApiApiKeys||(t.AdmissionregistrationV1beta1ApiApiKeys={}));class AdmissionregistrationV1beta1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}createMutatingWebhookConfiguration(e,t,i,a,r={}){const s=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createMutatingWebhookConfiguration.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1beta1MutatingWebhookConfiguration")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createValidatingWebhookConfiguration(e,t,i,a,r={}){const s=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createValidatingWebhookConfiguration.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1beta1ValidatingWebhookConfiguration")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionMutatingWebhookConfiguration(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionValidatingWebhookConfiguration(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteMutatingWebhookConfiguration(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteMutatingWebhookConfiguration.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteValidatingWebhookConfiguration(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteValidatingWebhookConfiguration.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listMutatingWebhookConfiguration(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1MutatingWebhookConfigurationList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listValidatingWebhookConfiguration(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ValidatingWebhookConfigurationList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchMutatingWebhookConfiguration(e,t,i,a,r={}){const s=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchMutatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchMutatingWebhookConfiguration.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchValidatingWebhookConfiguration(e,t,i,a,r={}){const s=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchValidatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchValidatingWebhookConfiguration.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readMutatingWebhookConfiguration(e,t,i,a,r={}){const s=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readMutatingWebhookConfiguration.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readValidatingWebhookConfiguration(e,t,i,a,r={}){const s=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readValidatingWebhookConfiguration.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceMutatingWebhookConfiguration(e,t,i,a,r={}){const s=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceMutatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceMutatingWebhookConfiguration.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1MutatingWebhookConfiguration")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceValidatingWebhookConfiguration(e,t,i,a,r={}){const s=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceValidatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceValidatingWebhookConfiguration.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1ValidatingWebhookConfiguration")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AdmissionregistrationV1beta1Api=AdmissionregistrationV1beta1Api;var d;(function(e){e[e["BearerToken"]=0]="BearerToken"})(d=t.ApiextensionsApiApiKeys||(t.ApiextensionsApiApiKeys={}));class ApiextensionsApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[d[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/apiextensions.k8s.io/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.ApiextensionsApi=ApiextensionsApi;var p;(function(e){e[e["BearerToken"]=0]="BearerToken"})(p=t.ApiextensionsV1beta1ApiApiKeys||(t.ApiextensionsV1beta1ApiApiKeys={}));class ApiextensionsV1beta1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[p[e]].apiKey=t}createCustomResourceDefinition(e,t,i,a,r={}){const s=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createCustomResourceDefinition.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1beta1CustomResourceDefinition")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionCustomResourceDefinition(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCustomResourceDefinition(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteCustomResourceDefinition.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listCustomResourceDefinition(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CustomResourceDefinitionList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchCustomResourceDefinition(e,t,i,a,r={}){const s=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCustomResourceDefinition.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCustomResourceDefinition.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchCustomResourceDefinitionStatus(e,t,i,a,r={}){const s=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCustomResourceDefinitionStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCustomResourceDefinitionStatus.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readCustomResourceDefinition(e,t,i,a,r={}){const s=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCustomResourceDefinition.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readCustomResourceDefinitionStatus(e,t,i={}){const a=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCustomResourceDefinitionStatus.")}if(t!==undefined){r["pretty"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"GET",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceCustomResourceDefinition(e,t,i,a,r={}){const s=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCustomResourceDefinition.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCustomResourceDefinition.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1CustomResourceDefinition")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceCustomResourceDefinitionStatus(e,t,i,a,r={}){const s=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCustomResourceDefinitionStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCustomResourceDefinitionStatus.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1CustomResourceDefinition")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.ApiextensionsV1beta1Api=ApiextensionsV1beta1Api;var f;(function(e){e[e["BearerToken"]=0]="BearerToken"})(f=t.ApiregistrationApiApiKeys||(t.ApiregistrationApiApiKeys={}));class ApiregistrationApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[f[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/apiregistration.k8s.io/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.ApiregistrationApi=ApiregistrationApi;var h;(function(e){e[e["BearerToken"]=0]="BearerToken"})(h=t.ApiregistrationV1ApiApiKeys||(t.ApiregistrationV1ApiApiKeys={}));class ApiregistrationV1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[h[e]].apiKey=t}createAPIService(e,t,i,a,r={}){const s=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createAPIService.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1APIService")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteAPIService(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteAPIService.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionAPIService(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/apiregistration.k8s.io/v1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listAPIService(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIServiceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchAPIService(e,t,i,a,r={}){const s=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchAPIService.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchAPIService.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchAPIServiceStatus(e,t,i,a,r={}){const s=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchAPIServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchAPIServiceStatus.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readAPIService(e,t,i,a,r={}){const s=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readAPIService.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readAPIServiceStatus(e,t,i={}){const a=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readAPIServiceStatus.")}if(t!==undefined){r["pretty"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"GET",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceAPIService(e,t,i,a,r={}){const s=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceAPIService.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceAPIService.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1APIService")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceAPIServiceStatus(e,t,i,a,r={}){const s=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceAPIServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceAPIServiceStatus.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1APIService")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.ApiregistrationV1Api=ApiregistrationV1Api;var m;(function(e){e[e["BearerToken"]=0]="BearerToken"})(m=t.ApiregistrationV1beta1ApiApiKeys||(t.ApiregistrationV1beta1ApiApiKeys={}));class ApiregistrationV1beta1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[m[e]].apiKey=t}createAPIService(e,t,i,a,r={}){const s=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createAPIService.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1beta1APIService")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteAPIService(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteAPIService.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionAPIService(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listAPIService(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1APIServiceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchAPIService(e,t,i,a,r={}){const s=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchAPIService.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchAPIService.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchAPIServiceStatus(e,t,i,a,r={}){const s=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchAPIServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchAPIServiceStatus.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readAPIService(e,t,i,a,r={}){const s=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readAPIService.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readAPIServiceStatus(e,t,i={}){const a=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readAPIServiceStatus.")}if(t!==undefined){r["pretty"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"GET",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceAPIService(e,t,i,a,r={}){const s=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceAPIService.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceAPIService.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1APIService")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceAPIServiceStatus(e,t,i,a,r={}){const s=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceAPIServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceAPIServiceStatus.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1APIService")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.ApiregistrationV1beta1Api=ApiregistrationV1beta1Api;var b;(function(e){e[e["BearerToken"]=0]="BearerToken"})(b=t.ApisApiApiKeys||(t.ApisApiApiKeys={}));class ApisApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[b[e]].apiKey=t}getAPIVersions(e={}){const t=this.basePath+"/apis/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroupList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.ApisApi=ApisApi;var g;(function(e){e[e["BearerToken"]=0]="BearerToken"})(g=t.AppsApiApiKeys||(t.AppsApiApiKeys={}));class AppsApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[g[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/apps/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AppsApi=AppsApi;var y;(function(e){e[e["BearerToken"]=0]="BearerToken"})(y=t.AppsV1ApiApiKeys||(t.AppsV1ApiApiKeys={}));class AppsV1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[y[e]].apiKey=t}createNamespacedControllerRevision(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedControllerRevision.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1ControllerRevision")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedDaemonSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedDaemonSet.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1DaemonSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedDeployment(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedDeployment.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1Deployment")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedReplicaSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedReplicaSet.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1ReplicaSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedStatefulSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedStatefulSet.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1StatefulSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedControllerRevision(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedControllerRevision.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedDaemonSet(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedDaemonSet.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedDeployment(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedDeployment.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedReplicaSet(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedReplicaSet.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedStatefulSet(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedStatefulSet.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedControllerRevision(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedControllerRevision.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedDaemonSet(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedDaemonSet.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedDeployment(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedDeployment.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedReplicaSet(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedReplicaSet.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedStatefulSet(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedStatefulSet.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/apps/v1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listControllerRevisionForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apps/v1/controllerrevisions";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ControllerRevisionList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listDaemonSetForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apps/v1/daemonsets";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1DaemonSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listDeploymentForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apps/v1/deployments";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1DeploymentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedControllerRevision(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedControllerRevision.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ControllerRevisionList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedDaemonSet(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedDaemonSet.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1DaemonSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedDeployment(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedDeployment.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1DeploymentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedReplicaSet(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedReplicaSet.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ReplicaSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedStatefulSet(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedStatefulSet.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1StatefulSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listReplicaSetForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apps/v1/replicasets";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ReplicaSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listStatefulSetForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apps/v1/statefulsets";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1StatefulSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedControllerRevision(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedControllerRevision.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedControllerRevision.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedDaemonSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDaemonSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDaemonSet.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedDaemonSetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDaemonSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDaemonSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDaemonSetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedDeployment(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDeployment.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDeployment.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedDeploymentScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDeploymentScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDeploymentScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDeploymentScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedDeploymentStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDeploymentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDeploymentStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDeploymentStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedReplicaSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicaSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicaSet.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedReplicaSetScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicaSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicaSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicaSetScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedReplicaSetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicaSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicaSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicaSetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedStatefulSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedStatefulSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedStatefulSet.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedStatefulSetScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedStatefulSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedStatefulSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedStatefulSetScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedStatefulSetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedStatefulSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedStatefulSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedStatefulSetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedControllerRevision(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedControllerRevision.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedDaemonSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDaemonSet.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedDaemonSetStatus(e,t,i,a={}){const r=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDaemonSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDaemonSetStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedDeployment(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDeployment.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedDeploymentScale(e,t,i,a={}){const r=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDeploymentScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDeploymentScale.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedDeploymentStatus(e,t,i,a={}){const r=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDeploymentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDeploymentStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedReplicaSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicaSet.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedReplicaSetScale(e,t,i,a={}){const r=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicaSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicaSetScale.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedReplicaSetStatus(e,t,i,a={}){const r=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicaSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicaSetStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedStatefulSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedStatefulSet.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedStatefulSetScale(e,t,i,a={}){const r=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedStatefulSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedStatefulSetScale.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedStatefulSetStatus(e,t,i,a={}){const r=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedStatefulSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedStatefulSetStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedControllerRevision(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedControllerRevision.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedControllerRevision.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1ControllerRevision")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedDaemonSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDaemonSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDaemonSet.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DaemonSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedDaemonSetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDaemonSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDaemonSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDaemonSetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DaemonSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedDeployment(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDeployment.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDeployment.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1Deployment")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedDeploymentScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDeploymentScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDeploymentScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDeploymentScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1Scale")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedDeploymentStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDeploymentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDeploymentStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDeploymentStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1Deployment")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedReplicaSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicaSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicaSet.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1ReplicaSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedReplicaSetScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicaSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicaSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicaSetScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1Scale")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedReplicaSetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicaSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicaSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicaSetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1ReplicaSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedStatefulSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedStatefulSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedStatefulSet.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1StatefulSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedStatefulSetScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedStatefulSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedStatefulSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedStatefulSetScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1Scale")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedStatefulSetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedStatefulSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedStatefulSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedStatefulSetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1StatefulSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AppsV1Api=AppsV1Api;var S;(function(e){e[e["BearerToken"]=0]="BearerToken"})(S=t.AppsV1beta1ApiApiKeys||(t.AppsV1beta1ApiApiKeys={}));class AppsV1beta1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[S[e]].apiKey=t}createNamespacedControllerRevision(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedControllerRevision.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1ControllerRevision")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedDeployment(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/deployments".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedDeployment.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"AppsV1beta1Deployment")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"AppsV1beta1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedDeploymentRollback(e,t,i,a,r,s,o={}){const u=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let c=Object.assign({},this.defaultHeaders);let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling createNamespacedDeploymentRollback.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedDeploymentRollback.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedDeploymentRollback.")}if(a!==undefined){l["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){l["includeUninitialized"]=ObjectSerializer.serialize(r,"boolean")}if(s!==undefined){l["pretty"]=ObjectSerializer.serialize(s,"string")}Object.assign(c,o.headers);let p=false;let f={method:"POST",qs:l,headers:c,uri:u,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"AppsV1beta1DeploymentRollback")};this.authentications.BearerToken.applyToRequest(f);this.authentications.default.applyToRequest(f);if(Object.keys(d).length){if(p){f.formData=d}else{f.form=d}}return new Promise((e,t)=>{n(f,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedStatefulSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/statefulsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedStatefulSet.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1StatefulSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedControllerRevision(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedControllerRevision.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedDeployment(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/deployments".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedDeployment.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedStatefulSet(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/statefulsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedStatefulSet.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedControllerRevision(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedControllerRevision.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedDeployment(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedDeployment.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedStatefulSet(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedStatefulSet.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/apps/v1beta1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listControllerRevisionForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apps/v1beta1/controllerrevisions";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ControllerRevisionList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listDeploymentForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apps/v1beta1/deployments";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"AppsV1beta1DeploymentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedControllerRevision(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedControllerRevision.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ControllerRevisionList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedDeployment(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/deployments".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedDeployment.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"AppsV1beta1DeploymentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedStatefulSet(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/statefulsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedStatefulSet.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1StatefulSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listStatefulSetForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apps/v1beta1/statefulsets";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1StatefulSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedControllerRevision(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedControllerRevision.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedControllerRevision.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedDeployment(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDeployment.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDeployment.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"AppsV1beta1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedDeploymentScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDeploymentScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDeploymentScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDeploymentScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"AppsV1beta1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedDeploymentStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDeploymentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDeploymentStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDeploymentStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"AppsV1beta1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedStatefulSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedStatefulSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedStatefulSet.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedStatefulSetScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedStatefulSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedStatefulSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedStatefulSetScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"AppsV1beta1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedStatefulSetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedStatefulSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedStatefulSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedStatefulSetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedControllerRevision(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedControllerRevision.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedDeployment(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDeployment.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"AppsV1beta1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedDeploymentScale(e,t,i,a={}){const r=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDeploymentScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDeploymentScale.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"AppsV1beta1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedDeploymentStatus(e,t,i,a={}){const r=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDeploymentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDeploymentStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"AppsV1beta1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedStatefulSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedStatefulSet.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedStatefulSetScale(e,t,i,a={}){const r=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedStatefulSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedStatefulSetScale.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"AppsV1beta1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedStatefulSetStatus(e,t,i,a={}){const r=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedStatefulSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedStatefulSetStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedControllerRevision(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedControllerRevision.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedControllerRevision.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1ControllerRevision")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedDeployment(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDeployment.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDeployment.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"AppsV1beta1Deployment")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"AppsV1beta1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedDeploymentScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDeploymentScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDeploymentScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDeploymentScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"AppsV1beta1Scale")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"AppsV1beta1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedDeploymentStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDeploymentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDeploymentStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDeploymentStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"AppsV1beta1Deployment")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"AppsV1beta1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedStatefulSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedStatefulSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedStatefulSet.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1StatefulSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedStatefulSetScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedStatefulSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedStatefulSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedStatefulSetScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"AppsV1beta1Scale")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"AppsV1beta1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedStatefulSetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedStatefulSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedStatefulSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedStatefulSetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1StatefulSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AppsV1beta1Api=AppsV1beta1Api;var w;(function(e){e[e["BearerToken"]=0]="BearerToken"})(w=t.AppsV1beta2ApiApiKeys||(t.AppsV1beta2ApiApiKeys={}));class AppsV1beta2Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[w[e]].apiKey=t}createNamespacedControllerRevision(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedControllerRevision.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta2ControllerRevision")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedDaemonSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/daemonsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedDaemonSet.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta2DaemonSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedDeployment(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/deployments".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedDeployment.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta2Deployment")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedReplicaSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/replicasets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedReplicaSet.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta2ReplicaSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedStatefulSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/statefulsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedStatefulSet.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta2StatefulSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedControllerRevision(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedControllerRevision.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedDaemonSet(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/daemonsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedDaemonSet.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedDeployment(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/deployments".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedDeployment.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedReplicaSet(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/replicasets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedReplicaSet.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedStatefulSet(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/statefulsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedStatefulSet.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedControllerRevision(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedControllerRevision.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedDaemonSet(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedDaemonSet.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedDeployment(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedDeployment.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedReplicaSet(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedReplicaSet.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedStatefulSet(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedStatefulSet.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/apps/v1beta2/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listControllerRevisionForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apps/v1beta2/controllerrevisions";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2ControllerRevisionList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listDaemonSetForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apps/v1beta2/daemonsets";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2DaemonSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listDeploymentForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apps/v1beta2/deployments";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2DeploymentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedControllerRevision(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedControllerRevision.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2ControllerRevisionList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedDaemonSet(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/daemonsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedDaemonSet.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2DaemonSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedDeployment(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/deployments".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedDeployment.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2DeploymentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedReplicaSet(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/replicasets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedReplicaSet.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2ReplicaSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedStatefulSet(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/statefulsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedStatefulSet.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2StatefulSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listReplicaSetForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apps/v1beta2/replicasets";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2ReplicaSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listStatefulSetForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/apps/v1beta2/statefulsets";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2StatefulSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedControllerRevision(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedControllerRevision.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedControllerRevision.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedDaemonSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDaemonSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDaemonSet.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedDaemonSetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDaemonSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDaemonSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDaemonSetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedDeployment(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDeployment.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDeployment.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedDeploymentScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDeploymentScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDeploymentScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDeploymentScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedDeploymentStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDeploymentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDeploymentStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDeploymentStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedReplicaSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicaSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicaSet.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedReplicaSetScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicaSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicaSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicaSetScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedReplicaSetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicaSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicaSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicaSetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedStatefulSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedStatefulSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedStatefulSet.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedStatefulSetScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedStatefulSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedStatefulSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedStatefulSetScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedStatefulSetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedStatefulSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedStatefulSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedStatefulSetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedControllerRevision(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedControllerRevision.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedDaemonSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDaemonSet.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedDaemonSetStatus(e,t,i,a={}){const r=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDaemonSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDaemonSetStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedDeployment(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDeployment.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedDeploymentScale(e,t,i,a={}){const r=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDeploymentScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDeploymentScale.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedDeploymentStatus(e,t,i,a={}){const r=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDeploymentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDeploymentStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedReplicaSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicaSet.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedReplicaSetScale(e,t,i,a={}){const r=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicaSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicaSetScale.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedReplicaSetStatus(e,t,i,a={}){const r=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicaSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicaSetStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedStatefulSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedStatefulSet.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedStatefulSetScale(e,t,i,a={}){const r=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedStatefulSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedStatefulSetScale.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedStatefulSetStatus(e,t,i,a={}){const r=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedStatefulSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedStatefulSetStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedControllerRevision(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedControllerRevision.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedControllerRevision.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta2ControllerRevision")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedDaemonSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDaemonSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDaemonSet.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta2DaemonSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedDaemonSetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDaemonSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDaemonSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDaemonSetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta2DaemonSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedDeployment(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDeployment.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDeployment.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta2Deployment")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedDeploymentScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDeploymentScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDeploymentScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDeploymentScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta2Scale")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedDeploymentStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDeploymentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDeploymentStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDeploymentStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta2Deployment")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedReplicaSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicaSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicaSet.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta2ReplicaSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedReplicaSetScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicaSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicaSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicaSetScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta2Scale")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedReplicaSetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicaSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicaSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicaSetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta2ReplicaSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedStatefulSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedStatefulSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedStatefulSet.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta2StatefulSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedStatefulSetScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedStatefulSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedStatefulSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedStatefulSetScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta2Scale")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedStatefulSetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedStatefulSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedStatefulSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedStatefulSetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta2StatefulSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta2StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AppsV1beta2Api=AppsV1beta2Api;var v;(function(e){e[e["BearerToken"]=0]="BearerToken"})(v=t.AuditregistrationApiApiKeys||(t.AuditregistrationApiApiKeys={}));class AuditregistrationApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[v[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/auditregistration.k8s.io/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AuditregistrationApi=AuditregistrationApi;var z;(function(e){e[e["BearerToken"]=0]="BearerToken"})(z=t.AuditregistrationV1alpha1ApiApiKeys||(t.AuditregistrationV1alpha1ApiApiKeys={}));class AuditregistrationV1alpha1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[z[e]].apiKey=t}createAuditSink(e,t,i,a,r={}){const s=this.basePath+"/apis/auditregistration.k8s.io/v1alpha1/auditsinks";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createAuditSink.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1alpha1AuditSink")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1AuditSink");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteAuditSink(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteAuditSink.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionAuditSink(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/auditregistration.k8s.io/v1alpha1/auditsinks";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/auditregistration.k8s.io/v1alpha1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listAuditSink(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/auditregistration.k8s.io/v1alpha1/auditsinks";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1AuditSinkList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchAuditSink(e,t,i,a,r={}){const s=this.basePath+"/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchAuditSink.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchAuditSink.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1AuditSink");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readAuditSink(e,t,i,a,r={}){const s=this.basePath+"/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readAuditSink.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1AuditSink");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceAuditSink(e,t,i,a,r={}){const s=this.basePath+"/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceAuditSink.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceAuditSink.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1alpha1AuditSink")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1AuditSink");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AuditregistrationV1alpha1Api=AuditregistrationV1alpha1Api;var j;(function(e){e[e["BearerToken"]=0]="BearerToken"})(j=t.AuthenticationApiApiKeys||(t.AuthenticationApiApiKeys={}));class AuthenticationApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[j[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/authentication.k8s.io/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AuthenticationApi=AuthenticationApi;var O;(function(e){e[e["BearerToken"]=0]="BearerToken"})(O=t.AuthenticationV1ApiApiKeys||(t.AuthenticationV1ApiApiKeys={}));class AuthenticationV1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[O[e]].apiKey=t}createTokenReview(e,t,i,a,r={}){const s=this.basePath+"/apis/authentication.k8s.io/v1/tokenreviews";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createTokenReview.")}if(t!==undefined){o["dryRun"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["pretty"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1TokenReview")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1TokenReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/authentication.k8s.io/v1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AuthenticationV1Api=AuthenticationV1Api;var k;(function(e){e[e["BearerToken"]=0]="BearerToken"})(k=t.AuthenticationV1beta1ApiApiKeys||(t.AuthenticationV1beta1ApiApiKeys={}));class AuthenticationV1beta1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[k[e]].apiKey=t}createTokenReview(e,t,i,a,r={}){const s=this.basePath+"/apis/authentication.k8s.io/v1beta1/tokenreviews";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createTokenReview.")}if(t!==undefined){o["dryRun"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["pretty"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1beta1TokenReview")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1TokenReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/authentication.k8s.io/v1beta1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AuthenticationV1beta1Api=AuthenticationV1beta1Api;var C;(function(e){e[e["BearerToken"]=0]="BearerToken"})(C=t.AuthorizationApiApiKeys||(t.AuthorizationApiApiKeys={}));class AuthorizationApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[C[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/authorization.k8s.io/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AuthorizationApi=AuthorizationApi;var T;(function(e){e[e["BearerToken"]=0]="BearerToken"})(T=t.AuthorizationV1ApiApiKeys||(t.AuthorizationV1ApiApiKeys={}));class AuthorizationV1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[T[e]].apiKey=t}createNamespacedLocalSubjectAccessReview(e,t,i,a,r,s={}){const o=this.basePath+"/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedLocalSubjectAccessReview.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedLocalSubjectAccessReview.")}if(i!==undefined){u["dryRun"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["pretty"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1LocalSubjectAccessReview")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1LocalSubjectAccessReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createSelfSubjectAccessReview(e,t,i,a,r={}){const s=this.basePath+"/apis/authorization.k8s.io/v1/selfsubjectaccessreviews";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createSelfSubjectAccessReview.")}if(t!==undefined){o["dryRun"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["pretty"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1SelfSubjectAccessReview")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1SelfSubjectAccessReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createSelfSubjectRulesReview(e,t,i,a,r={}){const s=this.basePath+"/apis/authorization.k8s.io/v1/selfsubjectrulesreviews";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createSelfSubjectRulesReview.")}if(t!==undefined){o["dryRun"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["pretty"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1SelfSubjectRulesReview")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1SelfSubjectRulesReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createSubjectAccessReview(e,t,i,a,r={}){const s=this.basePath+"/apis/authorization.k8s.io/v1/subjectaccessreviews";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createSubjectAccessReview.")}if(t!==undefined){o["dryRun"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["pretty"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1SubjectAccessReview")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1SubjectAccessReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/authorization.k8s.io/v1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AuthorizationV1Api=AuthorizationV1Api;var R;(function(e){e[e["BearerToken"]=0]="BearerToken"})(R=t.AuthorizationV1beta1ApiApiKeys||(t.AuthorizationV1beta1ApiApiKeys={}));class AuthorizationV1beta1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[R[e]].apiKey=t}createNamespacedLocalSubjectAccessReview(e,t,i,a,r,s={}){const o=this.basePath+"/apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedLocalSubjectAccessReview.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedLocalSubjectAccessReview.")}if(i!==undefined){u["dryRun"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["pretty"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1LocalSubjectAccessReview")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1LocalSubjectAccessReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createSelfSubjectAccessReview(e,t,i,a,r={}){const s=this.basePath+"/apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createSelfSubjectAccessReview.")}if(t!==undefined){o["dryRun"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["pretty"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1beta1SelfSubjectAccessReview")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1SelfSubjectAccessReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createSelfSubjectRulesReview(e,t,i,a,r={}){const s=this.basePath+"/apis/authorization.k8s.io/v1beta1/selfsubjectrulesreviews";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createSelfSubjectRulesReview.")}if(t!==undefined){o["dryRun"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["pretty"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1beta1SelfSubjectRulesReview")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1SelfSubjectRulesReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createSubjectAccessReview(e,t,i,a,r={}){const s=this.basePath+"/apis/authorization.k8s.io/v1beta1/subjectaccessreviews";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createSubjectAccessReview.")}if(t!==undefined){o["dryRun"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["pretty"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1beta1SubjectAccessReview")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1SubjectAccessReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/authorization.k8s.io/v1beta1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AuthorizationV1beta1Api=AuthorizationV1beta1Api;var E;(function(e){e[e["BearerToken"]=0]="BearerToken"})(E=t.AutoscalingApiApiKeys||(t.AutoscalingApiApiKeys={}));class AutoscalingApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[E[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/autoscaling/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AutoscalingApi=AutoscalingApi;var A;(function(e){e[e["BearerToken"]=0]="BearerToken"})(A=t.AutoscalingV1ApiApiKeys||(t.AutoscalingV1ApiApiKeys={}));class AutoscalingV1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[A[e]].apiKey=t}createNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s={}){const o=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1HorizontalPodAutoscaler")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedHorizontalPodAutoscaler.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/autoscaling/v1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listHorizontalPodAutoscalerForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/autoscaling/v1/horizontalpodautoscalers";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1HorizontalPodAutoscalerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedHorizontalPodAutoscaler.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1HorizontalPodAutoscalerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s={}){const o=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedHorizontalPodAutoscalerStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s={}){const o=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedHorizontalPodAutoscalerStatus(e,t,i,a={}){const r=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedHorizontalPodAutoscalerStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s={}){const o=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1HorizontalPodAutoscaler")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedHorizontalPodAutoscalerStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1HorizontalPodAutoscaler")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AutoscalingV1Api=AutoscalingV1Api;var x;(function(e){e[e["BearerToken"]=0]="BearerToken"})(x=t.AutoscalingV2beta1ApiApiKeys||(t.AutoscalingV2beta1ApiApiKeys={}));class AutoscalingV2beta1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[x[e]].apiKey=t}createNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s={}){const o=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V2beta1HorizontalPodAutoscaler")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedHorizontalPodAutoscaler.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/autoscaling/v2beta1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listHorizontalPodAutoscalerForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/autoscaling/v2beta1/horizontalpodautoscalers";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2beta1HorizontalPodAutoscalerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedHorizontalPodAutoscaler.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2beta1HorizontalPodAutoscalerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s={}){const o=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedHorizontalPodAutoscalerStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s={}){const o=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedHorizontalPodAutoscalerStatus(e,t,i,a={}){const r=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedHorizontalPodAutoscalerStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s={}){const o=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V2beta1HorizontalPodAutoscaler")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedHorizontalPodAutoscalerStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V2beta1HorizontalPodAutoscaler")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AutoscalingV2beta1Api=AutoscalingV2beta1Api;var N;(function(e){e[e["BearerToken"]=0]="BearerToken"})(N=t.AutoscalingV2beta2ApiApiKeys||(t.AutoscalingV2beta2ApiApiKeys={}));class AutoscalingV2beta2Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[N[e]].apiKey=t}createNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s={}){const o=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V2beta2HorizontalPodAutoscaler")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedHorizontalPodAutoscaler.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/autoscaling/v2beta2/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listHorizontalPodAutoscalerForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/autoscaling/v2beta2/horizontalpodautoscalers";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2beta2HorizontalPodAutoscalerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedHorizontalPodAutoscaler.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2beta2HorizontalPodAutoscalerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s={}){const o=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedHorizontalPodAutoscalerStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s={}){const o=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedHorizontalPodAutoscalerStatus(e,t,i,a={}){const r=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedHorizontalPodAutoscalerStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedHorizontalPodAutoscaler(e,t,i,a,r,s={}){const o=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V2beta2HorizontalPodAutoscaler")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedHorizontalPodAutoscalerStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V2beta2HorizontalPodAutoscaler")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.AutoscalingV2beta2Api=AutoscalingV2beta2Api;var V;(function(e){e[e["BearerToken"]=0]="BearerToken"})(V=t.BatchApiApiKeys||(t.BatchApiApiKeys={}));class BatchApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[V[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/batch/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.BatchApi=BatchApi;var P;(function(e){e[e["BearerToken"]=0]="BearerToken"})(P=t.BatchV1ApiApiKeys||(t.BatchV1ApiApiKeys={}));class BatchV1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[P[e]].apiKey=t}createNamespacedJob(e,t,i,a,r,s={}){const o=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedJob.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedJob.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1Job")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedJob(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedJob.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedJob(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedJob.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/batch/v1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listJobForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/batch/v1/jobs";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1JobList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedJob(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedJob.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1JobList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedJob(e,t,i,a,r,s={}){const o=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedJob.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedJob.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedJobStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedJobStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedJobStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedJob(e,t,i,a,r,s={}){const o=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedJob.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedJobStatus(e,t,i,a={}){const r=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedJobStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedJob(e,t,i,a,r,s={}){const o=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedJob.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedJob.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1Job")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedJobStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedJobStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedJobStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1Job")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.BatchV1Api=BatchV1Api;var D;(function(e){e[e["BearerToken"]=0]="BearerToken"})(D=t.BatchV1beta1ApiApiKeys||(t.BatchV1beta1ApiApiKeys={}));class BatchV1beta1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[D[e]].apiKey=t}createNamespacedCronJob(e,t,i,a,r,s={}){const o=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedCronJob.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1CronJob")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedCronJob(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedCronJob.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedCronJob(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedCronJob.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/batch/v1beta1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listCronJobForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/batch/v1beta1/cronjobs";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CronJobList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedCronJob(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedCronJob.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CronJobList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedCronJob(e,t,i,a,r,s={}){const o=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCronJob.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCronJob.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedCronJobStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCronJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCronJobStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCronJobStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedCronJob(e,t,i,a,r,s={}){const o=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedCronJob.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedCronJobStatus(e,t,i,a={}){const r=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedCronJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedCronJobStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedCronJob(e,t,i,a,r,s={}){const o=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCronJob.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCronJob.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1CronJob")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedCronJobStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCronJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCronJobStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCronJobStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1CronJob")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.BatchV1beta1Api=BatchV1beta1Api;var I;(function(e){e[e["BearerToken"]=0]="BearerToken"})(I=t.BatchV2alpha1ApiApiKeys||(t.BatchV2alpha1ApiApiKeys={}));class BatchV2alpha1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[I[e]].apiKey=t}createNamespacedCronJob(e,t,i,a,r,s={}){const o=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedCronJob.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V2alpha1CronJob")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedCronJob(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedCronJob.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedCronJob(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedCronJob.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/batch/v2alpha1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listCronJobForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/batch/v2alpha1/cronjobs";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2alpha1CronJobList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedCronJob(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedCronJob.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2alpha1CronJobList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedCronJob(e,t,i,a,r,s={}){const o=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCronJob.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCronJob.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedCronJobStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCronJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCronJobStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCronJobStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedCronJob(e,t,i,a,r,s={}){const o=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedCronJob.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedCronJobStatus(e,t,i,a={}){const r=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedCronJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedCronJobStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedCronJob(e,t,i,a,r,s={}){const o=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCronJob.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCronJob.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V2alpha1CronJob")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedCronJobStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCronJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCronJobStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCronJobStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V2alpha1CronJob")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.BatchV2alpha1Api=BatchV2alpha1Api;var _;(function(e){e[e["BearerToken"]=0]="BearerToken"})(_=t.CertificatesApiApiKeys||(t.CertificatesApiApiKeys={}));class CertificatesApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[_[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/certificates.k8s.io/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.CertificatesApi=CertificatesApi;var q;(function(e){e[e["BearerToken"]=0]="BearerToken"})(q=t.CertificatesV1beta1ApiApiKeys||(t.CertificatesV1beta1ApiApiKeys={}));class CertificatesV1beta1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[q[e]].apiKey=t}createCertificateSigningRequest(e,t,i,a,r={}){const s=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createCertificateSigningRequest.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1beta1CertificateSigningRequest")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCertificateSigningRequest(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteCertificateSigningRequest.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionCertificateSigningRequest(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/certificates.k8s.io/v1beta1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listCertificateSigningRequest(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CertificateSigningRequestList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchCertificateSigningRequest(e,t,i,a,r={}){const s=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCertificateSigningRequest.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCertificateSigningRequest.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchCertificateSigningRequestStatus(e,t,i,a,r={}){const s=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCertificateSigningRequestStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCertificateSigningRequestStatus.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readCertificateSigningRequest(e,t,i,a,r={}){const s=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCertificateSigningRequest.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readCertificateSigningRequestStatus(e,t,i={}){const a=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCertificateSigningRequestStatus.")}if(t!==undefined){r["pretty"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"GET",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceCertificateSigningRequest(e,t,i,a,r={}){const s=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCertificateSigningRequest.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCertificateSigningRequest.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1CertificateSigningRequest")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceCertificateSigningRequestApproval(e,t,i,a,r={}){const s=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCertificateSigningRequestApproval.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCertificateSigningRequestApproval.")}if(i!==undefined){o["dryRun"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["pretty"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1CertificateSigningRequest")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceCertificateSigningRequestStatus(e,t,i,a,r={}){const s=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCertificateSigningRequestStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCertificateSigningRequestStatus.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1CertificateSigningRequest")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.CertificatesV1beta1Api=CertificatesV1beta1Api;var B;(function(e){e[e["BearerToken"]=0]="BearerToken"})(B=t.CoordinationApiApiKeys||(t.CoordinationApiApiKeys={}));class CoordinationApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[B[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/coordination.k8s.io/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.CoordinationApi=CoordinationApi;var M;(function(e){e[e["BearerToken"]=0]="BearerToken"})(M=t.CoordinationV1beta1ApiApiKeys||(t.CoordinationV1beta1ApiApiKeys={}));class CoordinationV1beta1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[M[e]].apiKey=t}createNamespacedLease(e,t,i,a,r,s={}){const o=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedLease.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1Lease")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedLease(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedLease.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedLease(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedLease.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/coordination.k8s.io/v1beta1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listLeaseForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/coordination.k8s.io/v1beta1/leases";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1LeaseList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedLease(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedLease.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1LeaseList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedLease(e,t,i,a,r,s={}){const o=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedLease.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedLease.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedLease(e,t,i,a,r,s={}){const o=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedLease.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedLease(e,t,i,a,r,s={}){const o=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedLease.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedLease.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1Lease")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.CoordinationV1beta1Api=CoordinationV1beta1Api;var U;(function(e){e[e["BearerToken"]=0]="BearerToken"})(U=t.CoreApiApiKeys||(t.CoreApiApiKeys={}));class CoreApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[U[e]].apiKey=t}getAPIVersions(e={}){const t=this.basePath+"/api/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIVersions");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.CoreApi=CoreApi;var L;(function(e){e[e["BearerToken"]=0]="BearerToken"})(L=t.CoreV1ApiApiKeys||(t.CoreV1ApiApiKeys={}));class CoreV1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[L[e]].apiKey=t}connectDeleteNamespacedPodProxy(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectDeleteNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectDeleteNamespacedPodProxy.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"DELETE",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectDeleteNamespacedPodProxyWithPath(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectDeleteNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectDeleteNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectDeleteNamespacedPodProxyWithPath.")}if(a!==undefined){o["path"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"DELETE",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectDeleteNamespacedServiceProxy(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectDeleteNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectDeleteNamespacedServiceProxy.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"DELETE",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectDeleteNamespacedServiceProxyWithPath(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectDeleteNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectDeleteNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectDeleteNamespacedServiceProxyWithPath.")}if(a!==undefined){o["path"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"DELETE",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectDeleteNodeProxy(e,t,i={}){const a=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectDeleteNodeProxy.")}if(t!==undefined){r["path"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"DELETE",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectDeleteNodeProxyWithPath(e,t,i,a={}){const r=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectDeleteNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectDeleteNodeProxyWithPath.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"DELETE",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectGetNamespacedPodAttach(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/attach".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedPodAttach.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedPodAttach.")}if(i!==undefined){c["container"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["stderr"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){c["stdin"]=ObjectSerializer.serialize(r,"boolean")}if(s!==undefined){c["stdout"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["tty"]=ObjectSerializer.serialize(o,"boolean")}Object.assign(d,u.headers);let f=false;let h={method:"GET",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectGetNamespacedPodExec(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/exec".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedPodExec.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedPodExec.")}if(i!==undefined){d["command"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["container"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){d["stderr"]=ObjectSerializer.serialize(r,"boolean")}if(s!==undefined){d["stdin"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){d["stdout"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["tty"]=ObjectSerializer.serialize(u,"boolean")}Object.assign(p,l.headers);let h=false;let m={method:"GET",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectGetNamespacedPodPortforward(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/portforward".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedPodPortforward.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedPodPortforward.")}if(i!==undefined){s["ports"]=ObjectSerializer.serialize(i,"number")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectGetNamespacedPodProxy(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedPodProxy.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectGetNamespacedPodProxyWithPath(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectGetNamespacedPodProxyWithPath.")}if(a!==undefined){o["path"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectGetNamespacedServiceProxy(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedServiceProxy.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectGetNamespacedServiceProxyWithPath(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectGetNamespacedServiceProxyWithPath.")}if(a!==undefined){o["path"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectGetNodeProxy(e,t,i={}){const a=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNodeProxy.")}if(t!==undefined){r["path"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"GET",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectGetNodeProxyWithPath(e,t,i,a={}){const r=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectGetNodeProxyWithPath.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectHeadNamespacedPodProxy(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectHeadNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectHeadNamespacedPodProxy.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"HEAD",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectHeadNamespacedPodProxyWithPath(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectHeadNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectHeadNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectHeadNamespacedPodProxyWithPath.")}if(a!==undefined){o["path"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"HEAD",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectHeadNamespacedServiceProxy(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectHeadNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectHeadNamespacedServiceProxy.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"HEAD",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectHeadNamespacedServiceProxyWithPath(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectHeadNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectHeadNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectHeadNamespacedServiceProxyWithPath.")}if(a!==undefined){o["path"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"HEAD",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectHeadNodeProxy(e,t,i={}){const a=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectHeadNodeProxy.")}if(t!==undefined){r["path"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"HEAD",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectHeadNodeProxyWithPath(e,t,i,a={}){const r=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectHeadNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectHeadNodeProxyWithPath.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"HEAD",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectOptionsNamespacedPodProxy(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectOptionsNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectOptionsNamespacedPodProxy.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"OPTIONS",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectOptionsNamespacedPodProxyWithPath(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectOptionsNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectOptionsNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectOptionsNamespacedPodProxyWithPath.")}if(a!==undefined){o["path"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"OPTIONS",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectOptionsNamespacedServiceProxy(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectOptionsNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectOptionsNamespacedServiceProxy.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"OPTIONS",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectOptionsNamespacedServiceProxyWithPath(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectOptionsNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectOptionsNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectOptionsNamespacedServiceProxyWithPath.")}if(a!==undefined){o["path"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"OPTIONS",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectOptionsNodeProxy(e,t,i={}){const a=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectOptionsNodeProxy.")}if(t!==undefined){r["path"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"OPTIONS",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectOptionsNodeProxyWithPath(e,t,i,a={}){const r=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectOptionsNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectOptionsNodeProxyWithPath.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"OPTIONS",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPatchNamespacedPodProxy(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPatchNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPatchNamespacedPodProxy.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"PATCH",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPatchNamespacedPodProxyWithPath(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPatchNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPatchNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectPatchNamespacedPodProxyWithPath.")}if(a!==undefined){o["path"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPatchNamespacedServiceProxy(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPatchNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPatchNamespacedServiceProxy.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"PATCH",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPatchNamespacedServiceProxyWithPath(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPatchNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPatchNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectPatchNamespacedServiceProxyWithPath.")}if(a!==undefined){o["path"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPatchNodeProxy(e,t,i={}){const a=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPatchNodeProxy.")}if(t!==undefined){r["path"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"PATCH",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPatchNodeProxyWithPath(e,t,i,a={}){const r=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPatchNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectPatchNodeProxyWithPath.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"PATCH",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPostNamespacedPodAttach(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/attach".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedPodAttach.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedPodAttach.")}if(i!==undefined){c["container"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["stderr"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){c["stdin"]=ObjectSerializer.serialize(r,"boolean")}if(s!==undefined){c["stdout"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["tty"]=ObjectSerializer.serialize(o,"boolean")}Object.assign(d,u.headers);let f=false;let h={method:"POST",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPostNamespacedPodExec(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/exec".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedPodExec.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedPodExec.")}if(i!==undefined){d["command"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["container"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){d["stderr"]=ObjectSerializer.serialize(r,"boolean")}if(s!==undefined){d["stdin"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){d["stdout"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["tty"]=ObjectSerializer.serialize(u,"boolean")}Object.assign(p,l.headers);let h=false;let m={method:"POST",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPostNamespacedPodPortforward(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/portforward".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedPodPortforward.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedPodPortforward.")}if(i!==undefined){s["ports"]=ObjectSerializer.serialize(i,"number")}Object.assign(o,a.headers);let l=false;let c={method:"POST",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPostNamespacedPodProxy(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedPodProxy.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"POST",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPostNamespacedPodProxyWithPath(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectPostNamespacedPodProxyWithPath.")}if(a!==undefined){o["path"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPostNamespacedServiceProxy(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedServiceProxy.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"POST",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPostNamespacedServiceProxyWithPath(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectPostNamespacedServiceProxyWithPath.")}if(a!==undefined){o["path"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPostNodeProxy(e,t,i={}){const a=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNodeProxy.")}if(t!==undefined){r["path"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"POST",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPostNodeProxyWithPath(e,t,i,a={}){const r=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectPostNodeProxyWithPath.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"POST",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPutNamespacedPodProxy(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPutNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPutNamespacedPodProxy.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"PUT",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPutNamespacedPodProxyWithPath(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPutNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPutNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectPutNamespacedPodProxyWithPath.")}if(a!==undefined){o["path"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPutNamespacedServiceProxy(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPutNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPutNamespacedServiceProxy.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"PUT",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPutNamespacedServiceProxyWithPath(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPutNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPutNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectPutNamespacedServiceProxyWithPath.")}if(a!==undefined){o["path"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPutNodeProxy(e,t,i={}){const a=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPutNodeProxy.")}if(t!==undefined){r["path"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"PUT",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}connectPutNodeProxyWithPath(e,t,i,a={}){const r=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPutNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectPutNodeProxyWithPath.")}if(i!==undefined){s["path"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"PUT",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespace(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespace.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1Namespace")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedBinding(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/bindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedBinding.")}if(i!==undefined){u["dryRun"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["pretty"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1Binding")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Binding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedConfigMap(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/configmaps".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedConfigMap.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedConfigMap.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1ConfigMap")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ConfigMap");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedEndpoints(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/endpoints".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedEndpoints.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedEndpoints.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1Endpoints")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Endpoints");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedEvent(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedEvent.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1Event")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedLimitRange(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/limitranges".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedLimitRange.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedLimitRange.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1LimitRange")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1LimitRange");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedPersistentVolumeClaim(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPersistentVolumeClaim.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPersistentVolumeClaim.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1PersistentVolumeClaim")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedPod(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/pods".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPod.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPod.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1Pod")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedPodBinding(e,t,i,a,r,s,o={}){const u=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/binding".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let c=Object.assign({},this.defaultHeaders);let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling createNamespacedPodBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPodBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPodBinding.")}if(a!==undefined){l["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){l["includeUninitialized"]=ObjectSerializer.serialize(r,"boolean")}if(s!==undefined){l["pretty"]=ObjectSerializer.serialize(s,"string")}Object.assign(c,o.headers);let p=false;let f={method:"POST",qs:l,headers:c,uri:u,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1Binding")};this.authentications.BearerToken.applyToRequest(f);this.authentications.default.applyToRequest(f);if(Object.keys(d).length){if(p){f.formData=d}else{f.form=d}}return new Promise((e,t)=>{n(f,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Binding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedPodEviction(e,t,i,a,r,s,o={}){const u=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/eviction".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let c=Object.assign({},this.defaultHeaders);let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling createNamespacedPodEviction.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPodEviction.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPodEviction.")}if(a!==undefined){l["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){l["includeUninitialized"]=ObjectSerializer.serialize(r,"boolean")}if(s!==undefined){l["pretty"]=ObjectSerializer.serialize(s,"string")}Object.assign(c,o.headers);let p=false;let f={method:"POST",qs:l,headers:c,uri:u,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1Eviction")};this.authentications.BearerToken.applyToRequest(f);this.authentications.default.applyToRequest(f);if(Object.keys(d).length){if(p){f.formData=d}else{f.form=d}}return new Promise((e,t)=>{n(f,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Eviction");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedPodTemplate(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPodTemplate.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPodTemplate.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1PodTemplate")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PodTemplate");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedReplicationController(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedReplicationController.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedReplicationController.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1ReplicationController")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedResourceQuota(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedResourceQuota.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedResourceQuota.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1ResourceQuota")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedSecret(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/secrets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedSecret.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedSecret.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1Secret")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Secret");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedService(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/services".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedService.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedService.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1Service")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedServiceAccount(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedServiceAccount.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedServiceAccount.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1ServiceAccount")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ServiceAccount");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNode(e,t,i,a,r={}){const s=this.basePath+"/api/v1/nodes";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createNode.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1Node")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createPersistentVolume(e,t,i,a,r={}){const s=this.basePath+"/api/v1/persistentvolumes";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPersistentVolume.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1PersistentVolume")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedConfigMap(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/configmaps".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedConfigMap.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedEndpoints(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/endpoints".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedEndpoints.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedEvent(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedEvent.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedLimitRange(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/limitranges".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedLimitRange.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedPersistentVolumeClaim(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedPersistentVolumeClaim.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedPod(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/pods".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedPod.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedPodTemplate(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedPodTemplate.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedReplicationController(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedReplicationController.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedResourceQuota(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedResourceQuota.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedSecret(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/secrets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedSecret.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedServiceAccount(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedServiceAccount.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNode(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/api/v1/nodes";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionPersistentVolume(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/api/v1/persistentvolumes";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespace(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/api/v1/namespaces/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespace.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedConfigMap(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/api/v1/namespaces/{namespace}/configmaps/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedConfigMap.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedConfigMap.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedEndpoints(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/api/v1/namespaces/{namespace}/endpoints/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedEndpoints.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedEndpoints.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedEvent(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/api/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedEvent.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedLimitRange(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/api/v1/namespaces/{namespace}/limitranges/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedLimitRange.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedLimitRange.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedPersistentVolumeClaim(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedPersistentVolumeClaim.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedPersistentVolumeClaim.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedPod(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedPod.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedPod.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedPodTemplate(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedPodTemplate.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedPodTemplate.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedReplicationController(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedReplicationController.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedReplicationController.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedResourceQuota(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedResourceQuota.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedResourceQuota.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedSecret(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/api/v1/namespaces/{namespace}/secrets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedSecret.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedSecret.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedService(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedService.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedService.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedServiceAccount(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedServiceAccount.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedServiceAccount.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNode(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/api/v1/nodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNode.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deletePersistentVolume(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/api/v1/persistentvolumes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePersistentVolume.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/api/v1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listComponentStatus(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/api/v1/componentstatuses";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ComponentStatusList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listConfigMapForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/api/v1/configmaps";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ConfigMapList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listEndpointsForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/api/v1/endpoints";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1EndpointsList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listEventForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/api/v1/events";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1EventList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listLimitRangeForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/api/v1/limitranges";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1LimitRangeList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespace(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/api/v1/namespaces";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1NamespaceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedConfigMap(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/configmaps".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedConfigMap.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ConfigMapList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedEndpoints(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/endpoints".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedEndpoints.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1EndpointsList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedEvent(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedEvent.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1EventList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedLimitRange(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/limitranges".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedLimitRange.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1LimitRangeList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedPersistentVolumeClaim(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedPersistentVolumeClaim.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PersistentVolumeClaimList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedPod(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/pods".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedPod.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PodList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedPodTemplate(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedPodTemplate.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PodTemplateList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedReplicationController(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedReplicationController.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ReplicationControllerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedResourceQuota(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedResourceQuota.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ResourceQuotaList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedSecret(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/secrets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedSecret.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1SecretList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedService(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/services".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedService.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ServiceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedServiceAccount(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedServiceAccount.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ServiceAccountList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNode(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/api/v1/nodes";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1NodeList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listPersistentVolume(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/api/v1/persistentvolumes";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PersistentVolumeList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listPersistentVolumeClaimForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/api/v1/persistentvolumeclaims";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PersistentVolumeClaimList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listPodForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/api/v1/pods";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PodList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listPodTemplateForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/api/v1/podtemplates";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PodTemplateList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listReplicationControllerForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/api/v1/replicationcontrollers";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ReplicationControllerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listResourceQuotaForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/api/v1/resourcequotas";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ResourceQuotaList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listSecretForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/api/v1/secrets";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1SecretList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listServiceAccountForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/api/v1/serviceaccounts";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ServiceAccountList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listServiceForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/api/v1/services";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ServiceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespace(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespace.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespace.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespaceStatus(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespaceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespaceStatus.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedConfigMap(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/configmaps/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedConfigMap.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedConfigMap.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedConfigMap.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ConfigMap");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedEndpoints(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/endpoints/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedEndpoints.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedEndpoints.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedEndpoints.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Endpoints");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedEvent(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedEvent.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedEvent.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedLimitRange(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/limitranges/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedLimitRange.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedLimitRange.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedLimitRange.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1LimitRange");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedPersistentVolumeClaim(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPersistentVolumeClaim.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPersistentVolumeClaim.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPersistentVolumeClaim.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedPersistentVolumeClaimStatus(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPersistentVolumeClaimStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPersistentVolumeClaimStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPersistentVolumeClaimStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedPod(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPod.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPod.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPod.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedPodStatus(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPodStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPodStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPodStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedPodTemplate(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPodTemplate.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPodTemplate.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPodTemplate.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PodTemplate");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedReplicationController(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicationController.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicationController.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicationController.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedReplicationControllerScale(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicationControllerScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicationControllerScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicationControllerScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedReplicationControllerStatus(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicationControllerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicationControllerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicationControllerStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedResourceQuota(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedResourceQuota.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedResourceQuota.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedResourceQuota.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedResourceQuotaStatus(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedResourceQuotaStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedResourceQuotaStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedResourceQuotaStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedSecret(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/secrets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedSecret.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedSecret.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedSecret.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Secret");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedService(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedService.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedService.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedService.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedServiceAccount(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedServiceAccount.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedServiceAccount.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedServiceAccount.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ServiceAccount");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedServiceStatus(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedServiceStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedServiceStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNode(e,t,i,a,r={}){const s=this.basePath+"/api/v1/nodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNode.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchNode.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNodeStatus(e,t,i,a,r={}){const s=this.basePath+"/api/v1/nodes/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNodeStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchNodeStatus.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchPersistentVolume(e,t,i,a,r={}){const s=this.basePath+"/api/v1/persistentvolumes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPersistentVolume.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPersistentVolume.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchPersistentVolumeStatus(e,t,i,a,r={}){const s=this.basePath+"/api/v1/persistentvolumes/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPersistentVolumeStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPersistentVolumeStatus.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readComponentStatus(e,t,i={}){const a=this.basePath+"/api/v1/componentstatuses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readComponentStatus.")}if(t!==undefined){r["pretty"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"GET",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ComponentStatus");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespace(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespace.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespaceStatus(e,t,i={}){const a=this.basePath+"/api/v1/namespaces/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespaceStatus.")}if(t!==undefined){r["pretty"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"GET",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedConfigMap(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/configmaps/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedConfigMap.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedConfigMap.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ConfigMap");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedEndpoints(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/endpoints/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedEndpoints.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedEndpoints.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Endpoints");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedEvent(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedEvent.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedLimitRange(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/limitranges/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedLimitRange.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedLimitRange.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1LimitRange");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedPersistentVolumeClaim(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPersistentVolumeClaim.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPersistentVolumeClaim.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedPersistentVolumeClaimStatus(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPersistentVolumeClaimStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPersistentVolumeClaimStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedPod(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPod.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPod.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedPodLog(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/log".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPodLog.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPodLog.")}if(i!==undefined){f["container"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["follow"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){f["limitBytes"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){f["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["previous"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){f["sinceSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){f["tailLines"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["timestamps"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedPodStatus(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPodStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPodStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedPodTemplate(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPodTemplate.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPodTemplate.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PodTemplate");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedReplicationController(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicationController.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicationController.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedReplicationControllerScale(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicationControllerScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicationControllerScale.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedReplicationControllerStatus(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicationControllerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicationControllerStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedResourceQuota(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedResourceQuota.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedResourceQuota.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedResourceQuotaStatus(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedResourceQuotaStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedResourceQuotaStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedSecret(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/secrets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedSecret.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedSecret.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Secret");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedService(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedService.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedService.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedServiceAccount(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedServiceAccount.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedServiceAccount.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ServiceAccount");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedServiceStatus(e,t,i,a={}){const r=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedServiceStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNode(e,t,i,a,r={}){const s=this.basePath+"/api/v1/nodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNode.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNodeStatus(e,t,i={}){const a=this.basePath+"/api/v1/nodes/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNodeStatus.")}if(t!==undefined){r["pretty"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"GET",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readPersistentVolume(e,t,i,a,r={}){const s=this.basePath+"/api/v1/persistentvolumes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPersistentVolume.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readPersistentVolumeStatus(e,t,i={}){const a=this.basePath+"/api/v1/persistentvolumes/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPersistentVolumeStatus.")}if(t!==undefined){r["pretty"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"GET",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespace(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespace.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespace.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1Namespace")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespaceFinalize(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{name}/finalize".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespaceFinalize.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespaceFinalize.")}if(i!==undefined){o["dryRun"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["pretty"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1Namespace")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespaceStatus(e,t,i,a,r={}){const s=this.basePath+"/api/v1/namespaces/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespaceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespaceStatus.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1Namespace")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedConfigMap(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/configmaps/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedConfigMap.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedConfigMap.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedConfigMap.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1ConfigMap")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ConfigMap");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedEndpoints(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/endpoints/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedEndpoints.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedEndpoints.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedEndpoints.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1Endpoints")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Endpoints");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedEvent(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedEvent.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedEvent.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1Event")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedLimitRange(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/limitranges/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedLimitRange.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedLimitRange.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedLimitRange.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1LimitRange")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1LimitRange");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedPersistentVolumeClaim(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPersistentVolumeClaim.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPersistentVolumeClaim.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPersistentVolumeClaim.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1PersistentVolumeClaim")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedPersistentVolumeClaimStatus(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPersistentVolumeClaimStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPersistentVolumeClaimStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPersistentVolumeClaimStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1PersistentVolumeClaim")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedPod(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPod.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPod.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPod.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1Pod")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedPodStatus(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPodStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPodStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPodStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1Pod")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedPodTemplate(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPodTemplate.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPodTemplate.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPodTemplate.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1PodTemplate")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PodTemplate");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedReplicationController(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicationController.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicationController.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicationController.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1ReplicationController")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedReplicationControllerScale(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicationControllerScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicationControllerScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicationControllerScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1Scale")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedReplicationControllerStatus(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicationControllerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicationControllerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicationControllerStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1ReplicationController")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedResourceQuota(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedResourceQuota.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedResourceQuota.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedResourceQuota.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1ResourceQuota")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedResourceQuotaStatus(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedResourceQuotaStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedResourceQuotaStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedResourceQuotaStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1ResourceQuota")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedSecret(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/secrets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedSecret.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedSecret.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedSecret.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1Secret")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Secret");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedService(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedService.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedService.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedService.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1Service")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedServiceAccount(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedServiceAccount.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedServiceAccount.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedServiceAccount.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1ServiceAccount")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ServiceAccount");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedServiceStatus(e,t,i,a,r,s={}){const o=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedServiceStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedServiceStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1Service")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNode(e,t,i,a,r={}){const s=this.basePath+"/api/v1/nodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNode.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNode.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1Node")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNodeStatus(e,t,i,a,r={}){const s=this.basePath+"/api/v1/nodes/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNodeStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNodeStatus.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1Node")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replacePersistentVolume(e,t,i,a,r={}){const s=this.basePath+"/api/v1/persistentvolumes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePersistentVolume.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePersistentVolume.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1PersistentVolume")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replacePersistentVolumeStatus(e,t,i,a,r={}){const s=this.basePath+"/api/v1/persistentvolumes/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePersistentVolumeStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePersistentVolumeStatus.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1PersistentVolume")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.CoreV1Api=CoreV1Api;var H;(function(e){e[e["BearerToken"]=0]="BearerToken"})(H=t.CustomObjectsApiApiKeys||(t.CustomObjectsApiApiKeys={}));class CustomObjectsApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[H[e]].apiKey=t}createClusterCustomObject(e,t,i,a,r,s={}){const o=this.basePath+"/apis/{group}/{version}/{plural}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling createClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling createClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling createClusterCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterCustomObject.")}if(r!==undefined){u["pretty"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedCustomObject(e,t,i,a,r,s,o={}){const u=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a)));let l={};let c=Object.assign({},this.defaultHeaders);let d={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling createNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling createNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling createNamespacedCustomObject.")}if(r===null||r===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedCustomObject.")}if(s!==undefined){l["pretty"]=ObjectSerializer.serialize(s,"string")}Object.assign(c,o.headers);let p=false;let f={method:"POST",qs:l,headers:c,uri:u,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(r,"any")};this.authentications.BearerToken.applyToRequest(f);this.authentications.default.applyToRequest(f);if(Object.keys(d).length){if(p){f.formData=d}else{f.form=d}}return new Promise((e,t)=>{n(f,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteClusterCustomObject(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/{group}/{version}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling deleteClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling deleteClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling deleteClusterCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterCustomObject.")}if(r===null||r===undefined){throw new Error("Required parameter body was null or undefined when calling deleteClusterCustomObject.")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(r,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedCustomObject(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(r)));let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling deleteNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling deleteNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling deleteNamespacedCustomObject.")}if(r===null||r===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedCustomObject.")}if(s===null||s===undefined){throw new Error("Required parameter body was null or undefined when calling deleteNamespacedCustomObject.")}if(o!==undefined){p["gracePeriodSeconds"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){p["orphanDependents"]=ObjectSerializer.serialize(u,"boolean")}if(l!==undefined){p["propagationPolicy"]=ObjectSerializer.serialize(l,"string")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(s,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getClusterCustomObject(e,t,i,a,r={}){const s=this.basePath+"/apis/{group}/{version}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling getClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling getClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling getClusterCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling getClusterCustomObject.")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getClusterCustomObjectScale(e,t,i,a,r={}){const s=this.basePath+"/apis/{group}/{version}/{plural}/{name}/scale".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling getClusterCustomObjectScale.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling getClusterCustomObjectScale.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling getClusterCustomObjectScale.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling getClusterCustomObjectScale.")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getClusterCustomObjectStatus(e,t,i,a,r={}){const s=this.basePath+"/apis/{group}/{version}/{plural}/{name}/status".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling getClusterCustomObjectStatus.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling getClusterCustomObjectStatus.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling getClusterCustomObjectStatus.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling getClusterCustomObjectStatus.")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getNamespacedCustomObject(e,t,i,a,r,s={}){const o=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(r)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling getNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling getNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling getNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling getNamespacedCustomObject.")}if(r===null||r===undefined){throw new Error("Required parameter name was null or undefined when calling getNamespacedCustomObject.")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getNamespacedCustomObjectScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(r)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling getNamespacedCustomObjectScale.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling getNamespacedCustomObjectScale.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling getNamespacedCustomObjectScale.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling getNamespacedCustomObjectScale.")}if(r===null||r===undefined){throw new Error("Required parameter name was null or undefined when calling getNamespacedCustomObjectScale.")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getNamespacedCustomObjectStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(r)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling getNamespacedCustomObjectStatus.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling getNamespacedCustomObjectStatus.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling getNamespacedCustomObjectStatus.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling getNamespacedCustomObjectStatus.")}if(r===null||r===undefined){throw new Error("Required parameter name was null or undefined when calling getNamespacedCustomObjectStatus.")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listClusterCustomObject(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/{group}/{version}/{plural}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i)));let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling listClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling listClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling listClusterCustomObject.")}if(a!==undefined){p["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedCustomObject(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling listNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling listNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling listNamespacedCustomObject.")}if(r!==undefined){f["pretty"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["labelSelector"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchClusterCustomObject(e,t,i,a,r,s={}){const o=this.basePath+"/apis/{group}/{version}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling patchClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling patchClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling patchClusterCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterCustomObject.")}if(r===null||r===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterCustomObject.")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(r,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchClusterCustomObjectScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/{group}/{version}/{plural}/{name}/scale".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling patchClusterCustomObjectScale.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling patchClusterCustomObjectScale.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling patchClusterCustomObjectScale.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterCustomObjectScale.")}if(r===null||r===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterCustomObjectScale.")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(r,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchClusterCustomObjectStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/{group}/{version}/{plural}/{name}/status".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling patchClusterCustomObjectStatus.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling patchClusterCustomObjectStatus.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling patchClusterCustomObjectStatus.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterCustomObjectStatus.")}if(r===null||r===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterCustomObjectStatus.")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(r,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedCustomObject(e,t,i,a,r,s,o={}){const u=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(r)));let l={};let c=Object.assign({},this.defaultHeaders);let d={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling patchNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling patchNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling patchNamespacedCustomObject.")}if(r===null||r===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCustomObject.")}if(s===null||s===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCustomObject.")}Object.assign(c,o.headers);let p=false;let f={method:"PATCH",qs:l,headers:c,uri:u,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(s,"any")};this.authentications.BearerToken.applyToRequest(f);this.authentications.default.applyToRequest(f);if(Object.keys(d).length){if(p){f.formData=d}else{f.form=d}}return new Promise((e,t)=>{n(f,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedCustomObjectScale(e,t,i,a,r,s,o={}){const u=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(r)));let l={};let c=Object.assign({},this.defaultHeaders);let d={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling patchNamespacedCustomObjectScale.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling patchNamespacedCustomObjectScale.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCustomObjectScale.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling patchNamespacedCustomObjectScale.")}if(r===null||r===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCustomObjectScale.")}if(s===null||s===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCustomObjectScale.")}Object.assign(c,o.headers);let p=false;let f={method:"PATCH",qs:l,headers:c,uri:u,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(s,"any")};this.authentications.BearerToken.applyToRequest(f);this.authentications.default.applyToRequest(f);if(Object.keys(d).length){if(p){f.formData=d}else{f.form=d}}return new Promise((e,t)=>{n(f,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedCustomObjectStatus(e,t,i,a,r,s,o={}){const u=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(r)));let l={};let c=Object.assign({},this.defaultHeaders);let d={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling patchNamespacedCustomObjectStatus.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling patchNamespacedCustomObjectStatus.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCustomObjectStatus.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling patchNamespacedCustomObjectStatus.")}if(r===null||r===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCustomObjectStatus.")}if(s===null||s===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCustomObjectStatus.")}Object.assign(c,o.headers);let p=false;let f={method:"PATCH",qs:l,headers:c,uri:u,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(s,"any")};this.authentications.BearerToken.applyToRequest(f);this.authentications.default.applyToRequest(f);if(Object.keys(d).length){if(p){f.formData=d}else{f.form=d}}return new Promise((e,t)=>{n(f,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceClusterCustomObject(e,t,i,a,r,s={}){const o=this.basePath+"/apis/{group}/{version}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling replaceClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling replaceClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling replaceClusterCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterCustomObject.")}if(r===null||r===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterCustomObject.")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(r,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceClusterCustomObjectScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/{group}/{version}/{plural}/{name}/scale".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling replaceClusterCustomObjectScale.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling replaceClusterCustomObjectScale.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling replaceClusterCustomObjectScale.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterCustomObjectScale.")}if(r===null||r===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterCustomObjectScale.")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(r,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceClusterCustomObjectStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/{group}/{version}/{plural}/{name}/status".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling replaceClusterCustomObjectStatus.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling replaceClusterCustomObjectStatus.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling replaceClusterCustomObjectStatus.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterCustomObjectStatus.")}if(r===null||r===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterCustomObjectStatus.")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(r,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedCustomObject(e,t,i,a,r,s,o={}){const u=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(r)));let l={};let c=Object.assign({},this.defaultHeaders);let d={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling replaceNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling replaceNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling replaceNamespacedCustomObject.")}if(r===null||r===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCustomObject.")}if(s===null||s===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCustomObject.")}Object.assign(c,o.headers);let p=false;let f={method:"PUT",qs:l,headers:c,uri:u,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(s,"any")};this.authentications.BearerToken.applyToRequest(f);this.authentications.default.applyToRequest(f);if(Object.keys(d).length){if(p){f.formData=d}else{f.form=d}}return new Promise((e,t)=>{n(f,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedCustomObjectScale(e,t,i,a,r,s,o={}){const u=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(r)));let l={};let c=Object.assign({},this.defaultHeaders);let d={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling replaceNamespacedCustomObjectScale.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling replaceNamespacedCustomObjectScale.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCustomObjectScale.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling replaceNamespacedCustomObjectScale.")}if(r===null||r===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCustomObjectScale.")}if(s===null||s===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCustomObjectScale.")}Object.assign(c,o.headers);let p=false;let f={method:"PUT",qs:l,headers:c,uri:u,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(s,"any")};this.authentications.BearerToken.applyToRequest(f);this.authentications.default.applyToRequest(f);if(Object.keys(d).length){if(p){f.formData=d}else{f.form=d}}return new Promise((e,t)=>{n(f,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedCustomObjectStatus(e,t,i,a,r,s,o={}){const u=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(r)));let l={};let c=Object.assign({},this.defaultHeaders);let d={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling replaceNamespacedCustomObjectStatus.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling replaceNamespacedCustomObjectStatus.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCustomObjectStatus.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling replaceNamespacedCustomObjectStatus.")}if(r===null||r===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCustomObjectStatus.")}if(s===null||s===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCustomObjectStatus.")}Object.assign(c,o.headers);let p=false;let f={method:"PUT",qs:l,headers:c,uri:u,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(s,"any")};this.authentications.BearerToken.applyToRequest(f);this.authentications.default.applyToRequest(f);if(Object.keys(d).length){if(p){f.formData=d}else{f.form=d}}return new Promise((e,t)=>{n(f,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"any");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.CustomObjectsApi=CustomObjectsApi;var Q;(function(e){e[e["BearerToken"]=0]="BearerToken"})(Q=t.EventsApiApiKeys||(t.EventsApiApiKeys={}));class EventsApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[Q[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/events.k8s.io/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.EventsApi=EventsApi;var W;(function(e){e[e["BearerToken"]=0]="BearerToken"})(W=t.EventsV1beta1ApiApiKeys||(t.EventsV1beta1ApiApiKeys={}));class EventsV1beta1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[W[e]].apiKey=t}createNamespacedEvent(e,t,i,a,r,s={}){const o=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedEvent.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1Event")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedEvent(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedEvent.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedEvent(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedEvent.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/events.k8s.io/v1beta1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listEventForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/events.k8s.io/v1beta1/events";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1EventList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedEvent(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedEvent.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1EventList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedEvent(e,t,i,a,r,s={}){const o=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedEvent.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedEvent.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedEvent(e,t,i,a,r,s={}){const o=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedEvent.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedEvent(e,t,i,a,r,s={}){const o=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedEvent.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedEvent.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1Event")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.EventsV1beta1Api=EventsV1beta1Api;var G;(function(e){e[e["BearerToken"]=0]="BearerToken"})(G=t.ExtensionsApiApiKeys||(t.ExtensionsApiApiKeys={}));class ExtensionsApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[G[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/extensions/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.ExtensionsApi=ExtensionsApi;var K;(function(e){e[e["BearerToken"]=0]="BearerToken"})(K=t.ExtensionsV1beta1ApiApiKeys||(t.ExtensionsV1beta1ApiApiKeys={}));class ExtensionsV1beta1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[K[e]].apiKey=t}createNamespacedDaemonSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedDaemonSet.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1DaemonSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedDeployment(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/deployments".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedDeployment.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"ExtensionsV1beta1Deployment")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedDeploymentRollback(e,t,i,a,r,s,o={}){const u=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let c=Object.assign({},this.defaultHeaders);let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling createNamespacedDeploymentRollback.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedDeploymentRollback.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedDeploymentRollback.")}if(a!==undefined){l["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){l["includeUninitialized"]=ObjectSerializer.serialize(r,"boolean")}if(s!==undefined){l["pretty"]=ObjectSerializer.serialize(s,"string")}Object.assign(c,o.headers);let p=false;let f={method:"POST",qs:l,headers:c,uri:u,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"ExtensionsV1beta1DeploymentRollback")};this.authentications.BearerToken.applyToRequest(f);this.authentications.default.applyToRequest(f);if(Object.keys(d).length){if(p){f.formData=d}else{f.form=d}}return new Promise((e,t)=>{n(f,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedIngress(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedIngress.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1Ingress")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedNetworkPolicy(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedNetworkPolicy.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1NetworkPolicy")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1NetworkPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedReplicaSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/replicasets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedReplicaSet.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1ReplicaSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createPodSecurityPolicy(e,t,i,a,r={}){const s=this.basePath+"/apis/extensions/v1beta1/podsecuritypolicies";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPodSecurityPolicy.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"ExtensionsV1beta1PodSecurityPolicy")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1PodSecurityPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedDaemonSet(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedDaemonSet.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedDeployment(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/deployments".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedDeployment.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedIngress(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedIngress.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedNetworkPolicy(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedNetworkPolicy.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedReplicaSet(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/replicasets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedReplicaSet.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionPodSecurityPolicy(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/extensions/v1beta1/podsecuritypolicies";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedDaemonSet(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedDaemonSet.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedDeployment(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedDeployment.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedIngress(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedIngress.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedNetworkPolicy(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedNetworkPolicy.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedReplicaSet(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedReplicaSet.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deletePodSecurityPolicy(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/extensions/v1beta1/podsecuritypolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePodSecurityPolicy.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/extensions/v1beta1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listDaemonSetForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/extensions/v1beta1/daemonsets";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1DaemonSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listDeploymentForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/extensions/v1beta1/deployments";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1DeploymentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listIngressForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/extensions/v1beta1/ingresses";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1IngressList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedDaemonSet(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedDaemonSet.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1DaemonSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedDeployment(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/deployments".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedDeployment.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1DeploymentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedIngress(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedIngress.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1IngressList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedNetworkPolicy(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedNetworkPolicy.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1NetworkPolicyList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedReplicaSet(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/replicasets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedReplicaSet.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ReplicaSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNetworkPolicyForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/extensions/v1beta1/networkpolicies";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1NetworkPolicyList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listPodSecurityPolicy(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/extensions/v1beta1/podsecuritypolicies";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1PodSecurityPolicyList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listReplicaSetForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/extensions/v1beta1/replicasets";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ReplicaSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedDaemonSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDaemonSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDaemonSet.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedDaemonSetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDaemonSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDaemonSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDaemonSetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedDeployment(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDeployment.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDeployment.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedDeploymentScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDeploymentScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDeploymentScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDeploymentScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedDeploymentStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDeploymentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDeploymentStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDeploymentStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedIngress(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedIngress.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedIngress.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedIngressStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedIngressStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedIngressStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedNetworkPolicy(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedNetworkPolicy.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedNetworkPolicy.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1NetworkPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedReplicaSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicaSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicaSet.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedReplicaSetScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicaSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicaSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicaSetScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedReplicaSetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicaSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicaSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicaSetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedReplicationControllerDummyScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicationControllerDummyScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicationControllerDummyScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicationControllerDummyScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchPodSecurityPolicy(e,t,i,a,r={}){const s=this.basePath+"/apis/extensions/v1beta1/podsecuritypolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPodSecurityPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPodSecurityPolicy.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1PodSecurityPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedDaemonSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDaemonSet.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedDaemonSetStatus(e,t,i,a={}){const r=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDaemonSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDaemonSetStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedDeployment(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDeployment.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedDeploymentScale(e,t,i,a={}){const r=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDeploymentScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDeploymentScale.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedDeploymentStatus(e,t,i,a={}){const r=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDeploymentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDeploymentStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedIngress(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedIngress.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedIngressStatus(e,t,i,a={}){const r=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedIngressStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedNetworkPolicy(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedNetworkPolicy.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1NetworkPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedReplicaSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicaSet.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedReplicaSetScale(e,t,i,a={}){const r=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicaSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicaSetScale.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedReplicaSetStatus(e,t,i,a={}){const r=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicaSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicaSetStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedReplicationControllerDummyScale(e,t,i,a={}){const r=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicationControllerDummyScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicationControllerDummyScale.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readPodSecurityPolicy(e,t,i,a,r={}){const s=this.basePath+"/apis/extensions/v1beta1/podsecuritypolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPodSecurityPolicy.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1PodSecurityPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedDaemonSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDaemonSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDaemonSet.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1DaemonSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedDaemonSetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDaemonSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDaemonSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDaemonSetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1DaemonSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedDeployment(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDeployment.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDeployment.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"ExtensionsV1beta1Deployment")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedDeploymentScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDeploymentScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDeploymentScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDeploymentScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"ExtensionsV1beta1Scale")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedDeploymentStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDeploymentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDeploymentStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDeploymentStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"ExtensionsV1beta1Deployment")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedIngress(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedIngress.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedIngress.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1Ingress")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedIngressStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedIngressStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedIngressStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1Ingress")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedNetworkPolicy(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedNetworkPolicy.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedNetworkPolicy.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1NetworkPolicy")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1NetworkPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedReplicaSet(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicaSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicaSet.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1ReplicaSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedReplicaSetScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicaSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicaSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicaSetScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"ExtensionsV1beta1Scale")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedReplicaSetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicaSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicaSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicaSetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1ReplicaSet")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedReplicationControllerDummyScale(e,t,i,a,r,s={}){const o=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicationControllerDummyScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicationControllerDummyScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicationControllerDummyScale.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"ExtensionsV1beta1Scale")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replacePodSecurityPolicy(e,t,i,a,r={}){const s=this.basePath+"/apis/extensions/v1beta1/podsecuritypolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePodSecurityPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePodSecurityPolicy.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"ExtensionsV1beta1PodSecurityPolicy")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"ExtensionsV1beta1PodSecurityPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.ExtensionsV1beta1Api=ExtensionsV1beta1Api;var J;(function(e){e[e["BearerToken"]=0]="BearerToken"})(J=t.LogsApiApiKeys||(t.LogsApiApiKeys={}));class LogsApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[J[e]].apiKey=t}logFileHandler(e,t={}){const i=this.basePath+"/logs/{logpath}".replace("{"+"logpath"+"}",encodeURIComponent(String(e)));let a={};let r=Object.assign({},this.defaultHeaders);let s={};if(e===null||e===undefined){throw new Error("Required parameter logpath was null or undefined when calling logFileHandler.")}Object.assign(r,t.headers);let o=false;let u={method:"GET",qs:a,headers:r,uri:i,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(u);this.authentications.default.applyToRequest(u);if(Object.keys(s).length){if(o){u.formData=s}else{u.form=s}}return new Promise((e,t)=>{n(u,(i,n,a)=>{if(i){t(i)}else{if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}logFileListHandler(e={}){const t=this.basePath+"/logs/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.LogsApi=LogsApi;var F;(function(e){e[e["BearerToken"]=0]="BearerToken"})(F=t.NetworkingApiApiKeys||(t.NetworkingApiApiKeys={}));class NetworkingApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[F[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/networking.k8s.io/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.NetworkingApi=NetworkingApi;var Y;(function(e){e[e["BearerToken"]=0]="BearerToken"})(Y=t.NetworkingV1ApiApiKeys||(t.NetworkingV1ApiApiKeys={}));class NetworkingV1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[Y[e]].apiKey=t}createNamespacedNetworkPolicy(e,t,i,a,r,s={}){const o=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedNetworkPolicy.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1NetworkPolicy")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1NetworkPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedNetworkPolicy(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedNetworkPolicy.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedNetworkPolicy(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedNetworkPolicy.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/networking.k8s.io/v1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedNetworkPolicy(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedNetworkPolicy.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1NetworkPolicyList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNetworkPolicyForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/networking.k8s.io/v1/networkpolicies";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1NetworkPolicyList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedNetworkPolicy(e,t,i,a,r,s={}){const o=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedNetworkPolicy.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedNetworkPolicy.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1NetworkPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedNetworkPolicy(e,t,i,a,r,s={}){const o=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedNetworkPolicy.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1NetworkPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedNetworkPolicy(e,t,i,a,r,s={}){const o=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedNetworkPolicy.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedNetworkPolicy.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1NetworkPolicy")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1NetworkPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.NetworkingV1Api=NetworkingV1Api;var X;(function(e){e[e["BearerToken"]=0]="BearerToken"})(X=t.PolicyApiApiKeys||(t.PolicyApiApiKeys={}));class PolicyApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[X[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/policy/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.PolicyApi=PolicyApi;var Z;(function(e){e[e["BearerToken"]=0]="BearerToken"})(Z=t.PolicyV1beta1ApiApiKeys||(t.PolicyV1beta1ApiApiKeys={}));class PolicyV1beta1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[Z[e]].apiKey=t}createNamespacedPodDisruptionBudget(e,t,i,a,r,s={}){const o=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPodDisruptionBudget.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPodDisruptionBudget.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1PodDisruptionBudget")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createPodSecurityPolicy(e,t,i,a,r={}){const s=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPodSecurityPolicy.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"PolicyV1beta1PodSecurityPolicy")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"PolicyV1beta1PodSecurityPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedPodDisruptionBudget(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedPodDisruptionBudget.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionPodSecurityPolicy(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedPodDisruptionBudget(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedPodDisruptionBudget.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedPodDisruptionBudget.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deletePodSecurityPolicy(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePodSecurityPolicy.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/policy/v1beta1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedPodDisruptionBudget(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedPodDisruptionBudget.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1PodDisruptionBudgetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listPodDisruptionBudgetForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/policy/v1beta1/poddisruptionbudgets";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1PodDisruptionBudgetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listPodSecurityPolicy(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"PolicyV1beta1PodSecurityPolicyList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedPodDisruptionBudget(e,t,i,a,r,s={}){const o=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPodDisruptionBudget.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPodDisruptionBudget.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPodDisruptionBudget.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedPodDisruptionBudgetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPodDisruptionBudgetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPodDisruptionBudgetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPodDisruptionBudgetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchPodSecurityPolicy(e,t,i,a,r={}){const s=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPodSecurityPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPodSecurityPolicy.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"PolicyV1beta1PodSecurityPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedPodDisruptionBudget(e,t,i,a,r,s={}){const o=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPodDisruptionBudget.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPodDisruptionBudget.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedPodDisruptionBudgetStatus(e,t,i,a={}){const r=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPodDisruptionBudgetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPodDisruptionBudgetStatus.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readPodSecurityPolicy(e,t,i,a,r={}){const s=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPodSecurityPolicy.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"PolicyV1beta1PodSecurityPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedPodDisruptionBudget(e,t,i,a,r,s={}){const o=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPodDisruptionBudget.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPodDisruptionBudget.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPodDisruptionBudget.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1PodDisruptionBudget")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedPodDisruptionBudgetStatus(e,t,i,a,r,s={}){const o=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPodDisruptionBudgetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPodDisruptionBudgetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPodDisruptionBudgetStatus.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1PodDisruptionBudget")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replacePodSecurityPolicy(e,t,i,a,r={}){const s=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePodSecurityPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePodSecurityPolicy.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"PolicyV1beta1PodSecurityPolicy")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"PolicyV1beta1PodSecurityPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.PolicyV1beta1Api=PolicyV1beta1Api;var $;(function(e){e[e["BearerToken"]=0]="BearerToken"})($=t.RbacAuthorizationApiApiKeys||(t.RbacAuthorizationApiApiKeys={}));class RbacAuthorizationApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[$[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/rbac.authorization.k8s.io/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.RbacAuthorizationApi=RbacAuthorizationApi;var ee;(function(e){e[e["BearerToken"]=0]="BearerToken"})(ee=t.RbacAuthorizationV1ApiApiKeys||(t.RbacAuthorizationV1ApiApiKeys={}));class RbacAuthorizationV1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[ee[e]].apiKey=t}createClusterRole(e,t,i,a,r={}){const s=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterRole.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1ClusterRole")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createClusterRoleBinding(e,t,i,a,r={}){const s=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterRoleBinding.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1ClusterRoleBinding")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedRole(e,t,i,a,r,s={}){const o=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedRole.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1Role")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedRoleBinding(e,t,i,a,r,s={}){const o=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedRoleBinding.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1RoleBinding")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteClusterRole(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterRole.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteClusterRoleBinding(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterRoleBinding.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionClusterRole(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionClusterRoleBinding(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedRole(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedRole.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedRoleBinding(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedRoleBinding.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedRole(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedRole.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedRoleBinding(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedRoleBinding.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/rbac.authorization.k8s.io/v1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listClusterRole(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ClusterRoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listClusterRoleBinding(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ClusterRoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedRole(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedRole.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1RoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedRoleBinding(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedRoleBinding.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1RoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listRoleBindingForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/rbac.authorization.k8s.io/v1/rolebindings";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1RoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listRoleForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/rbac.authorization.k8s.io/v1/roles";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1RoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchClusterRole(e,t,i,a,r={}){const s=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterRole.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchClusterRoleBinding(e,t,i,a,r={}){const s=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterRoleBinding.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedRole(e,t,i,a,r,s={}){const o=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedRole.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedRole.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedRoleBinding(e,t,i,a,r,s={}){const o=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedRoleBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedRoleBinding.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readClusterRole(e,t,i={}){const a=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readClusterRole.")}if(t!==undefined){r["pretty"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"GET",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readClusterRoleBinding(e,t,i={}){const a=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readClusterRoleBinding.")}if(t!==undefined){r["pretty"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"GET",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedRole(e,t,i,a={}){const r=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedRole.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedRoleBinding(e,t,i,a={}){const r=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedRoleBinding.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceClusterRole(e,t,i,a,r={}){const s=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterRole.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1ClusterRole")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceClusterRoleBinding(e,t,i,a,r={}){const s=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterRoleBinding.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1ClusterRoleBinding")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedRole(e,t,i,a,r,s={}){const o=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedRole.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedRole.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1Role")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedRoleBinding(e,t,i,a,r,s={}){const o=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedRoleBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedRoleBinding.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1RoleBinding")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.RbacAuthorizationV1Api=RbacAuthorizationV1Api;var te;(function(e){e[e["BearerToken"]=0]="BearerToken"})(te=t.RbacAuthorizationV1alpha1ApiApiKeys||(t.RbacAuthorizationV1alpha1ApiApiKeys={}));class RbacAuthorizationV1alpha1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[te[e]].apiKey=t}createClusterRole(e,t,i,a,r={}){const s=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterRole.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1alpha1ClusterRole")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createClusterRoleBinding(e,t,i,a,r={}){const s=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterRoleBinding.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1alpha1ClusterRoleBinding")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedRole(e,t,i,a,r,s={}){const o=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedRole.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1alpha1Role")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedRoleBinding(e,t,i,a,r,s={}){const o=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedRoleBinding.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1alpha1RoleBinding")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteClusterRole(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterRole.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteClusterRoleBinding(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterRoleBinding.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionClusterRole(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionClusterRoleBinding(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedRole(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedRole.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedRoleBinding(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedRoleBinding.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedRole(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedRole.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedRoleBinding(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedRoleBinding.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listClusterRole(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1ClusterRoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listClusterRoleBinding(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1ClusterRoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedRole(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedRole.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1RoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedRoleBinding(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedRoleBinding.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1RoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listRoleBindingForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/rolebindings";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1RoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listRoleForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/roles";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1RoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchClusterRole(e,t,i,a,r={}){const s=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterRole.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchClusterRoleBinding(e,t,i,a,r={}){const s=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterRoleBinding.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedRole(e,t,i,a,r,s={}){const o=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedRole.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedRole.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedRoleBinding(e,t,i,a,r,s={}){const o=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedRoleBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedRoleBinding.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readClusterRole(e,t,i={}){const a=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readClusterRole.")}if(t!==undefined){r["pretty"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"GET",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readClusterRoleBinding(e,t,i={}){const a=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readClusterRoleBinding.")}if(t!==undefined){r["pretty"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"GET",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedRole(e,t,i,a={}){const r=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedRole.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedRoleBinding(e,t,i,a={}){const r=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedRoleBinding.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceClusterRole(e,t,i,a,r={}){const s=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterRole.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1alpha1ClusterRole")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceClusterRoleBinding(e,t,i,a,r={}){const s=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterRoleBinding.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1alpha1ClusterRoleBinding")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedRole(e,t,i,a,r,s={}){const o=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedRole.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedRole.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1alpha1Role")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedRoleBinding(e,t,i,a,r,s={}){const o=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedRoleBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedRoleBinding.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1alpha1RoleBinding")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.RbacAuthorizationV1alpha1Api=RbacAuthorizationV1alpha1Api;var ie;(function(e){e[e["BearerToken"]=0]="BearerToken"})(ie=t.RbacAuthorizationV1beta1ApiApiKeys||(t.RbacAuthorizationV1beta1ApiApiKeys={}));class RbacAuthorizationV1beta1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[ie[e]].apiKey=t}createClusterRole(e,t,i,a,r={}){const s=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterRole.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1beta1ClusterRole")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createClusterRoleBinding(e,t,i,a,r={}){const s=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterRoleBinding.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1beta1ClusterRoleBinding")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedRole(e,t,i,a,r,s={}){const o=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedRole.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1Role")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createNamespacedRoleBinding(e,t,i,a,r,s={}){const o=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedRoleBinding.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1RoleBinding")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteClusterRole(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterRole.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteClusterRoleBinding(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterRoleBinding.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionClusterRole(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionClusterRoleBinding(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedRole(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedRole.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedRoleBinding(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedRoleBinding.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedRole(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedRole.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedRoleBinding(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedRoleBinding.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listClusterRole(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ClusterRoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listClusterRoleBinding(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ClusterRoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedRole(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedRole.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1RoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedRoleBinding(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedRoleBinding.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1RoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listRoleBindingForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/rolebindings";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1RoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listRoleForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/roles";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1RoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchClusterRole(e,t,i,a,r={}){const s=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterRole.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchClusterRoleBinding(e,t,i,a,r={}){const s=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterRoleBinding.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedRole(e,t,i,a,r,s={}){const o=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedRole.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedRole.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedRoleBinding(e,t,i,a,r,s={}){const o=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedRoleBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedRoleBinding.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readClusterRole(e,t,i={}){const a=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readClusterRole.")}if(t!==undefined){r["pretty"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"GET",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readClusterRoleBinding(e,t,i={}){const a=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readClusterRoleBinding.")}if(t!==undefined){r["pretty"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"GET",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedRole(e,t,i,a={}){const r=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedRole.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedRoleBinding(e,t,i,a={}){const r=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let s={};let o=Object.assign({},this.defaultHeaders);let u={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedRoleBinding.")}if(i!==undefined){s["pretty"]=ObjectSerializer.serialize(i,"string")}Object.assign(o,a.headers);let l=false;let c={method:"GET",qs:s,headers:o,uri:r,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(c);this.authentications.default.applyToRequest(c);if(Object.keys(u).length){if(l){c.formData=u}else{c.form=u}}return new Promise((e,t)=>{n(c,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceClusterRole(e,t,i,a,r={}){const s=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterRole.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1ClusterRole")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceClusterRoleBinding(e,t,i,a,r={}){const s=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterRoleBinding.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1ClusterRoleBinding")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedRole(e,t,i,a,r,s={}){const o=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedRole.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedRole.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1Role")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedRoleBinding(e,t,i,a,r,s={}){const o=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedRoleBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedRoleBinding.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1beta1RoleBinding")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.RbacAuthorizationV1beta1Api=RbacAuthorizationV1beta1Api;var ne;(function(e){e[e["BearerToken"]=0]="BearerToken"})(ne=t.SchedulingApiApiKeys||(t.SchedulingApiApiKeys={}));class SchedulingApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[ne[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/scheduling.k8s.io/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.SchedulingApi=SchedulingApi;var ae;(function(e){e[e["BearerToken"]=0]="BearerToken"})(ae=t.SchedulingV1alpha1ApiApiKeys||(t.SchedulingV1alpha1ApiApiKeys={}));class SchedulingV1alpha1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[ae[e]].apiKey=t}createPriorityClass(e,t,i,a,r={}){const s=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPriorityClass.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1alpha1PriorityClass")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionPriorityClass(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deletePriorityClass(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePriorityClass.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listPriorityClass(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1PriorityClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchPriorityClass(e,t,i,a,r={}){const s=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPriorityClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPriorityClass.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readPriorityClass(e,t,i,a,r={}){const s=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPriorityClass.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replacePriorityClass(e,t,i,a,r={}){const s=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePriorityClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePriorityClass.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1alpha1PriorityClass")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.SchedulingV1alpha1Api=SchedulingV1alpha1Api;var re;(function(e){e[e["BearerToken"]=0]="BearerToken"})(re=t.SchedulingV1beta1ApiApiKeys||(t.SchedulingV1beta1ApiApiKeys={}));class SchedulingV1beta1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[re[e]].apiKey=t}createPriorityClass(e,t,i,a,r={}){const s=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPriorityClass.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1beta1PriorityClass")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionPriorityClass(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deletePriorityClass(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePriorityClass.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/scheduling.k8s.io/v1beta1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listPriorityClass(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1PriorityClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchPriorityClass(e,t,i,a,r={}){const s=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPriorityClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPriorityClass.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readPriorityClass(e,t,i,a,r={}){const s=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPriorityClass.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replacePriorityClass(e,t,i,a,r={}){const s=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePriorityClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePriorityClass.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1PriorityClass")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.SchedulingV1beta1Api=SchedulingV1beta1Api;var se;(function(e){e[e["BearerToken"]=0]="BearerToken"})(se=t.SettingsApiApiKeys||(t.SettingsApiApiKeys={}));class SettingsApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[se[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/settings.k8s.io/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.SettingsApi=SettingsApi;var oe;(function(e){e[e["BearerToken"]=0]="BearerToken"})(oe=t.SettingsV1alpha1ApiApiKeys||(t.SettingsV1alpha1ApiApiKeys={}));class SettingsV1alpha1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[oe[e]].apiKey=t}createNamespacedPodPreset(e,t,i,a,r,s={}){const o=this.basePath+"/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPodPreset.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPodPreset.")}if(i!==undefined){u["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"POST",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1alpha1PodPreset")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1PodPreset");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionNamespacedPodPreset(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedPodPreset.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"DELETE",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteNamespacedPodPreset(e,t,i,a,r,s,o,u,l={}){const c=this.basePath+"/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let p=Object.assign({},this.defaultHeaders);let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedPodPreset.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedPodPreset.")}if(i!==undefined){d["pretty"]=ObjectSerializer.serialize(i,"string")}if(r!==undefined){d["dryRun"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){d["gracePeriodSeconds"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){d["orphanDependents"]=ObjectSerializer.serialize(o,"boolean")}if(u!==undefined){d["propagationPolicy"]=ObjectSerializer.serialize(u,"string")}Object.assign(p,l.headers);let h=false;let m={method:"DELETE",qs:d,headers:p,uri:c,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(a,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(m);this.authentications.default.applyToRequest(m);if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{n(m,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/settings.k8s.io/v1alpha1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listNamespacedPodPreset(e,t,i,a,r,s,o,u,l,c,d={}){const p=this.basePath+"/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let f={};let h=Object.assign({},this.defaultHeaders);let m={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedPodPreset.")}if(t!==undefined){f["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){f["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["continue"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){f["fieldSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){f["labelSelector"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){f["limit"]=ObjectSerializer.serialize(o,"number")}if(u!==undefined){f["resourceVersion"]=ObjectSerializer.serialize(u,"string")}if(l!==undefined){f["timeoutSeconds"]=ObjectSerializer.serialize(l,"number")}if(c!==undefined){f["watch"]=ObjectSerializer.serialize(c,"boolean")}Object.assign(h,d.headers);let b=false;let g={method:"GET",qs:f,headers:h,uri:p,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(g);this.authentications.default.applyToRequest(g);if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{n(g,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1PodPresetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listPodPresetForAllNamespaces(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/settings.k8s.io/v1alpha1/podpresets";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["continue"]=ObjectSerializer.serialize(e,"string")}if(t!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){p["labelSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["limit"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){p["pretty"]=ObjectSerializer.serialize(s,"string")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1PodPresetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchNamespacedPodPreset(e,t,i,a,r,s={}){const o=this.basePath+"/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPodPreset.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPodPreset.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPodPreset.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PATCH",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"any")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1PodPreset");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readNamespacedPodPreset(e,t,i,a,r,s={}){const o=this.basePath+"/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPodPreset.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPodPreset.")}if(i!==undefined){u["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){u["exact"]=ObjectSerializer.serialize(a,"boolean")}if(r!==undefined){u["export"]=ObjectSerializer.serialize(r,"boolean")}Object.assign(l,s.headers);let d=false;let p={method:"GET",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1PodPreset");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceNamespacedPodPreset(e,t,i,a,r,s={}){const o=this.basePath+"/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let l=Object.assign({},this.defaultHeaders);let c={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPodPreset.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPodPreset.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPodPreset.")}if(a!==undefined){u["pretty"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){u["dryRun"]=ObjectSerializer.serialize(r,"string")}Object.assign(l,s.headers);let d=false;let p={method:"PUT",qs:u,headers:l,uri:o,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1alpha1PodPreset")};this.authentications.BearerToken.applyToRequest(p);this.authentications.default.applyToRequest(p);if(Object.keys(c).length){if(d){p.formData=c}else{p.form=c}}return new Promise((e,t)=>{n(p,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1PodPreset");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.SettingsV1alpha1Api=SettingsV1alpha1Api;var ue;(function(e){e[e["BearerToken"]=0]="BearerToken"})(ue=t.StorageApiApiKeys||(t.StorageApiApiKeys={}));class StorageApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[ue[e]].apiKey=t}getAPIGroup(e={}){const t=this.basePath+"/apis/storage.k8s.io/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.StorageApi=StorageApi;var le;(function(e){e[e["BearerToken"]=0]="BearerToken"})(le=t.StorageV1ApiApiKeys||(t.StorageV1ApiApiKeys={}));class StorageV1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[le[e]].apiKey=t}createStorageClass(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1/storageclasses";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createStorageClass.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1StorageClass")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createVolumeAttachment(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createVolumeAttachment.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1VolumeAttachment")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionStorageClass(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/storage.k8s.io/v1/storageclasses";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionVolumeAttachment(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteStorageClass(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/storage.k8s.io/v1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteStorageClass.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteVolumeAttachment(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteVolumeAttachment.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/storage.k8s.io/v1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listStorageClass(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/storage.k8s.io/v1/storageclasses";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1StorageClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listVolumeAttachment(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1VolumeAttachmentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchStorageClass(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchStorageClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchStorageClass.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchVolumeAttachment(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchVolumeAttachment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchVolumeAttachment.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchVolumeAttachmentStatus(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchVolumeAttachmentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchVolumeAttachmentStatus.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readStorageClass(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readStorageClass.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readVolumeAttachment(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readVolumeAttachment.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readVolumeAttachmentStatus(e,t,i={}){const a=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let r={};let s=Object.assign({},this.defaultHeaders);let o={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readVolumeAttachmentStatus.")}if(t!==undefined){r["pretty"]=ObjectSerializer.serialize(t,"string")}Object.assign(s,i.headers);let u=false;let l={method:"GET",qs:r,headers:s,uri:a,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(l);this.authentications.default.applyToRequest(l);if(Object.keys(o).length){if(u){l.formData=o}else{l.form=o}}return new Promise((e,t)=>{n(l,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceStorageClass(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceStorageClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceStorageClass.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1StorageClass")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceVolumeAttachment(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceVolumeAttachment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceVolumeAttachment.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1VolumeAttachment")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceVolumeAttachmentStatus(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceVolumeAttachmentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceVolumeAttachmentStatus.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1VolumeAttachment")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.StorageV1Api=StorageV1Api;var ce;(function(e){e[e["BearerToken"]=0]="BearerToken"})(ce=t.StorageV1alpha1ApiApiKeys||(t.StorageV1alpha1ApiApiKeys={}));class StorageV1alpha1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[ce[e]].apiKey=t}createVolumeAttachment(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createVolumeAttachment.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1alpha1VolumeAttachment")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionVolumeAttachment(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteVolumeAttachment(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteVolumeAttachment.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/storage.k8s.io/v1alpha1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listVolumeAttachment(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1VolumeAttachmentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchVolumeAttachment(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchVolumeAttachment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchVolumeAttachment.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readVolumeAttachment(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readVolumeAttachment.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceVolumeAttachment(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceVolumeAttachment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceVolumeAttachment.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1alpha1VolumeAttachment")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1alpha1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.StorageV1alpha1Api=StorageV1alpha1Api;var de;(function(e){e[e["BearerToken"]=0]="BearerToken"})(de=t.StorageV1beta1ApiApiKeys||(t.StorageV1beta1ApiApiKeys={}));class StorageV1beta1Api{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[de[e]].apiKey=t}createStorageClass(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createStorageClass.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1beta1StorageClass")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}createVolumeAttachment(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments";let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createVolumeAttachment.")}if(t!==undefined){o["includeUninitialized"]=ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"POST",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(e,"V1beta1VolumeAttachment")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionStorageClass(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteCollectionVolumeAttachment(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"DELETE",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteStorageClass(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteStorageClass.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}deleteVolumeAttachment(e,t,i,a,r,s,o,u={}){const l=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let d=Object.assign({},this.defaultHeaders);let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteVolumeAttachment.")}if(t!==undefined){c["pretty"]=ObjectSerializer.serialize(t,"string")}if(a!==undefined){c["dryRun"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){c["gracePeriodSeconds"]=ObjectSerializer.serialize(r,"number")}if(s!==undefined){c["orphanDependents"]=ObjectSerializer.serialize(s,"boolean")}if(o!==undefined){c["propagationPolicy"]=ObjectSerializer.serialize(o,"string")}Object.assign(d,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:d,uri:l,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(i,"V1DeleteOptions")};this.authentications.BearerToken.applyToRequest(h);this.authentications.default.applyToRequest(h);if(Object.keys(p).length){if(f){h.formData=p}else{h.form=p}}return new Promise((e,t)=>{n(h,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}getAPIResources(e={}){const t=this.basePath+"/apis/storage.k8s.io/v1beta1/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listStorageClass(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1StorageClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}listVolumeAttachment(e,t,i,a,r,s,o,u,l,c={}){const d=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments";let p={};let f=Object.assign({},this.defaultHeaders);let h={};if(e!==undefined){p["includeUninitialized"]=ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){p["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){p["continue"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["fieldSelector"]=ObjectSerializer.serialize(a,"string")}if(r!==undefined){p["labelSelector"]=ObjectSerializer.serialize(r,"string")}if(s!==undefined){p["limit"]=ObjectSerializer.serialize(s,"number")}if(o!==undefined){p["resourceVersion"]=ObjectSerializer.serialize(o,"string")}if(u!==undefined){p["timeoutSeconds"]=ObjectSerializer.serialize(u,"number")}if(l!==undefined){p["watch"]=ObjectSerializer.serialize(l,"boolean")}Object.assign(f,c.headers);let m=false;let b={method:"GET",qs:p,headers:f,uri:d,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(b);this.authentications.default.applyToRequest(b);if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{n(b,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1VolumeAttachmentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchStorageClass(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchStorageClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchStorageClass.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}patchVolumeAttachment(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchVolumeAttachment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchVolumeAttachment.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PATCH",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"any")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readStorageClass(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readStorageClass.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}readVolumeAttachment(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readVolumeAttachment.")}if(t!==undefined){o["pretty"]=ObjectSerializer.serialize(t,"string")}if(i!==undefined){o["exact"]=ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){o["export"]=ObjectSerializer.serialize(a,"boolean")}Object.assign(u,r.headers);let c=false;let d={method:"GET",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceStorageClass(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceStorageClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceStorageClass.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1StorageClass")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}replaceVolumeAttachment(e,t,i,a,r={}){const s=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let o={};let u=Object.assign({},this.defaultHeaders);let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceVolumeAttachment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceVolumeAttachment.")}if(i!==undefined){o["pretty"]=ObjectSerializer.serialize(i,"string")}if(a!==undefined){o["dryRun"]=ObjectSerializer.serialize(a,"string")}Object.assign(u,r.headers);let c=false;let d={method:"PUT",qs:o,headers:u,uri:s,useQuerystring:this._useQuerystring,json:true,body:ObjectSerializer.serialize(t,"V1beta1VolumeAttachment")};this.authentications.BearerToken.applyToRequest(d);this.authentications.default.applyToRequest(d);if(Object.keys(l).length){if(c){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{n(d,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"V1beta1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.StorageV1beta1Api=StorageV1beta1Api;var pe;(function(e){e[e["BearerToken"]=0]="BearerToken"})(pe=t.VersionApiApiKeys||(t.VersionApiApiKeys={}));class VersionApi{constructor(e,t,i){this._basePath=a;this.defaultHeaders={};this._useQuerystring=false;this.authentications={default:new VoidAuth,BearerToken:new ApiKeyAuth("header","authorization")};if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[pe[e]].apiKey=t}getCode(e={}){const t=this.basePath+"/version/";let i={};let a=Object.assign({},this.defaultHeaders);let r={};Object.assign(a,e.headers);let s=false;let o={method:"GET",qs:i,headers:a,uri:t,useQuerystring:this._useQuerystring,json:true};this.authentications.BearerToken.applyToRequest(o);this.authentications.default.applyToRequest(o);if(Object.keys(r).length){if(s){o.formData=r}else{o.form=r}}return new Promise((e,t)=>{n(o,(i,n,a)=>{if(i){t(i)}else{a=ObjectSerializer.deserialize(a,"VersionInfo");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:a})}else{t({response:n,body:a})}}})})}}t.VersionApi=VersionApi},,,function(e){e.exports=require("buffer")},,function(e){e.exports=(()=>Math.floor(Date.now()/1e3))},,,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){"use strict";const n=i(353);const a=i(903);const r=i(104);const{kStatusCode:s,NOOP:o}=i(799);const u=Buffer.from([0,0,255,255]);const l=Buffer.from([0]);const c=Symbol("permessage-deflate");const d=Symbol("total-length");const p=Symbol("callback");const f=Symbol("buffers");const h=Symbol("error");let m;class PerMessageDeflate{constructor(e,t,i){this._maxPayload=i|0;this._options=e||{};this._threshold=this._options.threshold!==undefined?this._options.threshold:1024;this._isServer=!!t;this._deflate=null;this._inflate=null;this.params=null;if(!m){const e=this._options.concurrencyLimit!==undefined?this._options.concurrencyLimit:10;m=new n({concurrency:e})}}static get extensionName(){return"permessage-deflate"}offer(){const e={};if(this._options.serverNoContextTakeover){e.server_no_context_takeover=true}if(this._options.clientNoContextTakeover){e.client_no_context_takeover=true}if(this._options.serverMaxWindowBits){e.server_max_window_bits=this._options.serverMaxWindowBits}if(this._options.clientMaxWindowBits){e.client_max_window_bits=this._options.clientMaxWindowBits}else if(this._options.clientMaxWindowBits==null){e.client_max_window_bits=true}return e}accept(e){e=this.normalizeParams(e);this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e);return this.params}cleanup(){if(this._inflate){this._inflate.close();this._inflate=null}if(this._deflate){this._deflate.close();this._deflate=null}}acceptAsServer(e){const t=this._options;const i=e.find(e=>{if(t.serverNoContextTakeover===false&&e.server_no_context_takeover||e.server_max_window_bits&&(t.serverMaxWindowBits===false||typeof t.serverMaxWindowBits==="number"&&t.serverMaxWindowBits>e.server_max_window_bits)||typeof t.clientMaxWindowBits==="number"&&!e.client_max_window_bits){return false}return true});if(!i){throw new Error("None of the extension offers can be accepted")}if(t.serverNoContextTakeover){i.server_no_context_takeover=true}if(t.clientNoContextTakeover){i.client_no_context_takeover=true}if(typeof t.serverMaxWindowBits==="number"){i.server_max_window_bits=t.serverMaxWindowBits}if(typeof t.clientMaxWindowBits==="number"){i.client_max_window_bits=t.clientMaxWindowBits}else if(i.client_max_window_bits===true||t.clientMaxWindowBits===false){delete i.client_max_window_bits}return i}acceptAsClient(e){const t=e[0];if(this._options.clientNoContextTakeover===false&&t.client_no_context_takeover){throw new Error('Unexpected parameter "client_no_context_takeover"')}if(!t.client_max_window_bits){if(typeof this._options.clientMaxWindowBits==="number"){t.client_max_window_bits=this._options.clientMaxWindowBits}}else if(this._options.clientMaxWindowBits===false||typeof this._options.clientMaxWindowBits==="number"&&t.client_max_window_bits>this._options.clientMaxWindowBits){throw new Error('Unexpected or invalid parameter "client_max_window_bits"')}return t}normalizeParams(e){e.forEach(e=>{Object.keys(e).forEach(t=>{var i=e[t];if(i.length>1){throw new Error(`Parameter "${t}" must have only a single value`)}i=i[0];if(t==="client_max_window_bits"){if(i!==true){const e=+i;if(!Number.isInteger(e)||e<8||e>15){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}i=e}else if(!this._isServer){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}}else if(t==="server_max_window_bits"){const e=+i;if(!Number.isInteger(e)||e<8||e>15){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}i=e}else if(t==="client_no_context_takeover"||t==="server_no_context_takeover"){if(i!==true){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}}else{throw new Error(`Unknown parameter "${t}"`)}e[t]=i})});return e}decompress(e,t,i){m.push(n=>{this._decompress(e,t,(e,t)=>{n();i(e,t)})})}compress(e,t,i){m.push(n=>{this._compress(e,t,(e,t)=>{n();i(e,t)})})}_decompress(e,t,i){const n=this._isServer?"client":"server";if(!this._inflate){const e=`${n}_max_window_bits`;const t=typeof this.params[e]!=="number"?a.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=a.createInflateRaw(Object.assign({},this._options.zlibInflateOptions,{windowBits:t}));this._inflate[c]=this;this._inflate[d]=0;this._inflate[f]=[];this._inflate.on("error",inflateOnError);this._inflate.on("data",inflateOnData)}this._inflate[p]=i;this._inflate.write(e);if(t)this._inflate.write(u);this._inflate.flush(()=>{const e=this._inflate[h];if(e){this._inflate.close();this._inflate=null;i(e);return}const a=r.concat(this._inflate[f],this._inflate[d]);if(t&&this.params[`${n}_no_context_takeover`]){this._inflate.close();this._inflate=null}else{this._inflate[d]=0;this._inflate[f]=[]}i(null,a)})}_compress(e,t,i){if(!e||e.length===0){process.nextTick(i,null,l);return}const n=this._isServer?"server":"client";if(!this._deflate){const e=`${n}_max_window_bits`;const t=typeof this.params[e]!=="number"?a.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=a.createDeflateRaw(Object.assign({},this._options.zlibDeflateOptions,{windowBits:t}));this._deflate[d]=0;this._deflate[f]=[];this._deflate.on("error",o);this._deflate.on("data",deflateOnData)}this._deflate.write(e);this._deflate.flush(a.Z_SYNC_FLUSH,()=>{if(!this._deflate){return}var e=r.concat(this._deflate[f],this._deflate[d]);if(t)e=e.slice(0,e.length-4);if(t&&this.params[`${n}_no_context_takeover`]){this._deflate.close();this._deflate=null}else{this._deflate[d]=0;this._deflate[f]=[]}i(null,e)})}}e.exports=PerMessageDeflate;function deflateOnData(e){this[f].push(e);this[d]+=e.length}function inflateOnData(e){this[d]+=e.length;if(this[c]._maxPayload<1||this[d]<=this[c]._maxPayload){this[f].push(e);return}this[h]=new RangeError("Max payload size exceeded");this[h][s]=1009;this.removeListener("data",inflateOnData);this.reset()}function inflateOnError(e){this[c]._inflate=null;e[s]=1007;this[p](e)}},function(e,t,i){e.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var n=i(747);var a=n.realpath;var r=n.realpathSync;var s=process.version;var o=/^v[0-5]\./.test(s);var u=i(117);function newError(e){return e&&e.syscall==="realpath"&&(e.code==="ELOOP"||e.code==="ENOMEM"||e.code==="ENAMETOOLONG")}function realpath(e,t,i){if(o){return a(e,t,i)}if(typeof t==="function"){i=t;t=null}a(e,t,function(n,a){if(newError(n)){u.realpath(e,t,i)}else{i(n,a)}})}function realpathSync(e,t){if(o){return r(e,t)}try{return r(e,t)}catch(i){if(newError(i)){return u.realpathSync(e,t)}else{throw i}}}function monkeypatch(){n.realpath=realpath;n.realpathSync=realpathSync}function unmonkeypatch(){n.realpath=a;n.realpathSync=r}},function(e,t,i){"use strict";const n=i(614);const a=i(205);const r=e=>{const t={redis:"@keyv/redis",mongodb:"@keyv/mongo",mongo:"@keyv/mongo",sqlite:"@keyv/sqlite",postgresql:"@keyv/postgres",postgres:"@keyv/postgres",mysql:"@keyv/mysql"};if(e.adapter||e.uri){const i=e.adapter||/^[^:]*/.exec(e.uri)[0];return new(require(t[i]))(e)}return new Map};class Keyv extends n{constructor(e,t){super();this.opts=Object.assign({namespace:"keyv",serialize:a.stringify,deserialize:a.parse},typeof e==="string"?{uri:e}:e,t);if(!this.opts.store){const e=Object.assign({},this.opts);this.opts.store=r(e)}if(typeof this.opts.store.on==="function"){this.opts.store.on("error",e=>this.emit("error",e))}this.opts.store.namespace=this.opts.namespace}_getKeyPrefix(e){return`${this.opts.namespace}:${e}`}get(e){e=this._getKeyPrefix(e);const t=this.opts.store;return Promise.resolve().then(()=>t.get(e)).then(t=>{t=typeof t==="string"?this.opts.deserialize(t):t;if(t===undefined){return undefined}if(typeof t.expires==="number"&&Date.now()>t.expires){this.delete(e);return undefined}return t.value})}set(e,t,i){e=this._getKeyPrefix(e);if(typeof i==="undefined"){i=this.opts.ttl}if(i===0){i=undefined}const n=this.opts.store;return Promise.resolve().then(()=>{const a=typeof i==="number"?Date.now()+i:null;t={value:t,expires:a};return n.set(e,this.opts.serialize(t),i)}).then(()=>true)}delete(e){e=this._getKeyPrefix(e);const t=this.opts.store;return Promise.resolve().then(()=>t.delete(e))}clear(){const e=this.opts.store;return Promise.resolve().then(()=>e.clear())}}e.exports=Keyv},,,function(e,t,i){var n=i(896);var a=i(621);e.exports=expandTop;var r="\0SLASH"+Math.random()+"\0";var s="\0OPEN"+Math.random()+"\0";var o="\0CLOSE"+Math.random()+"\0";var u="\0COMMA"+Math.random()+"\0";var l="\0PERIOD"+Math.random()+"\0";function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.split("\\\\").join(r).split("\\{").join(s).split("\\}").join(o).split("\\,").join(u).split("\\.").join(l)}function unescapeBraces(e){return e.split(r).join("\\").split(s).join("{").split(o).join("}").split(u).join(",").split(l).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var i=a("{","}",e);if(!i)return e.split(",");var n=i.pre;var r=i.body;var s=i.post;var o=n.split(",");o[o.length-1]+="{"+r+"}";var u=parseCommaParts(s);if(s.length){o[o.length-1]+=u.shift();o.push.apply(o,u)}t.push.apply(t,o);return t}function expandTop(e){if(!e)return[];if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),true).map(unescapeBraces)}function identity(e){return e}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var i=[];var r=a("{","}",e);if(!r||/\$$/.test(r.pre))return[e];var s=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(r.body);var u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(r.body);var l=s||u;var c=r.body.indexOf(",")>=0;if(!l&&!c){if(r.post.match(/,.*\}/)){e=r.pre+"{"+r.body+o+r.post;return expand(e)}return[e]}var d;if(l){d=r.body.split(/\.\./)}else{d=parseCommaParts(r.body);if(d.length===1){d=expand(d[0],false).map(embrace);if(d.length===1){var p=r.post.length?expand(r.post,false):[""];return p.map(function(e){return r.pre+d[0]+e})}}}var f=r.pre;var p=r.post.length?expand(r.post,false):[""];var h;if(l){var m=numeric(d[0]);var b=numeric(d[1]);var g=Math.max(d[0].length,d[1].length);var y=d.length==3?Math.abs(numeric(d[2])):1;var S=lte;var w=b<m;if(w){y*=-1;S=gte}var v=d.some(isPadded);h=[];for(var z=m;S(z,b);z+=y){var j;if(u){j=String.fromCharCode(z);if(j==="\\")j=""}else{j=String(z);if(v){var O=g-j.length;if(O>0){var k=new Array(O+1).join("0");if(z<0)j="-"+k+j.slice(1);else j=k+j}}}h.push(j)}}else{h=n(d,function(e){return expand(e,false)})}for(var C=0;C<h.length;C++){for(var T=0;T<p.length;T++){var R=f+h[C]+p[T];if(!t||l||R)i.push(R)}}return i}},,,,function(e,t,i){const n=i(124);const a=(e,t,i)=>{try{t=new n(t,i)}catch(e){return false}return t.test(e)};e.exports=a},,function(e,t,i){const n=i(867);const a=i(716);class Endpoint{constructor(e){this.name=e.name;this.splits=e.splits;this.pathItem=e.pathItem}}class Component{constructor(e){e=Object.assign({splits:[],parameters:[]},e);let t;if(e.templated){t=(i=>{const n=t.splits.concat([i]);const a=new this.constructor({backend:t.backend,getNames:e.getNames,splits:n,parameters:e.parameters.concat([i])});t.templatedEndpoints.forEach(e=>{a._addEndpoint(e)});return a});t.templatedEndpoints=[];Object.setPrototypeOf(t,this.constructor.prototype)}else{t=this;t.templatedEndpoints=null}t.parameters=e.parameters;t.templated=e.templated;t.splits=e.splits.slice();t.backend=e.backend;t.getNames=e.getNames||(e=>[e]);t.children=[];return t}getPath(){return`/${this.splits.join("/")}`}getPathnameParameters(){const e=this.swaggerName.split("/").filter(e=>e.startsWith("{")).map(e=>e.slice(1,-1));return e.reduce((e,t,i)=>{e[t]=this.parameters[i];return e},{})}_addSpec(e){Object.keys(e.paths).map(t=>{const i=/(^\/)|(\/$)/g;const n=t.replace(i,"").split("/");return new Endpoint({name:t,splits:n,pathItem:e.paths[t]})}).sort((e,t)=>{return t.splits.length-e.splits.length}).forEach(e=>{this._addEndpoint(e)})}_addChild(e,t){this.getNames(e,this.splits).forEach(e=>{this[e]=t;this.children.push(e)})}_walkSplits(e){const t=this.splits.slice();const i=e.splits.slice();let n=this;while(i.length){const a=i.shift();t.push(a);let r=null;if(i.length&&i[0].startsWith("{")){r=i.shift().slice(1,-1)}if(!(a in n)){const e=new this.constructor({getNames:this.getNames,backend:this.backend,parameters:this.parameters,templated:Boolean(r),splits:t});n._addChild(a,e)}n=n[a];if(r){if(!n.templated){throw new Error("Created Component, but require templated one. "+"This is a bug. Please report: "+"https://github.com/silasbw/fluent-openapi/issues")}n.templatedEndpoints.push(new Endpoint({name:e.name,splits:i,pathItem:e.pathItem}));return null}}return n}_addEndpoint(e){const t=this._walkSplits(e);if(!t)return null;t.pathItemObject=e.pathItem;t.swaggerName=e.name;const i=["get","put","post","delete","patch"];i.filter(t=>e.pathItem[t]).forEach(e=>{t[e]=t["_"+e];if(e==="get")t.getStream=t._getStream});return t}_requestAsync(e,t){return this.backend.http(Object.assign({method:e,pathItemObject:this.pathItemObject,pathname:this.getPath(),pathnameParameters:this.getPathnameParameters()},t))}_getStream(e){return this._requestAsync("GET",Object.assign({stream:true},e))}_get(e){return this._requestAsync("GET",e)}_delete(e){return this._requestAsync("DELETE",e)}_patch(e){return this._requestAsync("PATCH",n({headers:{"content-type":"application/strategic-merge-patch+json"}},e,{isMergeableObject:a}))}_post(e){return this._requestAsync("POST",n({headers:{"content-type":"application/json"}},e,{isMergeableObject:a}))}_put(e){return this._requestAsync("PUT",n({headers:{"content-type":"application/json"}},e,{isMergeableObject:a}))}}e.exports=Component},function(e,t){function reverse(e){const t={};Object.keys(e).forEach(function(i){if((i|0)==i){i=i|0}const n=e[i];t[n]=i});return t}t.tagClass={0:"universal",1:"application",2:"context",3:"private"};t.tagClassByName=reverse(t.tagClass);t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"};t.tagByName=reverse(t.tag)},function(e,t,i){const n=i(508);e.exports=n.KubeConfig},function(e){if(typeof Object.create==="function"){e.exports=function inherits(e,t){if(t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}}else{e.exports=function inherits(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype;e.prototype=new i;e.prototype.constructor=e}}}},,,,function(e){e.exports={$id:"log.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["version","creator","entries"],properties:{version:{type:"string"},creator:{$ref:"creator.json#"},browser:{$ref:"browser.json#"},pages:{type:"array",items:{$ref:"page.json#"}},entries:{type:"array",items:{$ref:"entry.json#"}},comment:{type:"string"}}}},function(e,t,i){function __ncc_wildcard$0(e){if(e==="cmd")return i(889);else if(e==="openid")return i(251)}"use strict";const{convertKubeconfig:n}=i(264);const a=i(418)("kubernetes-client");const r=i(262);const s=i(453);const o=i(13);const u=i(878);const l=i(683);const c=i(667);function refreshAuth(e,t){return new Promise((i,n)=>{const a=__ncc_wildcard$0(e);a.refresh(t).then(e=>{const t={bearer:e};return i(t)}).catch(e=>n(e))})}const d=["stdin","stdout","stderr","error","resize"];function isUpgradeRequired(e){return e.status==="Failure"&&e.code===400&&e.message==="Upgrade request required"}function upgradeRequest(e,t){const i=o.stringify(e.qs,{indices:false});const n=l(e.baseUrl,e.uri,`?${i}`);const a="base64.channel.k8s.io";e.headers={...e.headers,authorization:`Bearer ${e.auth.bearer}`};const r=new c(n,a,e);const s=[];r.on("message",e=>{const t=d[e.slice(0,1)];const i=Buffer.from(e.slice(1),"base64").toString("ascii");s.push({channel:t,message:i})});r.on("error",e=>{e.messages=s;t(e,s)});r.on("close",(e,i)=>t(null,{messages:s,body:s.map(({message:e})=>e).join(""),code:e,reason:i}));return r}class Request{constructor(e){this.requestOptions=e.request||{};let t;if(!e.kubeconfig){a("Request() without a .kubeconfig option, see "+"https://github.com/godaddy/kubernetes-client/blob/master/merging-with-kubernetes.md");t=e}else{t=n(e.kubeconfig)}this.requestOptions.qsStringifyOptions={indices:false};this.requestOptions.baseUrl=t.url;this.requestOptions.ca=t.ca;this.requestOptions.cert=t.cert;this.requestOptions.key=t.key;if("insecureSkipTlsVerify"in t){this.requestOptions.strictSSL=!t.insecureSkipTlsVerify}if("timeout"in t){this.requestOptions.timeout=t.timeout}this.authProvider={type:null};if(t.auth){this.requestOptions.auth=t.auth;if(t.auth.provider){this.requestOptions.auth=t.auth.request;this.authProvider=t.auth.provider}}}_request(e,t){const i=this.authProvider;return u(e,(n,a,r)=>{if(n)return t(n);if(r&&isUpgradeRequired(r)){return upgradeRequest(e,t)}if((a.statusCode===401||a.statusCode===403)&&i.type){return refreshAuth(i.type,i.config).then(i=>{this.requestOptions.auth=i;e.auth=i;return u(e,(e,i,n)=>{if(e)return t(e);return t(null,{statusCode:i.statusCode,body:n})})}).catch(e=>t(e))}return t(null,{statusCode:a.statusCode,body:r})})}async getLogByteStream(e){return this.http(Object.assign({stream:true},e))}async getWatchObjectStream(e){const t=new r;const i=this.http(Object.assign({stream:true},e));s(i,t);return t}async getWebSocket(e){throw new Error("Request.getWebSocket not implemented")}http(e){const t=e.pathname;const i=Object.assign({method:e.method,uri:t,body:e.body,json:"json"in e?Boolean(e.json):true,qs:e.parameters||e.qs,headers:e.headers},this.requestOptions);if(e.noAuth){delete i.auth}if(e.stream)return u(i);return new Promise((e,t)=>{this._request(i,(i,n)=>{if(i)return t(i);if(n.statusCode<200||n.statusCode>299){const e=new Error(n.body.message||n.body);e.code=n.statusCode;e.statusCode=n.statusCode;return t(e)}e(n)})})}}e.exports=Request},function(e){"use strict";e.exports=((e,t=1,i)=>{i={indent:" ",includeEmptyLines:false,...i};if(typeof e!=="string"){throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``)}if(typeof t!=="number"){throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``)}if(typeof i.indent!=="string"){throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof i.indent}\``)}if(t===0){return e}const n=i.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return e.replace(n,i.indent.repeat(t))})},function(e,t,i){const n=i(466);const a=i(849);const r=i(592);const{KeyStore:s}=i(926);e.exports=((e,t=false)=>{if(e instanceof a){return e}if(e instanceof s){if(!t){throw new TypeError("key argument for this operation must not be a JWKS.KeyStore instance")}return e}try{return r(e)}catch(e){if(e instanceof n.JOSEError&&!(e instanceof n.JWKImportFailed)){throw e}let i;if(t){i="key must be an instance of a key instantiated by JWK.asKey, a valid JWK.asKey input, or a JWKS.KeyStore instance"}else{i="key must be an instance of a key instantiated by JWK.asKey, or a valid JWK.asKey input"}throw new TypeError(i)}})},function(e,t,i){const n=i(462);const a=(e,t,i)=>n(e,t,"<",i);e.exports=a},,function(e,t,i){var n=i(249);e.exports={Ber:n,BerReader:n.Reader,BerWriter:n.Writer}},function(e){e.exports={$id:"cookie.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"},path:{type:"string"},domain:{type:"string"},expires:{type:["string","null"],format:"date-time"},httpOnly:{type:"boolean"},secure:{type:"boolean"},comment:{type:"string"}}}},,,,function(e){"use strict";const t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function push(e,t,i){if(Object.prototype.hasOwnProperty.call(e,t))e[t].push(i);else e[t]=[i]}function parse(e){const i={};if(e===undefined||e==="")return i;var n={};var a=false;var r=false;var s=false;var o;var u;var l=-1;var c=-1;for(var d=0;d<e.length;d++){const f=e.charCodeAt(d);if(o===undefined){if(c===-1&&t[f]===1){if(l===-1)l=d}else if(f===32||f===9){if(c===-1&&l!==-1)c=d}else if(f===59||f===44){if(l===-1){throw new SyntaxError(`Unexpected character at index ${d}`)}if(c===-1)c=d;const t=e.slice(l,c);if(f===44){push(i,t,n);n={}}else{o=t}l=c=-1}else{throw new SyntaxError(`Unexpected character at index ${d}`)}}else if(u===undefined){if(c===-1&&t[f]===1){if(l===-1)l=d}else if(f===32||f===9){if(c===-1&&l!==-1)c=d}else if(f===59||f===44){if(l===-1){throw new SyntaxError(`Unexpected character at index ${d}`)}if(c===-1)c=d;push(n,e.slice(l,c),true);if(f===44){push(i,o,n);n={};o=undefined}l=c=-1}else if(f===61&&l!==-1&&c===-1){u=e.slice(l,d);l=c=-1}else{throw new SyntaxError(`Unexpected character at index ${d}`)}}else{if(r){if(t[f]!==1){throw new SyntaxError(`Unexpected character at index ${d}`)}if(l===-1)l=d;else if(!a)a=true;r=false}else if(s){if(t[f]===1){if(l===-1)l=d}else if(f===34&&l!==-1){s=false;c=d}else if(f===92){r=true}else{throw new SyntaxError(`Unexpected character at index ${d}`)}}else if(f===34&&e.charCodeAt(d-1)===61){s=true}else if(c===-1&&t[f]===1){if(l===-1)l=d}else if(l!==-1&&(f===32||f===9)){if(c===-1)c=d}else if(f===59||f===44){if(l===-1){throw new SyntaxError(`Unexpected character at index ${d}`)}if(c===-1)c=d;var p=e.slice(l,c);if(a){p=p.replace(/\\/g,"");a=false}push(n,u,p);if(f===44){push(i,o,n);n={};o=undefined}u=undefined;l=c=-1}else{throw new SyntaxError(`Unexpected character at index ${d}`)}}}if(l===-1||s){throw new SyntaxError("Unexpected end of input")}if(c===-1)c=d;const f=e.slice(l,c);if(o===undefined){push(i,f,{})}else{if(u===undefined){push(n,f,true)}else if(a){push(n,u,f.replace(/\\/g,""))}else{push(n,u,f)}push(i,o,n)}return i}function format(e){return Object.keys(e).map(t=>{var i=e[t];if(!Array.isArray(i))i=[i];return i.map(e=>{return[t].concat(Object.keys(e).map(t=>{var 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(274);const a=i(38);const r=i(0);const s=i(322);const o=i(570);const u=i(518).isString.bind(undefined,TypeError);const l=e=>{if(typeof e.iat!=="boolean"){throw new TypeError("options.iat must be a boolean")}if(typeof e.kid!=="boolean"){throw new TypeError("options.kid must be a boolean")}u(e.subject,"options.subject");u(e.issuer,"options.issuer");if(e.audience!==undefined&&((typeof e.audience!=="string"||!e.audience)&&(!Array.isArray(e.audience)||e.audience.length===0||e.audience.some(e=>!e||typeof e!=="string")))){throw new TypeError("options.audience must be a string or an array of strings")}if(!n(e.header)){throw new TypeError("options.header must be an object")}u(e.algorithm,"options.algorithm");u(e.expiresIn,"options.expiresIn");u(e.notBefore,"options.notBefore");u(e.jti,"options.jti");u(e.nonce,"options.nonce");if(e.now!==undefined&&(!(e.now instanceof Date)||!e.now.getTime())){throw new TypeError("options.now must be a valid Date object")}};e.exports=((e,t,i={})=>{if(!n(i)){throw new TypeError("options must be an object")}const{algorithm:u,audience:c,expiresIn:d,header:p={},iat:f=true,issuer:h,jti:m,kid:b=true,nonce:g,notBefore:y,subject:S,now:w}=i;l({algorithm:u,audience:c,expiresIn:d,header:p,iat:f,issuer:h,jti:m,kid:b,nonce:g,notBefore:y,now:w,subject:S});if(!n(e)){throw new TypeError("payload must be an object")}let v;if(d||y||f){v=r(w||new Date)}e={...e,sub:S||e.sub,aud:c||e.aud,iss:h||e.iss,jti:m||e.jti,iat:f?v:e.iat,nonce:g||e.nonce,exp:d?v+a(d):e.exp,nbf:y?v+a(y):e.nbf};t=s(t);let z;if(typeof i.kid==="boolean"){z=b}else{z=!t.secret}return o.sign(JSON.stringify(e),t,{...p,alg:u||p.alg,kid:z?t.kid:p.kid})})},,,function(e,t,i){e.exports={parallel:i(424),serial:i(91),serialOrdered:i(892)}},function(e,t,i){const{inherits:n}=i(669);const{Reporter:a}=i(452);function DecoderBuffer(e,t){a.call(this,t);if(!Buffer.isBuffer(e)){this.error("Input not Buffer");return}this.base=e;this.offset=0;this.length=e.length}n(DecoderBuffer,a);DecoderBuffer.isDecoderBuffer=function isDecoderBuffer(e){if(e instanceof DecoderBuffer){return true}const t=typeof e==="object"&&Buffer.isBuffer(e.base)&&e.constructor.name==="DecoderBuffer"&&typeof e.offset==="number"&&typeof e.length==="number"&&typeof e.save==="function"&&typeof e.restore==="function"&&typeof e.isEmpty==="function"&&typeof e.readUInt8==="function"&&typeof e.skip==="function"&&typeof e.raw==="function";return t};DecoderBuffer.prototype.save=function save(){return{offset:this.offset,reporter:a.prototype.save.call(this)}};DecoderBuffer.prototype.restore=function restore(e){const t=new DecoderBuffer(this.base);t.offset=e.offset;t.length=this.offset;this.offset=e.offset;a.prototype.restore.call(this,e.reporter);return t};DecoderBuffer.prototype.isEmpty=function isEmpty(){return this.offset===this.length};DecoderBuffer.prototype.readUInt8=function readUInt8(e){if(this.offset+1<=this.length){return this.base.readUInt8(this.offset++,true)}else{return this.error(e||"DecoderBuffer overrun")}};DecoderBuffer.prototype.skip=function skip(e,t){if(!(this.offset+e<=this.length)){return this.error(t||"DecoderBuffer overrun")}const i=new DecoderBuffer(this.base);i._reporterState=this._reporterState;i.offset=this.offset;i.length=this.offset+e;this.offset+=e;return i};DecoderBuffer.prototype.raw=function raw(e){return this.base.slice(e?e.offset:this.offset,this.length)};function EncoderBuffer(e,t){if(Array.isArray(e)){this.length=0;this.value=e.map(function(e){if(!EncoderBuffer.isEncoderBuffer(e)){e=new EncoderBuffer(e,t)}this.length+=e.length;return e},this)}else if(typeof e==="number"){if(!(e>=0&&e<=255)){return t.error("non-byte EncoderBuffer value")}this.value=e;this.length=1}else if(typeof e==="string"){this.value=e;this.length=Buffer.byteLength(e)}else if(Buffer.isBuffer(e)){this.value=e;this.length=e.length}else{return t.error(`Unsupported type: ${typeof e}`)}}EncoderBuffer.isEncoderBuffer=function isEncoderBuffer(e){if(e instanceof EncoderBuffer){return true}const t=typeof e==="object"&&e.constructor.name==="EncoderBuffer"&&typeof e.length==="number"&&typeof e.join==="function";return t};EncoderBuffer.prototype.join=function join(e,t){if(!e){e=Buffer.alloc(this.length)}if(!t){t=0}if(this.length===0){return e}if(Array.isArray(this.value)){this.value.forEach(function(i){i.join(e,t);t+=i.length})}else{if(typeof this.value==="number"){e[t]=this.value}else if(typeof this.value==="string"){e.write(this.value,t)}else if(Buffer.isBuffer(this.value)){this.value.copy(e,t)}t+=this.length}return e};e.exports={DecoderBuffer:DecoderBuffer,EncoderBuffer:EncoderBuffer}},,function(e){e.exports={$schema:"http://json-schema.org/draft-06/schema#",$id:"http://json-schema.org/draft-06/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:true,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},title:{type:"string"},description:{type:"string"},default:{},examples:{type:"array",items:{}},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:false},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:{},enum:{type:"array",minItems:1,uniqueItems:true},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:true}]},format:{type:"string"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:{}}},function(e,t,i){"use strict";const n=i(774);const a=i(794);const r=i(916);const s=i(523);const o=i(821);const u=i(879);const l=e=>e.stream?a(e):r(e);const c=["get","post","put","patch","head","delete"];const d=e=>{e=o({},e);s.preNormalize(e.options);if(!e.handler){e.handler=((e,t)=>t(e))}function got(t,i){try{return e.handler(s(t,i,e),l)}catch(e){if(i&&i.stream){throw e}else{return Promise.reject(e)}}}got.create=d;got.extend=(t=>{let i;if(t&&Reflect.has(t,"mutableDefaults")){i=t.mutableDefaults;delete t.mutableDefaults}else{i=e.mutableDefaults}return d({options:o.options(e.options,t),handler:e.handler,mutableDefaults:i})});got.mergeInstances=((...e)=>d(o.instances(e)));got.stream=((e,t)=>got(e,{...t,stream:true}));for(const e of c){got[e]=((t,i)=>got(t,{...i,method:e}));got.stream[e]=((t,i)=>got.stream(t,{...i,method:e}))}Object.assign(got,{...n,mergeOptions:o.options});Object.defineProperty(got,"defaults",{value:e.mutableDefaults?e:u(e),writable:e.mutableDefaults,configurable:e.mutableDefaults,enumerable:true});return got};e.exports=d},function(e){e.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON Schema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:false}},function(e,t,i){var n=i(602);var a=i(747);n.register("sort",_sort,{canReceivePipe:true,cmdOptions:{r:"reverse",n:"numerical"}});function parseNumber(e){var t=e.match(/^\s*(\d*)\s*(.*)$/);return{num:Number(t[1]),value:t[2]}}function unixCmp(e,t){var i=e.toLowerCase();var n=t.toLowerCase();return i===n?-1*e.localeCompare(t):i.localeCompare(n)}function numericalCmp(e,t){var i=parseNumber(e);var n=parseNumber(t);if(i.hasOwnProperty("num")&&n.hasOwnProperty("num")){return i.num!==n.num?i.num-n.num:unixCmp(i.value,n.value)}else{return unixCmp(i.value,n.value)}}function _sort(e,t){var i=n.readFromPipe();if(!t&&!i)n.error("no files given");t=[].slice.call(arguments,1);if(i){t.unshift("-")}var r=t.reduce(function(e,t){if(t!=="-"){if(!a.existsSync(t)){n.error("no such file or directory: "+t,{continue:true});return e}else if(n.statFollowLinks(t).isDirectory()){n.error("read failed: "+t+": Is a directory",{continue:true});return e}}var r=t==="-"?i:a.readFileSync(t,"utf8");return e.concat(r.trimRight().split("\n"))},[]);var s=r.sort(e.numerical?numericalCmp:unixCmp);if(e.reverse){s=s.reverse()}return s.join("\n")+"\n"}e.exports=_sort},function(e){"use strict";e.exports=function generate__limit(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}var h=t=="maximum",m=h?"exclusiveMaximum":"exclusiveMinimum",b=e.schema[m],g=e.opts.$data&&b&&b.$data,y=h?"<":">",S=h?">":"<",c=undefined;if(!(p||typeof s=="number"||s===undefined)){throw new Error(t+" must be number")}if(!(g||b===undefined||typeof b=="number"||typeof b=="boolean")){throw new Error(m+" must be number or boolean")}if(g){var w=e.util.getData(b.$data,r,e.dataPathArr),v="exclusive"+a,z="exclType"+a,j="exclIsNumber"+a,O="op"+a,k="' + "+O+" + '";n+=" var schemaExcl"+a+" = "+w+"; ";w="schemaExcl"+a;n+=" var "+v+"; var "+z+" = typeof "+w+"; if ("+z+" != 'boolean' && "+z+" != 'undefined' && "+z+" != 'number') { ";var c=m;var C=C||[];C.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(c||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){n+=" , message: '"+m+" should be boolean' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "}n+=" } "}else{n+=" {} "}var T=n;n=C.pop();if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(["+T+"]); "}else{n+=" validate.errors = ["+T+"]; return false; "}}else{n+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } else if ( ";if(p){n+=" ("+f+" !== undefined && typeof "+f+" != 'number') || "}n+=" "+z+" == 'number' ? ( ("+v+" = "+f+" === undefined || "+w+" "+y+"= "+f+") ? "+d+" "+S+"= "+w+" : "+d+" "+S+" "+f+" ) : ( ("+v+" = "+w+" === true) ? "+d+" "+S+"= "+f+" : "+d+" "+S+" "+f+" ) || "+d+" !== "+d+") { var op"+a+" = "+v+" ? '"+y+"' : '"+y+"='; ";if(s===undefined){c=m;u=e.errSchemaPath+"/"+m;f=w;p=g}}else{var j=typeof b=="number",k=y;if(j&&p){var O="'"+k+"'";n+=" if ( ";if(p){n+=" ("+f+" !== undefined && typeof "+f+" != 'number') || "}n+=" ( "+f+" === undefined || "+b+" "+y+"= "+f+" ? "+d+" "+S+"= "+b+" : "+d+" "+S+" "+f+" ) || "+d+" !== "+d+") { "}else{if(j&&s===undefined){v=true;c=m;u=e.errSchemaPath+"/"+m;f=b;S+="="}else{if(j)f=Math[h?"min":"max"](b,s);if(b===(j?f:true)){v=true;c=m;u=e.errSchemaPath+"/"+m;S+="="}else{v=false;k+="="}}var O="'"+k+"'";n+=" if ( ";if(p){n+=" ("+f+" !== undefined && typeof "+f+" != 'number') || "}n+=" "+d+" "+S+" "+f+" || "+d+" !== "+d+") { "}}c=c||t;var C=C||[];C.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(c||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+O+", limit: "+f+", exclusive: "+v+" } ";if(e.opts.messages!==false){n+=" , message: 'should be "+k+" ";if(p){n+="' + "+f}else{n+=""+f+"'"}}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 T=n;n=C.pop();if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(["+T+"]); "}else{n+=" validate.errors = ["+T+"]; return false; "}}else{n+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } ";if(l){n+=" else { "}return n}},function(e,t,i){var n=i(872);var a=i(669);var r=i(909);var s=r.HASH_ALGOS;var o=r.PK_ALGOS;var u=r.HttpSignatureError;var l=r.InvalidAlgorithmError;var c=r.validateAlgorithm;var d={New:0,Params:1};var p={Name:0,Quote:1,Value:2,Comma:3};function ExpiredRequestError(e){u.call(this,e,ExpiredRequestError)}a.inherits(ExpiredRequestError,u);function InvalidHeaderError(e){u.call(this,e,InvalidHeaderError)}a.inherits(InvalidHeaderError,u);function InvalidParamsError(e){u.call(this,e,InvalidParamsError)}a.inherits(InvalidParamsError,u);function MissingHeaderError(e){u.call(this,e,MissingHeaderError)}a.inherits(MissingHeaderError,u);function StrictParsingError(e){u.call(this,e,StrictParsingError)}a.inherits(StrictParsingError,u);e.exports={parseRequest:function parseRequest(e,t){n.object(e,"request");n.object(e.headers,"request.headers");if(t===undefined){t={}}if(t.headers===undefined){t.headers=[e.headers["x-date"]?"x-date":"date"]}n.object(t,"options");n.arrayOfString(t.headers,"options.headers");n.optionalFinite(t.clockSkew,"options.clockSkew");var i=t.authorizationHeaderName||"authorization";if(!e.headers[i]){throw new MissingHeaderError("no "+i+" header "+"present in the request")}t.clockSkew=t.clockSkew||300;var a=0;var r=d.New;var s=p.Name;var o="";var u="";var f={scheme:"",params:{},signingString:""};var h=e.headers[i];for(a=0;a<h.length;a++){var m=h.charAt(a);switch(Number(r)){case d.New:if(m!==" ")f.scheme+=m;else r=d.Params;break;case d.Params:switch(Number(s)){case p.Name:var b=m.charCodeAt(0);if(b>=65&&b<=90||b>=97&&b<=122){o+=m}else if(m==="="){if(o.length===0)throw new InvalidHeaderError("bad param format");s=p.Quote}else{throw new InvalidHeaderError("bad param format")}break;case p.Quote:if(m==='"'){u="";s=p.Value}else{throw new InvalidHeaderError("bad param format")}break;case p.Value:if(m==='"'){f.params[o]=u;s=p.Comma}else{u+=m}break;case p.Comma:if(m===","){o="";s=p.Name}else{throw new InvalidHeaderError("bad param format")}break;default:throw new Error("Invalid substate")}break;default:throw new Error("Invalid substate")}}if(!f.params.headers||f.params.headers===""){if(e.headers["x-date"]){f.params.headers=["x-date"]}else{f.params.headers=["date"]}}else{f.params.headers=f.params.headers.split(" ")}if(!f.scheme||f.scheme!=="Signature")throw new InvalidHeaderError('scheme was not "Signature"');if(!f.params.keyId)throw new InvalidHeaderError("keyId was not specified");if(!f.params.algorithm)throw new InvalidHeaderError("algorithm was not specified");if(!f.params.signature)throw new InvalidHeaderError("signature was not specified");f.params.algorithm=f.params.algorithm.toLowerCase();try{c(f.params.algorithm)}catch(e){if(e instanceof l)throw new InvalidParamsError(f.params.algorithm+" is not "+"supported");else throw e}for(a=0;a<f.params.headers.length;a++){var g=f.params.headers[a].toLowerCase();f.params.headers[a]=g;if(g==="request-line"){if(!t.strict){f.signingString+=e.method+" "+e.url+" HTTP/"+e.httpVersion}else{throw new StrictParsingError("request-line is not a valid header "+"with strict parsing enabled.")}}else if(g==="(request-target)"){f.signingString+="(request-target): "+e.method.toLowerCase()+" "+e.url}else{var y=e.headers[g];if(y===undefined)throw new MissingHeaderError(g+" was not in the request");f.signingString+=g+": "+y}if(a+1<f.params.headers.length)f.signingString+="\n"}var S;if(e.headers.date||e.headers["x-date"]){if(e.headers["x-date"]){S=new Date(e.headers["x-date"])}else{S=new Date(e.headers.date)}var w=new Date;var v=Math.abs(w.getTime()-S.getTime());if(v>t.clockSkew*1e3){throw new ExpiredRequestError("clock skew of "+v/1e3+"s was greater than "+t.clockSkew+"s")}}t.headers.forEach(function(e){if(f.params.headers.indexOf(e.toLowerCase())<0)throw new MissingHeaderError(e+" was not a signed header")});if(t.algorithms){if(t.algorithms.indexOf(f.params.algorithm)===-1)throw new InvalidParamsError(f.params.algorithm+" is not a supported algorithm")}f.algorithm=f.params.algorithm.toUpperCase();f.keyId=f.params.keyId;return f}}},function(e){"use strict";e.exports=function generate_properties(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="errs__"+a;var p=e.util.copy(e);var f="";p.level++;var h="valid"+p.level;var m="key"+a,b="idx"+a,g=p.dataLevel=e.dataLevel+1,y="data"+g,S="dataProperties"+a;var w=Object.keys(s||{}).filter(notProto),v=e.schema.patternProperties||{},z=Object.keys(v).filter(notProto),j=e.schema.additionalProperties,O=w.length||z.length,k=j===false,C=typeof j=="object"&&Object.keys(j).length,T=e.opts.removeAdditional,R=k||C||T,E=e.opts.ownProperties,A=e.baseId;var x=e.schema.required;if(x&&!(e.opts.$data&&x.$data)&&x.length<e.opts.loopRequired){var N=e.util.toHash(x)}function notProto(e){return e!=="__proto__"}n+="var "+d+" = errors;var "+h+" = true;";if(E){n+=" var "+S+" = undefined;"}if(R){if(E){n+=" "+S+" = "+S+" || Object.keys("+c+"); for (var "+b+"=0; "+b+"<"+S+".length; "+b+"++) { var "+m+" = "+S+"["+b+"]; "}else{n+=" for (var "+m+" in "+c+") { "}if(O){n+=" var isAdditional"+a+" = !(false ";if(w.length){if(w.length>8){n+=" || validate.schema"+o+".hasOwnProperty("+m+") "}else{var V=w;if(V){var P,D=-1,I=V.length-1;while(D<I){P=V[D+=1];n+=" || "+m+" == "+e.util.toQuotedString(P)+" "}}}}if(z.length){var _=z;if(_){var q,B=-1,M=_.length-1;while(B<M){q=_[B+=1];n+=" || "+e.usePattern(q)+".test("+m+") "}}}n+=" ); if (isAdditional"+a+") { "}if(T=="all"){n+=" delete "+c+"["+m+"]; "}else{var U=e.errorPath;var L="' + "+m+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers)}if(k){if(T){n+=" delete "+c+"["+m+"]; "}else{n+=" "+h+" = false; ";var H=u;u=e.errSchemaPath+"/additionalProperties";var Q=Q||[];Q.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"additionalProperties"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { additionalProperty: '"+L+"' } ";if(e.opts.messages!==false){n+=" , message: '";if(e.opts._errorDataPathProperty){n+="is an invalid additional property"}else{n+="should NOT have additional properties"}n+="' "}if(e.opts.verbose){n+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}var W=n;n=Q.pop();if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(["+W+"]); "}else{n+=" validate.errors = ["+W+"]; return false; "}}else{n+=" var err = "+W+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}u=H;if(l){n+=" break; "}}}else if(C){if(T=="failing"){n+=" var "+d+" = errors; ";var G=e.compositeRule;e.compositeRule=p.compositeRule=true;p.schema=j;p.schemaPath=e.schemaPath+".additionalProperties";p.errSchemaPath=e.errSchemaPath+"/additionalProperties";p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var K=c+"["+m+"]";p.dataPathArr[g]=m;var J=e.validate(p);p.baseId=A;if(e.util.varOccurences(J,y)<2){n+=" "+e.util.varReplace(J,y,K)+" "}else{n+=" var "+y+" = "+K+"; "+J+" "}n+=" if (!"+h+") { errors = "+d+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+c+"["+m+"]; } ";e.compositeRule=p.compositeRule=G}else{p.schema=j;p.schemaPath=e.schemaPath+".additionalProperties";p.errSchemaPath=e.errSchemaPath+"/additionalProperties";p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var K=c+"["+m+"]";p.dataPathArr[g]=m;var J=e.validate(p);p.baseId=A;if(e.util.varOccurences(J,y)<2){n+=" "+e.util.varReplace(J,y,K)+" "}else{n+=" var "+y+" = "+K+"; "+J+" "}if(l){n+=" if (!"+h+") break; "}}}e.errorPath=U}if(O){n+=" } "}n+=" } ";if(l){n+=" if ("+h+") { ";f+="}"}}var F=e.opts.useDefaults&&!e.compositeRule;if(w.length){var Y=w;if(Y){var P,X=-1,Z=Y.length-1;while(X<Z){P=Y[X+=1];var $=s[P];if(e.opts.strictKeywords?typeof $=="object"&&Object.keys($).length>0:e.util.schemaHasRules($,e.RULES.all)){var ee=e.util.getProperty(P),K=c+ee,te=F&&$.default!==undefined;p.schema=$;p.schemaPath=o+ee;p.errSchemaPath=u+"/"+e.util.escapeFragment(P);p.errorPath=e.util.getPath(e.errorPath,P,e.opts.jsonPointers);p.dataPathArr[g]=e.util.toQuotedString(P);var J=e.validate(p);p.baseId=A;if(e.util.varOccurences(J,y)<2){J=e.util.varReplace(J,y,K);var ie=K}else{var ie=y;n+=" var "+y+" = "+K+"; "}if(te){n+=" "+J+" "}else{if(N&&N[P]){n+=" if ( "+ie+" === undefined ";if(E){n+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(P)+"') "}n+=") { "+h+" = false; ";var U=e.errorPath,H=u,ne=e.util.escapeQuotes(P);if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPath(U,P,e.opts.jsonPointers)}u=e.errSchemaPath+"/required";var Q=Q||[];Q.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+ne+"' } ";if(e.opts.messages!==false){n+=" , message: '";if(e.opts._errorDataPathProperty){n+="is a required property"}else{n+="should have required property \\'"+ne+"\\'"}n+="' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}var W=n;n=Q.pop();if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(["+W+"]); "}else{n+=" validate.errors = ["+W+"]; return false; "}}else{n+=" var err = "+W+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}u=H;e.errorPath=U;n+=" } else { "}else{if(l){n+=" if ( "+ie+" === undefined ";if(E){n+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(P)+"') "}n+=") { "+h+" = true; } else { "}else{n+=" if ("+ie+" !== undefined ";if(E){n+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(P)+"') "}n+=" ) { "}}n+=" "+J+" } "}}if(l){n+=" if ("+h+") { ";f+="}"}}}}if(z.length){var ae=z;if(ae){var q,re=-1,se=ae.length-1;while(re<se){q=ae[re+=1];var $=v[q];if(e.opts.strictKeywords?typeof $=="object"&&Object.keys($).length>0:e.util.schemaHasRules($,e.RULES.all)){p.schema=$;p.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(q);p.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(q);if(E){n+=" "+S+" = "+S+" || Object.keys("+c+"); for (var "+b+"=0; "+b+"<"+S+".length; "+b+"++) { var "+m+" = "+S+"["+b+"]; "}else{n+=" for (var "+m+" in "+c+") { "}n+=" if ("+e.usePattern(q)+".test("+m+")) { ";p.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var K=c+"["+m+"]";p.dataPathArr[g]=m;var J=e.validate(p);p.baseId=A;if(e.util.varOccurences(J,y)<2){n+=" "+e.util.varReplace(J,y,K)+" "}else{n+=" var "+y+" = "+K+"; "+J+" "}if(l){n+=" if (!"+h+") break; "}n+=" } ";if(l){n+=" else "+h+" = true; "}n+=" } ";if(l){n+=" if ("+h+") { ";f+="}"}}}}}if(l){n+=" "+f+" if ("+d+" == errors) {"}return n}},,,,,function(e,t,i){var n=i(872);var a=i(669);var r=i(697);var s=i(956);var o=i(703);t.deepCopy=deepCopy;t.deepEqual=deepEqual;t.isEmpty=isEmpty;t.hasKey=hasKey;t.forEachKey=forEachKey;t.pluck=pluck;t.flattenObject=flattenObject;t.flattenIter=flattenIter;t.validateJsonObject=validateJsonObjectJS;t.validateJsonObjectJS=validateJsonObjectJS;t.randElt=randElt;t.extraProperties=extraProperties;t.mergeObjects=mergeObjects;t.startsWith=startsWith;t.endsWith=endsWith;t.parseInteger=parseInteger;t.iso8601=iso8601;t.rfc1123=rfc1123;t.parseDateTime=parseDateTime;t.hrtimediff=hrtimeDiff;t.hrtimeDiff=hrtimeDiff;t.hrtimeAccum=hrtimeAccum;t.hrtimeAdd=hrtimeAdd;t.hrtimeNanosec=hrtimeNanosec;t.hrtimeMicrosec=hrtimeMicrosec;t.hrtimeMillisec=hrtimeMillisec;function deepCopy(e){var t,i;var n="__deepCopy";if(e&&e[n])throw new Error("attempted deep copy of cyclic object");if(e&&e.constructor==Object){t={};e[n]=true;for(i in e){if(i==n)continue;t[i]=deepCopy(e[i])}delete e[n];return t}if(e&&e.constructor==Array){t=[];e[n]=true;for(i=0;i<e.length;i++)t.push(deepCopy(e[i]));delete e[n];return t}return e}function deepEqual(e,t){if(typeof e!=typeof t)return false;if(e===null||t===null||typeof e!="object")return e===t;if(e.constructor!=t.constructor)return false;var i;for(i in e){if(!t.hasOwnProperty(i))return false;if(!deepEqual(e[i],t[i]))return false}for(i in t){if(!e.hasOwnProperty(i))return false}return true}function isEmpty(e){var t;for(t in e)return false;return true}function hasKey(e,t){n.equal(typeof t,"string");return Object.prototype.hasOwnProperty.call(e,t)}function forEachKey(e,t){for(var i in e){if(hasKey(e,i)){t(i,e[i])}}}function pluck(e,t){n.equal(typeof t,"string");return pluckv(e,t)}function pluckv(e,t){if(e===null||typeof e!=="object")return undefined;if(e.hasOwnProperty(t))return e[t];var i=t.indexOf(".");if(i==-1)return undefined;var n=t.substr(0,i);if(!e.hasOwnProperty(n))return undefined;return pluckv(e[n],t.substr(i+1))}function flattenIter(e,t,i){doFlattenIter(e,t,[],i)}function doFlattenIter(e,t,i,a){var r;var s;if(t===0){r=i.slice(0);r.push(e);a(r);return}n.ok(e!==null);n.equal(typeof e,"object");n.equal(typeof t,"number");n.ok(t>=0);for(s in e){r=i.slice(0);r.push(s);doFlattenIter(e[s],t-1,r,a)}}function flattenObject(e,t){if(t===0)return[e];n.ok(e!==null);n.equal(typeof e,"object");n.equal(typeof t,"number");n.ok(t>=0);var i=[];var a;for(a in e){flattenObject(e[a],t-1).forEach(function(e){i.push([a].concat(e))})}return i}function startsWith(e,t){return e.substr(0,t.length)==t}function endsWith(e,t){return e.substr(e.length-t.length,t.length)==t}function iso8601(e){if(typeof e=="number")e=new Date(e);n.ok(e.constructor===Date);return r.sprintf("%4d-%02d-%02dT%02d:%02d:%02d.%03dZ",e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}var u=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var l=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];function rfc1123(e){return r.sprintf("%s, %02d %s %04d %02d:%02d:%02d GMT",l[e.getUTCDay()],e.getUTCDate(),u[e.getUTCMonth()],e.getUTCFullYear(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())}function parseDateTime(e){var t=+e;if(!isNaN(t)){return new Date(t)}else{return new Date(e)}}var c=Number.MAX_SAFE_INTEGER||9007199254740991;var d=Number.MIN_SAFE_INTEGER||-9007199254740991;var p={base:10,allowSign:true,allowPrefix:false,allowTrailing:false,allowImprecise:false,trimWhitespace:false,leadingZeroIsOctal:false};var f=48;var h=57;var m=65;var b=66;var g=79;var y=84;var S=88;var w=90;var v=97;var z=98;var j=111;var O=116;var k=120;var C=122;var T=48;var R=55;var E=87;function parseInteger(e,t){n.string(e,"str");n.optionalObject(t,"options");var i=false;var a=p;if(t){i=hasKey(t,"base");a=mergeObjects(a,t);n.number(a.base,"options.base");n.ok(a.base>=2,"options.base >= 2");n.ok(a.base<=36,"options.base <= 36");n.bool(a.allowSign,"options.allowSign");n.bool(a.allowPrefix,"options.allowPrefix");n.bool(a.allowTrailing,"options.allowTrailing");n.bool(a.allowImprecise,"options.allowImprecise");n.bool(a.trimWhitespace,"options.trimWhitespace");n.bool(a.leadingZeroIsOctal,"options.leadingZeroIsOctal");if(a.leadingZeroIsOctal){n.ok(!i,'"base" and "leadingZeroIsOctal" are '+"mutually exclusive")}}var r;var s=-1;var o=a.base;var u;var l=1;var f=0;var h=0;var m=e.length;if(a.trimWhitespace){while(h<m&&isSpace(e.charCodeAt(h))){++h}}if(a.allowSign){if(e[h]==="-"){h+=1;l=-1}else if(e[h]==="+"){h+=1}}if(e[h]==="0"){if(a.allowPrefix){s=prefixToBase(e.charCodeAt(h+1));if(s!==-1&&(!i||s===o)){o=s;h+=2}}if(s===-1&&a.leadingZeroIsOctal){o=8}}for(u=h;h<m;++h){r=translateDigit(e.charCodeAt(h));if(r!==-1&&r<o){f*=o;f+=r}else{break}}if(u===h){return new Error("invalid number: "+JSON.stringify(e))}if(a.trimWhitespace){while(h<m&&isSpace(e.charCodeAt(h))){++h}}if(h<m&&!a.allowTrailing){return new Error("trailing characters after number: "+JSON.stringify(e.slice(h)))}if(f===0){return 0}var b=f*l;if(!a.allowImprecise&&(f>c||b<d)){return new Error("number is outside of the supported range: "+JSON.stringify(e.slice(u,h)))}return b}function translateDigit(e){if(e>=f&&e<=h){return e-T}else if(e>=m&&e<=w){return e-R}else if(e>=v&&e<=C){return e-E}else{return-1}}function isSpace(e){return e===32||e>=9&&e<=13||e===160||e===5760||e===6158||e>=8192&&e<=8202||e===8232||e===8233||e===8239||e===8287||e===12288||e===65279}function prefixToBase(e){if(e===z||e===b){return 2}else if(e===j||e===g){return 8}else if(e===O||e===y){return 10}else if(e===k||e===S){return 16}else{return-1}}function validateJsonObjectJS(e,t){var i=o.validate(t,e);if(i.errors.length===0)return null;var n=i.errors[0];var a=n["property"];var r=n["message"].toLowerCase();var u,l;if((u=r.indexOf("the property "))!=-1&&(l=r.indexOf(" is not defined in the schema and the "+"schema does not allow additional properties"))!=-1){u+="the property ".length;if(a==="")a=r.substr(u,l-u);else a=a+"."+r.substr(u,l-u);r="unsupported property"}var c=new s.VError('property "%s": %s',a,r);c.jsv_details=n;return c}function randElt(e){n.ok(Array.isArray(e)&&e.length>0,"randElt argument must be a non-empty array");return e[Math.floor(Math.random()*e.length)]}function assertHrtime(e){n.ok(e[0]>=0&&e[1]>=0,"negative numbers not allowed in hrtimes");n.ok(e[1]<1e9,"nanoseconds column overflow")}function hrtimeDiff(e,t){assertHrtime(e);assertHrtime(t);n.ok(e[0]>t[0]||e[0]==t[0]&&e[1]>=t[1],"negative differences not allowed");var i=[e[0]-t[0],0];if(e[1]>=t[1]){i[1]=e[1]-t[1]}else{i[0]--;i[1]=1e9-(t[1]-e[1])}return i}function hrtimeNanosec(e){assertHrtime(e);return Math.floor(e[0]*1e9+e[1])}function hrtimeMicrosec(e){assertHrtime(e);return Math.floor(e[0]*1e6+e[1]/1e3)}function hrtimeMillisec(e){assertHrtime(e);return Math.floor(e[0]*1e3+e[1]/1e6)}function hrtimeAccum(e,t){assertHrtime(e);assertHrtime(t);e[1]+=t[1];if(e[1]>=1e9){e[0]++;e[1]-=1e9}e[0]+=t[0];return e}function hrtimeAdd(e,t){assertHrtime(e);var i=[e[0],e[1]];return hrtimeAccum(i,t)}function extraProperties(e,t){n.ok(typeof e==="object"&&e!==null,"obj argument must be a non-null object");n.ok(Array.isArray(t),"allowed argument must be an array of strings");for(var i=0;i<t.length;i++){n.ok(typeof t[i]==="string","allowed argument must be an array of strings")}return Object.keys(e).filter(function(e){return t.indexOf(e)===-1})}function mergeObjects(e,t,i){var n,a;n={};if(i){for(a in i)n[a]=i[a]}if(e){for(a in e)n[a]=e[a]}if(t){for(a in t)n[a]=t[a]}return n}},function(e,t,i){"use strict";var n=i(627).Store;var a=i(383).permuteDomain;var r=i(54).pathMatch;var s=i(669);function MemoryCookieStore(){n.call(this);this.idx={}}s.inherits(MemoryCookieStore,n);t.MemoryCookieStore=MemoryCookieStore;MemoryCookieStore.prototype.idx=null;MemoryCookieStore.prototype.synchronous=true;MemoryCookieStore.prototype.inspect=function(){return"{ idx: "+s.inspect(this.idx,false,2)+" }"};if(s.inspect.custom){MemoryCookieStore.prototype[s.inspect.custom]=MemoryCookieStore.prototype.inspect}MemoryCookieStore.prototype.findCookie=function(e,t,i,n){if(!this.idx[e]){return n(null,undefined)}if(!this.idx[e][t]){return n(null,undefined)}return n(null,this.idx[e][t][i]||null)};MemoryCookieStore.prototype.findCookies=function(e,t,i){var n=[];if(!e){return i(null,[])}var s;if(!t){s=function matchAll(e){for(var t in e){var i=e[t];for(var a in i){n.push(i[a])}}}}else{s=function matchRFC(e){Object.keys(e).forEach(function(i){if(r(t,i)){var a=e[i];for(var s in a){n.push(a[s])}}})}}var o=a(e)||[e];var u=this.idx;o.forEach(function(e){var t=u[e];if(!t){return}s(t)});i(null,n)};MemoryCookieStore.prototype.putCookie=function(e,t){if(!this.idx[e.domain]){this.idx[e.domain]={}}if(!this.idx[e.domain][e.path]){this.idx[e.domain][e.path]={}}this.idx[e.domain][e.path][e.key]=e;t(null)};MemoryCookieStore.prototype.updateCookie=function(e,t,i){this.putCookie(t,i)};MemoryCookieStore.prototype.removeCookie=function(e,t,i,n){if(this.idx[e]&&this.idx[e][t]&&this.idx[e][t][i]){delete this.idx[e][t][i]}n(null)};MemoryCookieStore.prototype.removeCookies=function(e,t,i){if(this.idx[e]){if(t){delete this.idx[e][t]}else{delete this.idx[e]}}return i(null)};MemoryCookieStore.prototype.removeAllCookies=function(e){this.idx={};return e(null)};MemoryCookieStore.prototype.getAllCookies=function(e){var t=[];var i=this.idx;var n=Object.keys(i);n.forEach(function(e){var n=Object.keys(i[e]);n.forEach(function(n){var a=Object.keys(i[e][n]);a.forEach(function(a){if(a!==null){t.push(i[e][n][a])}})})});t.sort(function(e,t){return(e.creationIndex||0)-(t.creationIndex||0)});e(null,t)}},,,function(e,t,i){"use strict";var n;try{var a=require;n=a("esprima")}catch(e){if(typeof window!=="undefined")n=window.esprima}var r=i(945);function resolveJavascriptFunction(e){if(e===null)return false;try{var t="("+e+")",i=n.parse(t,{range:true});if(i.type!=="Program"||i.body.length!==1||i.body[0].type!=="ExpressionStatement"||i.body[0].expression.type!=="ArrowFunctionExpression"&&i.body[0].expression.type!=="FunctionExpression"){return false}return true}catch(e){return false}}function constructJavascriptFunction(e){var t="("+e+")",i=n.parse(t,{range:true}),a=[],r;if(i.type!=="Program"||i.body.length!==1||i.body[0].type!=="ExpressionStatement"||i.body[0].expression.type!=="ArrowFunctionExpression"&&i.body[0].expression.type!=="FunctionExpression"){throw new Error("Failed to resolve function")}i.body[0].expression.params.forEach(function(e){a.push(e.name)});r=i.body[0].expression.body.range;if(i.body[0].expression.body.type==="BlockStatement"){return new Function(a,t.slice(r[0]+1,r[1]-1))}return new Function(a,"return "+t.slice(r[0],r[1]))}function representJavascriptFunction(e){return e.toString()}function isFunction(e){return Object.prototype.toString.call(e)==="[object Function]"}e.exports=new r("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:resolveJavascriptFunction,construct:constructJavascriptFunction,predicate:isFunction,represent:representJavascriptFunction})},function(e){"use strict";function Queue(e){if(!(this instanceof Queue)){return new Queue(e)}e=e||{};this.concurrency=e.concurrency||Infinity;this.pending=0;this.jobs=[];this.cbs=[];this._done=done.bind(this)}var t=["push","unshift","splice"];t.forEach(function(e){Queue.prototype[e]=function(){var t=Array.prototype[e].apply(this.jobs,arguments);this._run();return t}});Object.defineProperty(Queue.prototype,"length",{get:function(){return this.pending+this.jobs.length}});Queue.prototype._run=function(){if(this.pending===this.concurrency){return}if(this.jobs.length){var e=this.jobs.shift();this.pending++;e(this._done);this._run()}if(this.pending===0){while(this.cbs.length!==0){var t=this.cbs.pop();process.nextTick(t)}}};Queue.prototype.onDone=function(e){if(typeof e==="function"){this.cbs.push(e);this._run()}};function done(){this.pending--;this._run()}e.exports=Queue},,function(e,t,i){const{timingSafeEqual:n}=i(373);const a=(e,t)=>{if(e.length===t){return e}const i=Buffer.alloc(t);e.copy(i);return i};const r=(e,t)=>{const i=Math.max(e.length,t.length);return n(a(e,i),a(t,i))};e.exports=r},,function(e){e.exports=require("assert")},function(e,t,i){const n=i(232);function defaults(e,t,...i){for(const a of i){if(!n(a)){continue}for(const[i,r]of Object.entries(a)){if(i==="__proto__"||i==="constructor"){continue}if(typeof t[i]==="undefined"&&typeof r!=="undefined"){t[i]=r}if(e&&n(t[i])&&n(r)){defaults(true,t[i],r)}}}return t}e.exports=defaults.bind(undefined,false);e.exports.deep=defaults.bind(undefined,true)},function(e,t,i){var n=i(622);var a=i(602);a.register("pwd",_pwd,{allowGlobbing:false});function _pwd(){var e=n.resolve(process.cwd());return e}e.exports=_pwd},,,function(e){e.exports={EOC:0,Boolean:1,Integer:2,BitString:3,OctetString:4,Null:5,OID:6,ObjectDescriptor:7,External:8,Real:9,Enumeration:10,PDV:11,Utf8String:12,RelativeOID:13,Sequence:16,Set:17,NumericString:18,PrintableString:19,T61String:20,VideotexString:21,IA5String:22,UTCTime:23,GeneralizedTime:24,GraphicString:25,VisibleString:26,GeneralString:28,UniversalString:29,CharacterString:30,BMPString:31,Constructor:32,Context:128}},function(e){e.exports=require("http")},,function(e,t,i){"use strict";const{Transform:n}=i(413);e.exports={download(e,t,i){let a=0;return new n({transform(e,n,r){a+=e.length;const s=i?a/i:0;if(s<1){t.emit("downloadProgress",{percent:s,transferred:a,total:i})}r(null,e)},flush(e){t.emit("downloadProgress",{percent:1,transferred:a,total:i});e()}})},upload(e,t,i){const n=150;let a=0;let r;t.emit("uploadProgress",{percent:0,transferred:0,total:i});e.once("error",()=>{clearInterval(r)});e.once("response",()=>{clearInterval(r);t.emit("uploadProgress",{percent:1,transferred:a,total:i})});e.once("socket",s=>{const o=()=>{r=setInterval(()=>{const n=a;const r=e._header?Buffer.byteLength(e._header):0;a=s.bytesWritten-r;if(a===n||a===i){return}t.emit("uploadProgress",{percent:i?a/i:0,transferred:a,total:i})},n)};if(s.connecting){s.once("connect",o)}else if(s.writable){o()}})}}},function(e){"use strict";var t=e.exports=function Cache(){this._cache={}};t.prototype.put=function Cache_put(e,t){this._cache[e]=t};t.prototype.get=function Cache_get(e){return this._cache[e]};t.prototype.del=function Cache_del(e){delete this._cache[e]};t.prototype.clear=function Cache_clear(){this._cache={}}},,function(e,t,i){const{createHash:n,randomBytes:a}=i(373);const{encode:r}=i(549);const s=(e=32)=>r(a(e));e.exports={random:s,state:s,nonce:s,codeVerifier:s,codeChallenge:e=>r(n("sha256").update(e).digest())}},function(e){"use strict";e.exports=function generate_dependencies(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="errs__"+a;var p=e.util.copy(e);var f="";p.level++;var h="valid"+p.level;var m={},b={},g=e.opts.ownProperties;for(v in s){if(v=="__proto__")continue;var y=s[v];var S=Array.isArray(y)?b:m;S[v]=y}n+="var "+d+" = errors;";var w=e.errorPath;n+="var missing"+a+";";for(var v in b){S=b[v];if(S.length){n+=" if ( "+c+e.util.getProperty(v)+" !== undefined ";if(g){n+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(v)+"') "}if(l){n+=" && ( ";var z=S;if(z){var j,O=-1,k=z.length-1;while(O<k){j=z[O+=1];if(O){n+=" || "}var C=e.util.getProperty(j),T=c+C;n+=" ( ( "+T+" === undefined ";if(g){n+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(j)+"') "}n+=") && (missing"+a+" = "+e.util.toQuotedString(e.opts.jsonPointers?j:C)+") ) "}}n+=")) { ";var R="missing"+a,E="' + "+R+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(w,R,true):w+" + "+R}var A=A||[];A.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"dependencies"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { property: '"+e.util.escapeQuotes(v)+"', missingProperty: '"+E+"', depsCount: "+S.length+", deps: '"+e.util.escapeQuotes(S.length==1?S[0]:S.join(", "))+"' } ";if(e.opts.messages!==false){n+=" , message: 'should have ";if(S.length==1){n+="property "+e.util.escapeQuotes(S[0])}else{n+="properties "+e.util.escapeQuotes(S.join(", "))}n+=" when property "+e.util.escapeQuotes(v)+" is present' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}var x=n;n=A.pop();if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(["+x+"]); "}else{n+=" validate.errors = ["+x+"]; return false; "}}else{n+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{n+=" ) { ";var N=S;if(N){var j,V=-1,P=N.length-1;while(V<P){j=N[V+=1];var C=e.util.getProperty(j),E=e.util.escapeQuotes(j),T=c+C;if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPath(w,j,e.opts.jsonPointers)}n+=" if ( "+T+" === undefined ";if(g){n+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(j)+"') "}n+=") { var err = ";if(e.createErrors!==false){n+=" { keyword: '"+"dependencies"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { property: '"+e.util.escapeQuotes(v)+"', missingProperty: '"+E+"', depsCount: "+S.length+", deps: '"+e.util.escapeQuotes(S.length==1?S[0]:S.join(", "))+"' } ";if(e.opts.messages!==false){n+=" , message: 'should have ";if(S.length==1){n+="property "+e.util.escapeQuotes(S[0])}else{n+="properties "+e.util.escapeQuotes(S.join(", "))}n+=" when property "+e.util.escapeQuotes(v)+" is present' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}}n+=" } ";if(l){f+="}";n+=" else { "}}}e.errorPath=w;var D=p.baseId;for(var v in m){var y=m[v];if(e.opts.strictKeywords?typeof y=="object"&&Object.keys(y).length>0:e.util.schemaHasRules(y,e.RULES.all)){n+=" "+h+" = true; if ( "+c+e.util.getProperty(v)+" !== undefined ";if(g){n+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(v)+"') "}n+=") { ";p.schema=y;p.schemaPath=o+e.util.getProperty(v);p.errSchemaPath=u+"/"+e.util.escapeFragment(v);n+=" "+e.validate(p)+" ";p.baseId=D;n+=" } ";if(l){n+=" if ("+h+") { ";f+="}"}}}if(l){n+=" "+f+" if ("+d+" == errors) {"}return n}},,,function(e,t,i){const{inflateRawSync:n}=i(903);const a=i(208);const r=i(322);const{KeyStore:s}=i(851);const o=i(466);const{check:u,decrypt:l,keyManagementDecrypt:c}=i(179);const d=i(715);const{createSecretKey:p}=i(40);const f=i(201);const h=i(17);const{detect:m}=i(975);const b=new Set(["compact","flattened"]);const g=(e={},t={},i={})=>{if(typeof e==="string"){e=a.JSON.decode(e)}const n=e.p2s||t.p2s||i.p2s;const r=e.apu||t.apu||i.apu;const s=e.apv||t.apv||i.apv;const o=e.iv||t.iv||i.iv;const u=e.tag||t.tag||i.tag;return{...e,...t,...i,...typeof n==="string"?{p2s:a.decodeToBuffer(n)}:undefined,...typeof r==="string"?{apu:a.decodeToBuffer(r)}:undefined,...typeof s==="string"?{apv:a.decodeToBuffer(s)}:undefined,...typeof o==="string"?{iv:a.decodeToBuffer(o)}:undefined,...typeof u==="string"?{tag:a.decodeToBuffer(u)}:undefined}};const y=(e,t,i,S,{crit:w=[],complete:v=false,algorithms:z}={})=>{S=r(S,true);if(z!==undefined&&(!Array.isArray(z)||z.some(e=>typeof e!=="string"||!e))){throw new TypeError('"algorithms" option must be an array of non-empty strings')}else if(z){z=new Set(z)}if(!Array.isArray(w)||w.some(e=>typeof e!=="string"||!e)){throw new TypeError('"crit" option must be an array of non-empty strings')}if(!t){t=m(i)}let j,O,k,C,T,R,E,A,x,N,V,P;if(t==="general"&&i.recipients.length===1){t="flattened";const{recipients:e,...n}=i;i={...n,...e[0]}}if(b.has(t)){if(t==="compact"){[E,C,T,O,A]=i.split(".")}else{({protected:E,encrypted_key:C,iv:T,ciphertext:O,tag:A,unprotected:x,aad:V,header:P}=i)}if(!e){h(E,x,[{header:P}],true,w)}R=g(E,x,P);({alg:j,enc:k}=R);if(z&&!z.has(j==="dir"?k:j)){throw new o.JOSEAlgNotWhitelisted("alg not whitelisted")}if(S instanceof s){const e=S;let n;if(R.alg==="dir"){n=e.all({kid:R.kid,alg:R.enc,key_ops:["decrypt"]})}else{n=e.all({kid:R.kid,alg:R.alg,key_ops:["unwrapKey"]})}switch(n.length){case 0:throw new o.JWKSNoMatchingKey;case 1:S=n[0];break;default:{const e=[];for(const a of n){try{return y(true,t,i,a,{crit:w,complete:v,algorithms:z?[...z]:undefined})}catch(t){e.push(t);continue}}const a=new o.JOSEMultiError(e);if([...a].some(e=>e instanceof o.JWEDecryptionFailed)){throw new o.JWEDecryptionFailed}throw a}}}u(S,...j==="dir"?["decrypt",k]:["keyManagementDecrypt",j]);try{if(j==="dir"){N=d.asKey(S,{alg:k,use:"enc"})}else if(j==="ECDH-ES"){const e=c(j,S,undefined,R);N=d.asKey(p(e),{alg:k,use:"enc"})}else{const e=c(j,S,a.decodeToBuffer(C),R);N=d.asKey(p(e),{alg:k,use:"enc"})}}catch(e){N=f(k)}let r;if(V){r=Buffer.concat([Buffer.from(E||""),Buffer.from("."),Buffer.from(V)])}else{r=Buffer.from(E||"")}try{T=a.decodeToBuffer(T)}catch(e){}try{A=a.decodeToBuffer(A)}catch(e){}let m=l(k,N,a.decodeToBuffer(O),{iv:T,tag:A,aad:r});if(R.zip){m=n(m)}if(v){const e={cleartext:m,key:S,cek:N};if(V)e.aad=V;if(P)e.header=P;if(x)e.unprotected=x;if(E)e.protected=a.JSON.decode(E);return e}return m}h(i.protected,i.unprotected,i.recipients.map(({header:e})=>({header:e})),true,w);const{recipients:D,...I}=i;const _=[];for(const e of D){try{return y(true,"flattened",{...I,...e},S,{crit:w,complete:v,algorithms:z?[...z]:undefined})}catch(e){_.push(e);continue}}const q=new o.JOSEMultiError(_);if([...q].some(e=>e instanceof o.JWEDecryptionFailed)){throw new o.JWEDecryptionFailed}else if([...q].every(e=>e instanceof o.JWKSNoMatchingKey)){throw new o.JWKSNoMatchingKey}throw q};e.exports=y.bind(undefined,false,undefined)},function(e){e.exports=require("crypto")},function(e){"use strict";var t=Object.prototype.hasOwnProperty;var i=Object.prototype.toString;var n=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var r=function isArray(e){if(typeof Array.isArray==="function"){return Array.isArray(e)}return i.call(e)==="[object Array]"};var s=function isPlainObject(e){if(!e||i.call(e)!=="[object Object]"){return false}var n=t.call(e,"constructor");var a=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!a){return false}var r;for(r in e){}return typeof r==="undefined"||t.call(e,r)};var o=function setProperty(e,t){if(n&&t.name==="__proto__"){n(e,t.name,{enumerable:true,configurable:true,value:t.newValue,writable:true})}else{e[t.name]=t.newValue}};var u=function getProperty(e,i){if(i==="__proto__"){if(!t.call(e,i)){return void 0}else if(a){return a(e,i).value}}return e[i]};e.exports=function extend(){var e,t,i,n,a,l;var c=arguments[0];var d=1;var p=arguments.length;var f=false;if(typeof c==="boolean"){f=c;c=arguments[1]||{};d=2}if(c==null||typeof c!=="object"&&typeof c!=="function"){c={}}for(;d<p;++d){e=arguments[d];if(e!=null){for(t in e){i=u(c,t);n=u(e,t);if(c!==n){if(f&&n&&(s(n)||(a=r(n)))){if(a){a=false;l=i&&r(i)?i:[]}else{l=i&&s(i)?i:{}}o(c,{name:t,newValue:extend(f,l,n)})}else if(typeof n!=="undefined"){o(c,{name:t,newValue:n})}}}}}return c}},function(e,t,i){"use strict";const{PassThrough:n}=i(413);e.exports=(e=>{e={...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}const s=new n({objectMode:r});if(i){s.setEncoding(i)}let o=0;const u=[];s.on("data",e=>{u.push(e);if(r){o=u.length}else{o+=e.length}});s.getBufferedValue=(()=>{if(t){return u}return a?Buffer.concat(u,o):u.join("")});s.getBufferedLength=(()=>o);return s})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(262);const a=i(878);class DefaultRequest{webRequest(e,t){return a(e,t)}}t.DefaultRequest=DefaultRequest;class Watch{constructor(e,t){this.config=e;if(t){this.requestImpl=t}else{this.requestImpl=new DefaultRequest}}watch(e,t,i,a){const r=this.config.getCurrentCluster();if(!r){throw new Error("No currently active cluster")}const s=r.server+e;t.watch=true;const o={};const u={method:"GET",qs:t,headers:o,uri:s,useQuerystring:true,json:true};this.config.applyToRequest(u);const l=new n;l.on("data",e=>i(e.type,e.object));const c=this.requestImpl.webRequest(u,(e,t,i)=>{if(e){a(e)}else{a(null)}});c.pipe(l);return c}}t.Watch=Watch},,function(e,t,i){e.exports=Identity;var n=i(872);var a=i(98);var r=i(373);var s=i(400);var o=i(575);var u=i(753);var l=i(669);var c=i(270);var d=i(325);var p=i(215).Buffer;var f=/^([*]|[a-z0-9][a-z0-9\-]{0,62})(?:\.([*]|[a-z0-9][a-z0-9\-]{0,62}))*$/i;var h={};h.cn="2.5.4.3";h.o="2.5.4.10";h.ou="2.5.4.11";h.l="2.5.4.7";h.s="2.5.4.8";h.c="2.5.4.6";h.sn="2.5.4.4";h.postalCode="2.5.4.17";h.serialNumber="2.5.4.5";h.street="2.5.4.9";h.x500UniqueIdentifier="2.5.4.45";h.role="2.5.4.72";h.telephoneNumber="2.5.4.20";h.description="2.5.4.13";h.dc="0.9.2342.19200300.100.1.25";h.uid="0.9.2342.19200300.100.1.1";h.mail="0.9.2342.19200300.100.1.3";h.title="2.5.4.12";h.gn="2.5.4.42";h.initials="2.5.4.43";h.pseudonym="2.5.4.65";h.emailAddress="1.2.840.113549.1.9.1";var m={};Object.keys(h).forEach(function(e){m[h[e]]=e});function Identity(e){var t=this;n.object(e,"options");n.arrayOfObject(e.components,"options.components");this.components=e.components;this.componentLookup={};this.components.forEach(function(e){if(e.name&&!e.oid)e.oid=h[e.name];if(e.oid&&!e.name)e.name=m[e.oid];if(t.componentLookup[e.name]===undefined)t.componentLookup[e.name]=[];t.componentLookup[e.name].push(e)});if(this.componentLookup.cn&&this.componentLookup.cn.length>0){this.cn=this.componentLookup.cn[0].value}n.optionalString(e.type,"options.type");if(e.type===undefined){if(this.components.length===1&&this.componentLookup.cn&&this.componentLookup.cn.length===1&&this.componentLookup.cn[0].value.match(f)){this.type="host";this.hostname=this.componentLookup.cn[0].value}else if(this.componentLookup.dc&&this.components.length===this.componentLookup.dc.length){this.type="host";this.hostname=this.componentLookup.dc.map(function(e){return e.value}).join(".")}else if(this.componentLookup.uid&&this.components.length===this.componentLookup.uid.length){this.type="user";this.uid=this.componentLookup.uid[0].value}else if(this.componentLookup.cn&&this.componentLookup.cn.length===1&&this.componentLookup.cn[0].value.match(f)){this.type="host";this.hostname=this.componentLookup.cn[0].value}else if(this.componentLookup.uid&&this.componentLookup.uid.length===1){this.type="user";this.uid=this.componentLookup.uid[0].value}else if(this.componentLookup.mail&&this.componentLookup.mail.length===1){this.type="email";this.email=this.componentLookup.mail[0].value}else if(this.componentLookup.cn&&this.componentLookup.cn.length===1){this.type="user";this.uid=this.componentLookup.cn[0].value}else{this.type="unknown"}}else{this.type=e.type;if(this.type==="host")this.hostname=e.hostname;else if(this.type==="user")this.uid=e.uid;else if(this.type==="email")this.email=e.email;else throw new Error("Unknown type "+this.type)}}Identity.prototype.toString=function(){return this.components.map(function(e){var t=e.name.toUpperCase();t=t.replace(/=/g,"\\=");var i=e.value;i=i.replace(/,/g,"\\,");return t+"="+i}).join(", ")};Identity.prototype.get=function(e,t){n.string(e,"name");var i=this.componentLookup[e];if(i===undefined||i.length===0)return undefined;if(!t&&i.length>1)throw new Error("Multiple values for attribute "+e);if(!t)return i[0].value;return i.map(function(e){return e.value})};Identity.prototype.toArray=function(e){return this.components.map(function(e){return{name:e.name,value:e.value}})};var b=/[^a-zA-Z0-9 '(),+.\/:=?-]/;var g=/[^\x00-\x7f]/;Identity.prototype.toAsn1=function(e,t){e.startSequence(t);this.components.forEach(function(t){e.startSequence(d.Ber.Constructor|d.Ber.Set);e.startSequence();e.writeOID(t.oid);if(t.asn1type===d.Ber.Utf8String||t.value.match(g)){var i=p.from(t.value,"utf8");e.writeBuffer(i,d.Ber.Utf8String)}else if(t.asn1type===d.Ber.IA5String||t.value.match(b)){e.writeString(t.value,d.Ber.IA5String)}else{var n=d.Ber.PrintableString;if(t.asn1type!==undefined)n=t.asn1type;e.writeString(t.value,n)}e.endSequence();e.endSequence()});e.endSequence()};function globMatch(e,t){if(e==="**"||t==="**")return true;var i=e.split(".");var n=t.split(".");if(i.length!==n.length)return false;for(var a=0;a<i.length;++a){if(i[a]==="*"||n[a]==="*")continue;if(i[a]!==n[a])return false}return true}Identity.prototype.equals=function(e){if(!Identity.isIdentity(e,[1,0]))return false;if(e.components.length!==this.components.length)return false;for(var t=0;t<this.components.length;++t){if(this.components[t].oid!==e.components[t].oid)return false;if(!globMatch(this.components[t].value,e.components[t].value)){return false}}return true};Identity.forHost=function(e){n.string(e,"hostname");return new Identity({type:"host",hostname:e,components:[{name:"cn",value:e}]})};Identity.forUser=function(e){n.string(e,"uid");return new Identity({type:"user",uid:e,components:[{name:"uid",value:e}]})};Identity.forEmail=function(e){n.string(e,"email");return new Identity({type:"email",email:e,components:[{name:"mail",value:e}]})};Identity.parseDN=function(e){n.string(e,"dn");var t=[""];var i=0;var a=e;while(a.length>0){var r;if((r=/^,/.exec(a))!==null){t[++i]="";a=a.slice(r[0].length)}else if((r=/^\\,/.exec(a))!==null){t[i]+=",";a=a.slice(r[0].length)}else if((r=/^\\./.exec(a))!==null){t[i]+=r[0];a=a.slice(r[0].length)}else if((r=/^[^\\,]+/.exec(a))!==null){t[i]+=r[0];a=a.slice(r[0].length)}else{throw new Error("Failed to parse DN")}}var s=t.map(function(e){e=e.trim();var t=e.indexOf("=");while(t>0&&e.charAt(t-1)==="\\")t=e.indexOf("=",t+1);if(t===-1){throw new Error("Failed to parse DN")}var i=e.slice(0,t).toLowerCase().replace(/\\=/g,"=");var n=e.slice(t+1);return{name:i,value:n}});return new Identity({components:s})};Identity.fromArray=function(e){n.arrayOfObject(e,"components");e.forEach(function(e){n.object(e,"component");n.string(e.name,"component.name");if(!p.isBuffer(e.value)&&!(typeof e.value==="string")){throw new Error("Invalid component value")}});return new Identity({components:e})};Identity.parseAsn1=function(e,t){var i=[];e.readSequence(t);var n=e.offset+e.length;while(e.offset<n){e.readSequence(d.Ber.Constructor|d.Ber.Set);var a=e.offset+e.length;e.readSequence();var r=e.readOID();var s=e.peek();var o;switch(s){case d.Ber.PrintableString:case d.Ber.IA5String:case d.Ber.OctetString:case d.Ber.T61String:o=e.readString(s);break;case d.Ber.Utf8String:o=e.readString(s,true);o=o.toString("utf8");break;case d.Ber.CharacterString:case d.Ber.BMPString:o=e.readString(s,true);o=o.toString("utf16le");break;default:throw new Error("Unknown asn1 type "+s)}i.push({oid:r,asn1type:s,value:o});e._offset=a}e._offset=n;return new Identity({components:i})};Identity.isIdentity=function(e,t){return c.isCompatible(e,Identity,t)};Identity.prototype._sshpkApiVersion=[1,0];Identity._oldVersionDetect=function(e){return[1,0]}},,function(e,t,i){var n=i(602);var a=i(747);var r=i(622);n.register("to",_to,{pipeOnly:true,wrapOutput:false});function _to(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.writeFileSync(t,this.stdout||this.toString(),"utf8");return this}catch(e){n.error("could not write to file (code "+e.code+"): "+t,{continue:true})}}e.exports=_to},,function(e,t,i){var n=i(413);function isStream(e){return e instanceof n.Stream}function isReadable(e){return isStream(e)&&typeof e._read=="function"&&typeof e._readableState=="object"}function isWritable(e){return isStream(e)&&typeof e._write=="function"&&typeof e._writableState=="object"}function isDuplex(e){return isReadable(e)&&isWritable(e)}e.exports=isStream;e.exports.isReadable=isReadable;e.exports.isWritable=isWritable;e.exports.isDuplex=isDuplex},function(e,t,i){"use strict";var n=i(519);function permuteDomain(e){var t=n.getPublicSuffix(e);if(!t){return null}if(t==e){return[e]}var i=e.slice(0,-(t.length+1));var a=i.split(".").reverse();var r=t;var s=[r];while(a.length){r=a.shift()+"."+r;s.push(r)}return s}t.permuteDomain=permuteDomain},,,function(e,t,i){"use strict";var n=i(945);function resolveJavascriptUndefined(){return true}function constructJavascriptUndefined(){return undefined}function representJavascriptUndefined(){return""}function isUndefined(e){return typeof e==="undefined"}e.exports=new n("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:resolveJavascriptUndefined,construct:constructJavascriptUndefined,predicate:isUndefined,represent:representJavascriptUndefined})},function(e,t,i){e.exports={JWE:i(978),JWK:i(715),JWKS:i(851),JWS:i(570),JWT:i(931),errors:i(466)}},,,,,,,,,function(e){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next){yield e.value}}}},function(e){"use strict";e.exports=function generate_multipleOf(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=e.opts.$data&&s&&s.$data,p;if(d){n+=" var schema"+a+" = "+e.util.getData(s.$data,r,e.dataPathArr)+"; ";p="schema"+a}else{p=s}if(!(d||typeof s=="number")){throw new Error(t+" must be number")}n+="var division"+a+";if (";if(d){n+=" "+p+" !== undefined && ( typeof "+p+" != 'number' || "}n+=" (division"+a+" = "+c+" / "+p+", ";if(e.opts.multipleOfPrecision){n+=" Math.abs(Math.round(division"+a+") - division"+a+") > 1e-"+e.opts.multipleOfPrecision+" "}else{n+=" division"+a+" !== parseInt(division"+a+") "}n+=" ) ";if(d){n+=" ) "}n+=" ) { ";var f=f||[];f.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { multipleOf: "+p+" } ";if(e.opts.messages!==false){n+=" , message: 'should be multiple of ";if(d){n+="' + "+p}else{n+=""+p+"'"}}if(e.opts.verbose){n+=" , schema: ";if(d){n+="validate.schema"+o}else{n+=""+s}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}var h=n;n=f.pop();if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(["+h+"]); "}else{n+=" validate.errors = ["+h+"]; return false; "}}else{n+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+="} ";if(l){n+=" else { "}return n}},,,function(e,t,i){e.exports=Fingerprint;var n=i(872);var a=i(215).Buffer;var r=i(98);var s=i(373);var o=i(753);var u=i(852);var l=i(502);var c=i(966);var d=i(270);var p=o.FingerprintFormatError;var f=o.InvalidAlgorithmError;function Fingerprint(e){n.object(e,"options");n.string(e.type,"options.type");n.buffer(e.hash,"options.hash");n.string(e.algorithm,"options.algorithm");this.algorithm=e.algorithm.toLowerCase();if(r.hashAlgs[this.algorithm]!==true)throw new f(this.algorithm);this.hash=e.hash;this.type=e.type;this.hashType=e.hashType}Fingerprint.prototype.toString=function(e){if(e===undefined){if(this.algorithm==="md5"||this.hashType==="spki")e="hex";else e="base64"}n.string(e);switch(e){case"hex":if(this.hashType==="spki")return this.hash.toString("hex");return addColons(this.hash.toString("hex"));case"base64":if(this.hashType==="spki")return this.hash.toString("base64");return sshBase64Format(this.algorithm,this.hash.toString("base64"));default:throw new p(undefined,e)}};Fingerprint.prototype.matches=function(e){n.object(e,"key or certificate");if(this.type==="key"&&this.hashType!=="ssh"){d.assertCompatible(e,u,[1,7],"key with spki");if(l.isPrivateKey(e)){d.assertCompatible(e,l,[1,6],"privatekey with spki support")}}else if(this.type==="key"){d.assertCompatible(e,u,[1,0],"key")}else{d.assertCompatible(e,c,[1,0],"certificate")}var t=e.hash(this.algorithm,this.hashType);var i=s.createHash(this.algorithm).update(t).digest("base64");if(this.hash2===undefined)this.hash2=s.createHash(this.algorithm).update(this.hash).digest("base64");return this.hash2===i};var h=/^[A-Za-z0-9+\/=]+$/;var m=/^[a-fA-F0-9]+$/;Fingerprint.parse=function(e,t){n.string(e,"fingerprint");var i,s,o;if(Array.isArray(t)){o=t;t={}}n.optionalObject(t,"options");if(t===undefined)t={};if(t.enAlgs!==undefined)o=t.enAlgs;if(t.algorithms!==undefined)o=t.algorithms;n.optionalArrayOfString(o,"algorithms");var u="ssh";if(t.hashType!==undefined)u=t.hashType;n.string(u,"options.hashType");var l=e.split(":");if(l.length==2){i=l[0].toLowerCase();if(!h.test(l[1]))throw new p(e);try{s=a.from(l[1],"base64")}catch(t){throw new p(e)}}else if(l.length>2){i="md5";if(l[0].toLowerCase()==="md5")l=l.slice(1);l=l.map(function(t){while(t.length<2)t="0"+t;if(t.length>2)throw new p(e);return t});l=l.join("");if(!m.test(l)||l.length%2!==0)throw new p(e);try{s=a.from(l,"hex")}catch(t){throw new p(e)}}else{if(m.test(e)){s=a.from(e,"hex")}else if(h.test(e)){s=a.from(e,"base64")}else{throw new p(e)}switch(s.length){case 32:i="sha256";break;case 16:i="md5";break;case 20:i="sha1";break;case 64:i="sha512";break;default:throw new p(e)}if(t.hashType===undefined)u="spki"}if(i===undefined)throw new p(e);if(r.hashAlgs[i]===undefined)throw new f(i);if(o!==undefined){o=o.map(function(e){return e.toLowerCase()});if(o.indexOf(i)===-1)throw new f(i)}return new Fingerprint({algorithm:i,hash:s,type:t.type||"key",hashType:u})};function addColons(e){return e.replace(/(.{2})(?=.)/g,"$1:")}function base64Strip(e){return e.replace(/=*$/,"")}function sshBase64Format(e,t){return e.toUpperCase()+":"+base64Strip(t)}Fingerprint.isFingerprint=function(e,t){return d.isCompatible(e,Fingerprint,t)};Fingerprint.prototype._sshpkApiVersion=[1,2];Fingerprint._oldVersionDetect=function(e){n.func(e.toString);n.func(e.matches);return[1,0]}},function(e,t,i){const n=i(255);e.exports=function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").explicit(0).optional().choice({namedCurve:this.objid(n)}),this.key("publicKey").explicit(1).optional().bitstr())}},function(e,t,i){e.exports=glob;var n=i(747);var a=i(302);var r=i(595);var s=r.Minimatch;var o=i(689);var u=i(614).EventEmitter;var l=i(622);var c=i(357);var d=i(681);var p=i(245);var f=i(856);var h=f.alphasort;var m=f.alphasorti;var b=f.setopts;var g=f.ownProp;var y=i(674);var S=i(669);var w=f.childrenIgnored;var v=f.isIgnored;var z=i(49);function glob(e,t,i){if(typeof t==="function")i=t,t={};if(!t)t={};if(t.sync){if(i)throw new TypeError("callback provided to sync glob");return p(e,t)}return new Glob(e,t,i)}glob.sync=p;var j=glob.GlobSync=p.GlobSync;glob.glob=glob;function extend(e,t){if(t===null||typeof t!=="object"){return e}var i=Object.keys(t);var n=i.length;while(n--){e[i[n]]=t[i[n]]}return e}glob.hasMagic=function(e,t){var i=extend({},t);i.noprocess=true;var n=new Glob(e,i);var a=n.minimatch.set;if(!e)return false;if(a.length>1)return true;for(var r=0;r<a[0].length;r++){if(typeof a[0][r]!=="string")return true}return false};glob.Glob=Glob;o(Glob,u);function Glob(e,t,i){if(typeof t==="function"){i=t;t=null}if(t&&t.sync){if(i)throw new TypeError("callback provided to sync glob");return new j(e,t)}if(!(this instanceof Glob))return new Glob(e,t,i);b(this,e,t);this._didRealPath=false;var n=this.minimatch.set.length;this.matches=new Array(n);if(typeof i==="function"){i=z(i);this.on("error",i);this.on("end",function(e){i(null,e)})}var a=this;this._processing=0;this._emitQueue=[];this._processQueue=[];this.paused=false;if(this.noprocess)return this;if(n===0)return done();var r=true;for(var s=0;s<n;s++){this._process(this.minimatch.set[s],s,false,done)}r=false;function done(){--a._processing;if(a._processing<=0){if(r){process.nextTick(function(){a._finish()})}else{a._finish()}}}}Glob.prototype._finish=function(){c(this instanceof Glob);if(this.aborted)return;if(this.realpath&&!this._didRealpath)return this._realpath();f.finish(this);this.emit("end",this.found)};Glob.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=true;var e=this.matches.length;if(e===0)return this._finish();var t=this;for(var i=0;i<this.matches.length;i++)this._realpathSet(i,next);function next(){if(--e===0)t._finish()}};Glob.prototype._realpathSet=function(e,t){var i=this.matches[e];if(!i)return t();var n=Object.keys(i);var r=this;var s=n.length;if(s===0)return t();var o=this.matches[e]=Object.create(null);n.forEach(function(i,n){i=r._makeAbs(i);a.realpath(i,r.realpathCache,function(n,a){if(!n)o[a]=true;else if(n.syscall==="stat")o[i]=true;else r.emit("error",n);if(--s===0){r.matches[e]=o;t()}})})};Glob.prototype._mark=function(e){return f.mark(this,e)};Glob.prototype._makeAbs=function(e){return f.makeAbs(this,e)};Glob.prototype.abort=function(){this.aborted=true;this.emit("abort")};Glob.prototype.pause=function(){if(!this.paused){this.paused=true;this.emit("pause")}};Glob.prototype.resume=function(){if(this.paused){this.emit("resume");this.paused=false;if(this._emitQueue.length){var e=this._emitQueue.slice(0);this._emitQueue.length=0;for(var t=0;t<e.length;t++){var i=e[t];this._emitMatch(i[0],i[1])}}if(this._processQueue.length){var n=this._processQueue.slice(0);this._processQueue.length=0;for(var t=0;t<n.length;t++){var a=n[t];this._processing--;this._process(a[0],a[1],a[2],a[3])}}}};Glob.prototype._process=function(e,t,i,n){c(this instanceof Glob);c(typeof n==="function");if(this.aborted)return;this._processing++;if(this.paused){this._processQueue.push([e,t,i,n]);return}var a=0;while(typeof e[a]==="string"){a++}var s;switch(a){case e.length:this._processSimple(e.join("/"),t,n);return;case 0:s=null;break;default:s=e.slice(0,a).join("/");break}var o=e.slice(a);var u;if(s===null)u=".";else if(d(s)||d(e.join("/"))){if(!s||!d(s))s="/"+s;u=s}else u=s;var l=this._makeAbs(u);if(w(this,u))return n();var p=o[0]===r.GLOBSTAR;if(p)this._processGlobStar(s,u,l,o,t,i,n);else this._processReaddir(s,u,l,o,t,i,n)};Glob.prototype._processReaddir=function(e,t,i,n,a,r,s){var o=this;this._readdir(i,r,function(u,l){return o._processReaddir2(e,t,i,n,a,r,l,s)})};Glob.prototype._processReaddir2=function(e,t,i,n,a,r,s,o){if(!s)return o();var u=n[0];var c=!!this.minimatch.negate;var d=u._glob;var p=this.dot||d.charAt(0)===".";var f=[];for(var h=0;h<s.length;h++){var m=s[h];if(m.charAt(0)!=="."||p){var b;if(c&&!e){b=!m.match(u)}else{b=m.match(u)}if(b)f.push(m)}}var g=f.length;if(g===0)return o();if(n.length===1&&!this.mark&&!this.stat){if(!this.matches[a])this.matches[a]=Object.create(null);for(var h=0;h<g;h++){var m=f[h];if(e){if(e!=="/")m=e+"/"+m;else m=e+m}if(m.charAt(0)==="/"&&!this.nomount){m=l.join(this.root,m)}this._emitMatch(a,m)}return o()}n.shift();for(var h=0;h<g;h++){var m=f[h];var y;if(e){if(e!=="/")m=e+"/"+m;else m=e+m}this._process([m].concat(n),a,r,o)}o()};Glob.prototype._emitMatch=function(e,t){if(this.aborted)return;if(v(this,t))return;if(this.paused){this._emitQueue.push([e,t]);return}var i=d(t)?t:this._makeAbs(t);if(this.mark)t=this._mark(t);if(this.absolute)t=i;if(this.matches[e][t])return;if(this.nodir){var n=this.cache[i];if(n==="DIR"||Array.isArray(n))return}this.matches[e][t]=true;var a=this.statCache[i];if(a)this.emit("stat",t,a);this.emit("match",t)};Glob.prototype._readdirInGlobStar=function(e,t){if(this.aborted)return;if(this.follow)return this._readdir(e,false,t);var i="lstat\0"+e;var a=this;var r=y(i,lstatcb_);if(r)n.lstat(e,r);function lstatcb_(i,n){if(i&&i.code==="ENOENT")return t();var r=n&&n.isSymbolicLink();a.symlinks[e]=r;if(!r&&n&&!n.isDirectory()){a.cache[e]="FILE";t()}else a._readdir(e,false,t)}};Glob.prototype._readdir=function(e,t,i){if(this.aborted)return;i=y("readdir\0"+e+"\0"+t,i);if(!i)return;if(t&&!g(this.symlinks,e))return this._readdirInGlobStar(e,i);if(g(this.cache,e)){var a=this.cache[e];if(!a||a==="FILE")return i();if(Array.isArray(a))return i(null,a)}var r=this;n.readdir(e,readdirCb(this,e,i))};function readdirCb(e,t,i){return function(n,a){if(n)e._readdirError(t,n,i);else e._readdirEntries(t,a,i)}}Glob.prototype._readdirEntries=function(e,t,i){if(this.aborted)return;if(!this.mark&&!this.stat){for(var n=0;n<t.length;n++){var a=t[n];if(e==="/")a=e+a;else a=e+"/"+a;this.cache[a]=true}}this.cache[e]=t;return i(null,t)};Glob.prototype._readdirError=function(e,t,i){if(this.aborted)return;switch(t.code){case"ENOTSUP":case"ENOTDIR":var n=this._makeAbs(e);this.cache[n]="FILE";if(n===this.cwdAbs){var a=new Error(t.code+" invalid cwd "+this.cwd);a.path=this.cwd;a.code=t.code;this.emit("error",a);this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=false;break;default:this.cache[this._makeAbs(e)]=false;if(this.strict){this.emit("error",t);this.abort()}if(!this.silent)console.error("glob error",t);break}return i()};Glob.prototype._processGlobStar=function(e,t,i,n,a,r,s){var o=this;this._readdir(i,r,function(u,l){o._processGlobStar2(e,t,i,n,a,r,l,s)})};Glob.prototype._processGlobStar2=function(e,t,i,n,a,r,s,o){if(!s)return o();var u=n.slice(1);var l=e?[e]:[];var c=l.concat(u);this._process(c,a,false,o);var d=this.symlinks[i];var p=s.length;if(d&&r)return o();for(var f=0;f<p;f++){var h=s[f];if(h.charAt(0)==="."&&!this.dot)continue;var m=l.concat(s[f],u);this._process(m,a,true,o);var b=l.concat(s[f],n);this._process(b,a,true,o)}o()};Glob.prototype._processSimple=function(e,t,i){var n=this;this._stat(e,function(a,r){n._processSimple2(e,t,a,r,i)})};Glob.prototype._processSimple2=function(e,t,i,n,a){if(!this.matches[t])this.matches[t]=Object.create(null);if(!n)return a();if(e&&d(e)&&!this.nomount){var r=/[\/\\]$/.test(e);if(e.charAt(0)==="/"){e=l.join(this.root,e)}else{e=l.resolve(this.root,e);if(r)e+="/"}}if(process.platform==="win32")e=e.replace(/\\/g,"/");this._emitMatch(t,e);a()};Glob.prototype._stat=function(e,t){var i=this._makeAbs(e);var a=e.slice(-1)==="/";if(e.length>this.maxLength)return t();if(!this.stat&&g(this.cache,i)){var r=this.cache[i];if(Array.isArray(r))r="DIR";if(!a||r==="DIR")return t(null,r);if(a&&r==="FILE")return t()}var s;var o=this.statCache[i];if(o!==undefined){if(o===false)return t(null,o);else{var u=o.isDirectory()?"DIR":"FILE";if(a&&u==="FILE")return t();else return t(null,u,o)}}var l=this;var c=y("stat\0"+i,lstatcb_);if(c)n.lstat(i,c);function lstatcb_(a,r){if(r&&r.isSymbolicLink()){return n.stat(i,function(n,a){if(n)l._stat2(e,i,null,r,t);else l._stat2(e,i,n,a,t)})}else{l._stat2(e,i,a,r,t)}}};Glob.prototype._stat2=function(e,t,i,n,a){if(i&&(i.code==="ENOENT"||i.code==="ENOTDIR")){this.statCache[t]=false;return a()}var r=e.slice(-1)==="/";this.statCache[t]=n;if(t.slice(-1)==="/"&&n&&!n.isDirectory())return a(null,false,n);var s=true;if(n)s=n.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||s;if(r&&s==="FILE")return a();return a(null,s,n)}},function(e,t,i){const n=i(232);function merge(e,...t){for(const i of t){if(!n(i)){continue}for(const[t,a]of Object.entries(i)){if(t==="__proto__"||t==="constructor"){continue}if(n(e[t])&&n(a)){e[t]=merge(e[t],a)}else if(typeof a!=="undefined"){e[t]=a}}}return e}e.exports=merge},,,,,function(e,t,i){const{createCipheriv:n,createDecipheriv:a,getCiphers:r}=i(373);const{KEYOBJECT:s}=i(771);const{JWEInvalid:o,JWEDecryptionFailed:u}=i(466);const{asInput:l}=i(40);const c=function(e,t,i){if(t.length!==12){throw new o("invalid iv")}if(arguments.length===3){if(i.length!==16){throw new o("invalid tag")}}};const d=(e,{[s]:t},i,{iv:a,aad:r=Buffer.alloc(0)})=>{const o=l(t,false);c(e,a);const u=n(`aes-${e}-gcm`,o,a,{authTagLength:16});u.setAAD(r);const d=Buffer.concat([u.update(i),u.final()]);const p=u.getAuthTag();return{ciphertext:d,tag:p}};const p=(e,{[s]:t},i,{iv:n,tag:r=Buffer.alloc(0),aad:o=Buffer.alloc(0)})=>{const d=l(t,false);c(e,n,r);try{const t=a(`aes-${e}-gcm`,d,n,{authTagLength:16});t.setAuthTag(r);t.setAAD(o);return Buffer.concat([t.update(i),t.final()])}catch(e){throw new u}};e.exports=((e,t)=>{["A128GCM","A192GCM","A256GCM"].forEach(i=>{const n=parseInt(i.substr(1,3),10);if(r().includes(`aes-${n}-gcm`)){e.encrypt.set(i,d.bind(undefined,n));e.decrypt.set(i,p.bind(undefined,n));t.oct.encrypt[i]=t.oct.decrypt[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.length===n)}})})},function(){},,,,function(e){e.exports=require("stream")},function(e,t,i){"use strict";var n=i(819);e.exports=n},,function(e,t,i){"use strict";var n=i(747);var a=i(191);var r=i(846);var s=i(374);function Har(e){this.request=e}Har.prototype.reducer=function(e,t){if(e[t.name]===undefined){e[t.name]=t.value;return e}var i=[e[t.name],t.value];e[t.name]=i;return e};Har.prototype.prep=function(e){e.queryObj={};e.headersObj={};e.postData.jsonObj=false;e.postData.paramsObj=false;if(e.queryString&&e.queryString.length){e.queryObj=e.queryString.reduce(this.reducer,{})}if(e.headers&&e.headers.length){e.headersObj=e.headers.reduceRight(function(e,t){e[t.name]=t.value;return e},{})}if(e.cookies&&e.cookies.length){var t=e.cookies.map(function(e){return e.name+"="+e.value});if(t.length){e.headersObj.cookie=t.join("; ")}}function some(t){return t.some(function(t){return e.postData.mimeType.indexOf(t)===0})}if(some(["multipart/mixed","multipart/related","multipart/form-data","multipart/alternative"])){e.postData.mimeType="multipart/form-data"}else if(some(["application/x-www-form-urlencoded"])){if(!e.postData.params){e.postData.text=""}else{e.postData.paramsObj=e.postData.params.reduce(this.reducer,{});e.postData.text=a.stringify(e.postData.paramsObj)}}else if(some(["text/json","text/x-json","application/json","application/x-json"])){e.postData.mimeType="application/json";if(e.postData.text){try{e.postData.jsonObj=JSON.parse(e.postData.text)}catch(t){this.request.debug(t);e.postData.mimeType="text/plain"}}}return e};Har.prototype.options=function(e){if(!e.har){return e}var t={};s(t,e.har);if(t.log&&t.log.entries){t=t.log.entries[0]}t.url=t.url||e.url||e.uri||e.baseUrl||"/";t.httpVersion=t.httpVersion||"HTTP/1.1";t.queryString=t.queryString||[];t.headers=t.headers||[];t.cookies=t.cookies||[];t.postData=t.postData||{};t.postData.mimeType=t.postData.mimeType||"application/octet-stream";t.bodySize=0;t.headersSize=0;t.postData.size=0;if(!r.request(t)){return e}var i=this.prep(t);if(i.url){e.url=i.url}if(i.method){e.method=i.method}if(Object.keys(i.queryObj).length){e.qs=i.queryObj}if(Object.keys(i.headersObj).length){e.headers=i.headersObj}function test(e){return i.postData.mimeType.indexOf(e)===0}if(test("application/x-www-form-urlencoded")){e.form=i.postData.paramsObj}else if(test("application/json")){if(i.postData.jsonObj){e.body=i.postData.jsonObj;e.json=true}}else if(test("multipart/form-data")){e.formData={};i.postData.params.forEach(function(t){var i={};if(!t.fileName&&!t.contentType){e.formData[t.name]=t.value;return}if(t.fileName&&!t.value){i.value=n.createReadStream(t.fileName)}else if(t.value){i.value=t.value}if(t.fileName){i.options={filename:t.fileName,contentType:t.contentType?t.contentType:null}}e.formData[t.name]=i})}else{if(i.postData.text){e.body=i.postData.text}}return e};t.Har=Har},function(e,t,i){"use strict";var n=i(128);var a=i(945);var r=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(e){if(e===null)return false;if(!r.test(e)||e[e.length-1]==="_"){return false}return true}function constructYamlFloat(e){var t,i,n,a;t=e.replace(/_/g,"").toLowerCase();i=t[0]==="-"?-1:1;a=[];if("+-".indexOf(t[0])>=0){t=t.slice(1)}if(t===".inf"){return i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(t===".nan"){return NaN}else if(t.indexOf(":")>=0){t.split(":").forEach(function(e){a.unshift(parseFloat(e,10))});t=0;n=1;a.forEach(function(e){t+=e*n;n*=60});return i*t}return i*parseFloat(t,10)}var s=/^[-+]?[0-9]+e/;function representYamlFloat(e,t){var i;if(isNaN(e)){switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===e){switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===e){switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(n.isNegativeZero(e)){return"-0.0"}i=e.toString(10);return s.test(i)?i.replace("e",".e"):i}function isFloat(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||n.isNegativeZero(e))}e.exports=new a("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},function(e,t,i){var n=i(622).relative;e.exports=depd;var a=process.cwd();function containsNamespace(e,t){var i=e.split(/[ ,]+/);var n=String(t).toLowerCase();for(var a=0;a<i.length;a++){var r=i[a];if(r&&(r==="*"||r.toLowerCase()===n)){return true}}return false}function convertDataDescriptorToAccessor(e,t,i){var n=Object.getOwnPropertyDescriptor(e,t);var a=n.value;n.get=function getter(){return a};if(n.writable){n.set=function setter(e){return a=e}}delete n.value;delete n.writable;Object.defineProperty(e,t,n);return n}function createArgumentsString(e){var t="";for(var i=0;i<e;i++){t+=", arg"+i}return t.substr(2)}function createStackString(e){var t=this.name+": "+this.namespace;if(this.message){t+=" deprecated "+this.message}for(var i=0;i<e.length;i++){t+="\n at "+e[i].toString()}return t}function depd(e){if(!e){throw new TypeError("argument namespace is required")}var t=getStack();var i=callSiteLocation(t[1]);var n=i[0];function deprecate(e){log.call(deprecate,e)}deprecate._file=n;deprecate._ignored=isignored(e);deprecate._namespace=e;deprecate._traced=istraced(e);deprecate._warned=Object.create(null);deprecate.function=wrapfunction;deprecate.property=wrapproperty;return deprecate}function eehaslisteners(e,t){var i=typeof e.listenerCount!=="function"?e.listeners(t).length:e.listenerCount(t);return i>0}function isignored(e){if(process.noDeprecation){return true}var t=process.env.NO_DEPRECATION||"";return containsNamespace(t,e)}function istraced(e){if(process.traceDeprecation){return true}var t=process.env.TRACE_DEPRECATION||"";return containsNamespace(t,e)}function log(e,t){var i=eehaslisteners(process,"deprecation");if(!i&&this._ignored){return}var n;var a;var r;var s;var o=0;var u=false;var l=getStack();var c=this._file;if(t){s=t;r=callSiteLocation(l[1]);r.name=s.name;c=r[0]}else{o=2;s=callSiteLocation(l[o]);r=s}for(;o<l.length;o++){n=callSiteLocation(l[o]);a=n[0];if(a===c){u=true}else if(a===this._file){c=this._file}else if(u){break}}var d=n?s.join(":")+"__"+n.join(":"):undefined;if(d!==undefined&&d in this._warned){return}this._warned[d]=true;var p=e;if(!p){p=r===s||!r.name?defaultMessage(s):defaultMessage(r)}if(i){var f=DeprecationError(this._namespace,p,l.slice(o));process.emit("deprecation",f);return}var h=process.stderr.isTTY?formatColor:formatPlain;var m=h.call(this,p,n,l.slice(o));process.stderr.write(m+"\n","utf8")}function callSiteLocation(e){var t=e.getFileName()||"<anonymous>";var i=e.getLineNumber();var n=e.getColumnNumber();if(e.isEval()){t=e.getEvalOrigin()+", "+t}var a=[t,i,n];a.callSite=e;a.name=e.getFunctionName();return a}function defaultMessage(e){var t=e.callSite;var i=e.name;if(!i){i="<anonymous@"+formatLocation(e)+">"}var n=t.getThis();var a=n&&t.getTypeName();if(a==="Object"){a=undefined}if(a==="Function"){a=n.name||a}return a&&t.getMethodName()?a+"."+i:i}function formatPlain(e,t,i){var n=(new Date).toUTCString();var a=n+" "+this._namespace+" deprecated "+e;if(this._traced){for(var r=0;r<i.length;r++){a+="\n at "+i[r].toString()}return a}if(t){a+=" at "+formatLocation(t)}return a}function formatColor(e,t,i){var n=""+this._namespace+""+" deprecated"+" "+e+"";if(this._traced){for(var a=0;a<i.length;a++){n+="\n at "+i[a].toString()+""}return n}if(t){n+=" "+formatLocation(t)+""}return n}function formatLocation(e){return n(a,e[0])+":"+e[1]+":"+e[2]}function getStack(){var e=Error.stackTraceLimit;var t={};var i=Error.prepareStackTrace;Error.prepareStackTrace=prepareObjectStackTrace;Error.stackTraceLimit=Math.max(10,e);Error.captureStackTrace(t);var n=t.stack.slice(1);Error.prepareStackTrace=i;Error.stackTraceLimit=e;return n}function prepareObjectStackTrace(e,t){return t}function wrapfunction(e,t){if(typeof e!=="function"){throw new TypeError("argument fn must be a function")}var i=createArgumentsString(e.length);var n=getStack();var a=callSiteLocation(n[1]);a.name=e.name;var r=new Function("fn","log","deprecate","message","site",'"use strict"\n'+"return function ("+i+") {"+"log.call(deprecate, message, site)\n"+"return fn.apply(this, arguments)\n"+"}")(e,log,this,t,a);return r}function wrapproperty(e,t,i){if(!e||typeof e!=="object"&&typeof e!=="function"){throw new TypeError("argument obj must be object")}var n=Object.getOwnPropertyDescriptor(e,t);if(!n){throw new TypeError("must call property on owner object")}if(!n.configurable){throw new TypeError("property must be configurable")}var a=this;var r=getStack();var s=callSiteLocation(r[1]);s.name=t;if("value"in n){n=convertDataDescriptorToAccessor(e,t,i)}var o=n.get;var u=n.set;if(typeof o==="function"){n.get=function getter(){log.call(a,i,s);return o.apply(this,arguments)}}if(typeof u==="function"){n.set=function setter(){log.call(a,i,s);return u.apply(this,arguments)}}Object.defineProperty(e,t,n)}function DeprecationError(e,t,i){var n=new Error;var a;Object.defineProperty(n,"constructor",{value:DeprecationError});Object.defineProperty(n,"message",{configurable:true,enumerable:false,value:t,writable:true});Object.defineProperty(n,"name",{enumerable:false,configurable:true,value:"DeprecationError",writable:true});Object.defineProperty(n,"namespace",{configurable:true,enumerable:false,value:e,writable:true});Object.defineProperty(n,"stack",{configurable:true,enumerable:false,get:function(){if(a!==undefined){return a}return a=createStackString.call(this,i)},set:function setter(e){a=e}});return n}},,,,function(e){var t;var i;var n;var a;var r;var s;var o;var u;var l;var c;var d;var p;var f;var h;var m;var b;var g;var y;var S;var w;var v;var z;var j;(function(t){var i=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],function(e){t(createExporter(i,createExporter(e)))})}else if(true&&typeof e.exports==="object"){t(createExporter(i,createExporter(e.exports)))}else{t(createExporter(i))}function createExporter(e,t){if(e!==i){if(typeof Object.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}return function(i,n){return e[i]=t?t(i,n):n}}})(function(e){var O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)if(t.hasOwnProperty(i))e[i]=t[i]};t=function(e,t){O(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)};i=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++){t=arguments[i];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]}return e};n=function(e,t){var i={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0)i[n]=e[n];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++){if(t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a]))i[n[a]]=e[n[a]]}return i};a=function(e,t,i,n){var a=arguments.length,r=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,i):n,s;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)if(s=e[o])r=(a<3?s(r):a>3?s(t,i,r):s(t,i))||r;return a>3&&r&&Object.defineProperty(t,i,r),r};r=function(e,t){return function(i,n){t(i,n,e)}};s=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)};o=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())})};u=function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,a,r,s;return s={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function verb(e){return function(t){return step([e,t])}}function step(s){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(r=s[0]&2?a["return"]:s[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,s[1])).done)return r;if(a=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;a=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(s[0]===6&&i.label<r[1]){i.label=r[1];r=s;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(s);break}if(r[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];a=0}finally{n=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};j=function(e,t,i,n){if(n===undefined)n=i;e[n]=t[i]};l=function(e,t){for(var i in e)if(i!=="default"&&!t.hasOwnProperty(i))t[i]=e[i]};c=function(e){var t=typeof Symbol==="function"&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&n>=e.length)e=void 0;return{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};d=function(e,t){var i=typeof Symbol==="function"&&e[Symbol.iterator];if(!i)return e;var n=i.call(e),a,r=[],s;try{while((t===void 0||t-- >0)&&!(a=n.next()).done)r.push(a.value)}catch(e){s={error:e}}finally{try{if(a&&!a.done&&(i=n["return"]))i.call(n)}finally{if(s)throw s.error}}return r};p=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(d(arguments[t]));return e};f=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;for(var n=Array(e),a=0,t=0;t<i;t++)for(var r=arguments[t],s=0,o=r.length;s<o;s++,a++)n[a]=r[s];return n};h=function(e){return this instanceof h?(this.v=e,this):new h(e)};m=function(e,t,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=i.apply(e,t||[]),a,r=[];return a={},verb("next"),verb("throw"),verb("return"),a[Symbol.asyncIterator]=function(){return this},a;function verb(e){if(n[e])a[e]=function(t){return new Promise(function(i,n){r.push([e,t,i,n])>1||resume(e,t)})}}function resume(e,t){try{step(n[e](t))}catch(e){settle(r[0][3],e)}}function step(e){e.value instanceof h?Promise.resolve(e.value.v).then(fulfill,reject):settle(r[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),r.shift(),r.length)resume(r[0][0],r[0][1])}};b=function(e){var t,i;return t={},verb("next"),verb("throw",function(e){throw e}),verb("return"),t[Symbol.iterator]=function(){return this},t;function verb(n,a){t[n]=e[n]?function(t){return(i=!i)?{value:h(e[n](t)),done:n==="return"}:a?a(t):t}:a}};g=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],i;return t?t.call(e):(e=typeof c==="function"?c(e):e[Symbol.iterator](),i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i);function verb(t){i[t]=e[t]&&function(i){return new Promise(function(n,a){i=e[t](i),settle(n,a,i.done,i.value)})}}function settle(e,t,i,n){Promise.resolve(n).then(function(t){e({value:t,done:i})},t)}};y=function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};S=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};w=function(e){return e&&e.__esModule?e:{default:e}};v=function(e,t){if(!t.has(e)){throw new TypeError("attempted to get private field on non-instance")}return t.get(e)};z=function(e,t,i){if(!t.has(e)){throw new TypeError("attempted to set private field on non-instance")}t.set(e,i);return i};e("__extends",t);e("__assign",i);e("__rest",n);e("__decorate",a);e("__param",r);e("__metadata",s);e("__awaiter",o);e("__generator",u);e("__exportStar",l);e("__createBinding",j);e("__values",c);e("__read",d);e("__spread",p);e("__spreadArrays",f);e("__await",h);e("__asyncGenerator",m);e("__asyncDelegator",b);e("__asyncValues",g);e("__makeTemplateObject",y);e("__importStar",S);e("__importDefault",w);e("__classPrivateFieldGet",v);e("__classPrivateFieldSet",z)})},,function(e,t,i){var n=i(157),a=i(147),r=i(939);e.exports=parallel;function parallel(e,t,i){var s=a(e);while(s.index<(s["keyedList"]||e).length){n(e,t,s,function(e,t){if(e){i(e,t);return}if(Object.keys(s.jobs).length===0){i(null,s.results);return}});s.index++}return r.bind(s,i)}},,,,function(e,t,i){var n=i(872);var a=i(373);var r=i(650);var s=i(909);var o=s.HASH_ALGOS;var u=s.PK_ALGOS;var l=s.InvalidAlgorithmError;var c=s.HttpSignatureError;var d=s.validateAlgorithm;e.exports={verifySignature:function verifySignature(e,t){n.object(e,"parsedSignature");if(typeof t==="string"||Buffer.isBuffer(t))t=r.parseKey(t);n.ok(r.Key.isKey(t,[1,1]),"pubkey must be a sshpk.Key");var i=d(e.algorithm);if(i[0]==="hmac"||i[0]!==t.type)return false;var a=t.createVerify(i[1]);a.update(e.signingString);return a.verify(e.params.signature,"base64")},verifyHMAC:function verifyHMAC(e,t){n.object(e,"parsedHMAC");n.string(t,"secret");var i=d(e.algorithm);if(i[0]!=="hmac")return false;var r=i[1].toUpperCase();var s=a.createHmac(r,t);s.update(e.signingString);var o=a.createHmac(r,t);o.update(s.digest());o=o.digest();var u=a.createHmac(r,t);u.update(new Buffer(e.params.signature,"base64"));u=u.digest();if(typeof o==="string")return o===u;if(Buffer.isBuffer(o)&&!o.equals)return o.toString("binary")===u.toString("binary");return o.equals(u)}}},,,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(87));const r=i(82);function issueCommand(e,t,i){const n=new Command(e,t,i);process.stdout.write(n.toString()+a.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const s="::";class Command{constructor(e,t,i){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=i}toString(){let e=s+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const i in this.properties){if(this.properties.hasOwnProperty(i)){const n=this.properties[i];if(n){if(t){t=false}else{e+=","}e+=`${i}=${escapeProperty(n)}`}}}}e+=`${s}${escapeData(this.message)}`;return e}}function escapeData(e){return r.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return r.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},function(e,t,i){const{improvedDH:n}=i(915);const{KEYLENGTHS:a}=i(962);const{generateSync:r}=i(626);const{name:s}=i(997);const o=i(68);const u=(e,t,{enc:i})=>{const n=r(e.kty,e.crv);const s=o(i,a.get(i),n,e);return{wrapped:s,header:{epk:{kty:e.kty,crv:e.crv,x:n.x,y:n.y}}}};const l=(e,t,i)=>{const{enc:n,epk:r}=i;return o(n,a.get(n),e,r,i)};e.exports=((e,t)=>{e.keyManagementEncrypt.set("ECDH-ES",u);e.keyManagementDecrypt.set("ECDH-ES",l);t.EC.deriveKey["ECDH-ES"]=(e=>(e.use==="enc"||e.use===undefined)&&e.crv!==s);if(n){t.OKP.deriveKey["ECDH-ES"]=(e=>(e.use==="enc"||e.use===undefined)&&e.keyObject.asymmetricKeyType.startsWith("x"))}})},function(e){"use strict";e.exports=["beforeError","init","beforeRequest","beforeRedirect","beforeRetry","afterResponse"]},function(e){"use strict";e.exports=function generate_uniqueItems(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}if((s||p)&&e.opts.uniqueItems!==false){if(p){n+=" var "+d+"; if ("+f+" === false || "+f+" === undefined) "+d+" = true; else if (typeof "+f+" != 'boolean') "+d+" = false; else { "}n+=" var i = "+c+".length , "+d+" = true , j; if (i > 1) { ";var h=e.schema.items&&e.schema.items.type,m=Array.isArray(h);if(!h||h=="object"||h=="array"||m&&(h.indexOf("object")>=0||h.indexOf("array")>=0)){n+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+c+"[i], "+c+"[j])) { "+d+" = false; break outer; } } } "}else{n+=" var itemIndices = {}, item; for (;i--;) { var item = "+c+"[i]; ";var b="checkDataType"+(m?"s":"");n+=" if ("+e.util[b](h,"item",e.opts.strictNumbers,true)+") continue; ";if(m){n+=" if (typeof item == 'string') item = '\"' + item; "}n+=" if (typeof itemIndices[item] == 'number') { "+d+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}n+=" } ";if(p){n+=" } "}n+=" if (!"+d+") { ";var g=g||[];g.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { i: i, j: j } ";if(e.opts.messages!==false){n+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(e.opts.verbose){n+=" , schema: ";if(p){n+="validate.schema"+o}else{n+=""+s}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}var y=n;n=g.pop();if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(["+y+"]); "}else{n+=" validate.errors = ["+y+"]; return false; "}}else{n+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } ";if(l){n+=" else { "}}else{if(l){n+=" if (true) { "}}return n}},function(e,t,i){"use strict";const n=i(534);e.exports=(e=>{const t={protocol:e.protocol,hostname:e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,hash:e.hash,search:e.search,pathname:e.pathname,href:e.href};if(n.string(e.port)&&e.port.length>0){t.port=Number(e.port)}if(e.username||e.password){t.auth=`${e.username}:${e.password}`}t.path=n.null(e.search)?e.pathname:`${e.pathname}${e.search}`;return t})},,,function(e){"use strict";e.exports=function generate_pattern(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=e.opts.$data&&s&&s.$data,p;if(d){n+=" var schema"+a+" = "+e.util.getData(s.$data,r,e.dataPathArr)+"; ";p="schema"+a}else{p=s}var f=d?"(new RegExp("+p+"))":e.usePattern(s);n+="if ( ";if(d){n+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "}n+=" !"+f+".test("+c+") ) { ";var h=h||[];h.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { pattern: ";if(d){n+=""+p}else{n+=""+e.util.toQuotedString(s)}n+=" } ";if(e.opts.messages!==false){n+=" , message: 'should match pattern \"";if(d){n+="' + "+p+" + '"}else{n+=""+e.util.escapeQuotes(s)}n+="\"' "}if(e.opts.verbose){n+=" , schema: ";if(d){n+="validate.schema"+o}else{n+=""+e.util.toQuotedString(s)}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}var m=n;n=h.pop();if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(["+m+"]); "}else{n+=" validate.errors = ["+m+"]; return false; "}}else{n+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+="} ";if(l){n+=" else { "}return n}},,function(e){"use strict";class Event{constructor(e,t){this.target=t;this.type=e}}class MessageEvent extends Event{constructor(e,t){super("message",t);this.data=e}}class CloseEvent extends Event{constructor(e,t,i){super("close",i);this.wasClean=i._closeFrameReceived&&i._closeFrameSent;this.reason=t;this.code=e}}class OpenEvent extends Event{constructor(e){super("open",e)}}class ErrorEvent extends Event{constructor(e,t){super("error",t);this.message=e.message;this.error=e}}const t={addEventListener(e,t,i){if(typeof t!=="function")return;function onMessage(e){t.call(this,new MessageEvent(e,this))}function onClose(e,i){t.call(this,new CloseEvent(e,i,this))}function onError(e){t.call(this,new ErrorEvent(e,this))}function onOpen(){t.call(this,new OpenEvent(this))}const n=i&&i.once?"once":"on";if(e==="message"){onMessage._listener=t;this[n](e,onMessage)}else if(e==="close"){onClose._listener=t;this[n](e,onClose)}else if(e==="error"){onError._listener=t;this[n](e,onError)}else if(e==="open"){onOpen._listener=t;this[n](e,onOpen)}else{this[n](e,t)}},removeEventListener(e,t){const i=this.listeners(e);for(let n=0;n<i.length;n++){if(i[n]===t||i[n]._listener===t){this.removeListener(e,i[n])}}}};e.exports=t},,,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(747);const a=i(891);function newClusters(e){return a.map(e,clusterIterator())}t.newClusters=newClusters;function clusterIterator(){return(e,t,i)=>{if(!e.name){throw new Error(`clusters[${t}].name is missing`)}if(!e.cluster){throw new Error(`clusters[${t}].cluster is missing`)}if(!e.cluster.server){throw new Error(`clusters[${t}].cluster.server is missing`)}return{caData:e.cluster["certificate-authority-data"],caFile:e.cluster["certificate-authority"],name:e.name,server:e.cluster.server,skipTLSVerify:e.cluster["insecure-skip-tls-verify"]===true}}}function newUsers(e){return a.map(e,userIterator())}t.newUsers=newUsers;function userIterator(){return(e,t,i)=>{if(!e.name){throw new Error(`users[${t}].name is missing`)}return{authProvider:e.user?e.user["auth-provider"]:null,certData:e.user?e.user["client-certificate-data"]:null,certFile:e.user?e.user["client-certificate"]:null,exec:e.user?e.user.exec:null,keyData:e.user?e.user["client-key-data"]:null,keyFile:e.user?e.user["client-key"]:null,name:e.name,token:findToken(e.user),password:e.user?e.user.password:null,username:e.user?e.user.username:null}}}function findToken(e){if(e){if(e.token){return e.token}if(e["token-file"]){return n.readFileSync(e["token-file"]).toString()}}}function newContexts(e){return a.map(e,contextIterator())}t.newContexts=newContexts;function contextIterator(){return(e,t,i)=>{if(!e.name){throw new Error(`contexts[${t}].name is missing`)}if(!e.context){throw new Error(`contexts[${t}].context is missing`)}if(!e.context.cluster){throw new Error(`contexts[${t}].context.cluster is missing`)}return{cluster:e.context.cluster,name:e.name,user:e.context.user||undefined,namespace:e.context.namespace||undefined}}}},,,,,function(e,t,i){e.exports={read:read,readPkcs1:readPkcs1,write:write,writePkcs1:writePkcs1};var n=i(872);var a=i(325);var r=i(215).Buffer;var s=i(98);var o=i(270);var u=i(852);var l=i(502);var c=i(268);var d=i(707);var p=d.readECDSACurve;function read(e,t){return c.read(e,t,"pkcs1")}function write(e,t){return c.write(e,t,"pkcs1")}function readMPInt(e,t){n.strictEqual(e.peek(),a.Ber.Integer,t+" is not an Integer");return o.mpNormalize(e.readString(a.Ber.Integer,true))}function readPkcs1(e,t,i){switch(e){case"RSA":if(t==="public")return readPkcs1RSAPublic(i);else if(t==="private")return readPkcs1RSAPrivate(i);throw new Error("Unknown key type: "+t);case"DSA":if(t==="public")return readPkcs1DSAPublic(i);else if(t==="private")return readPkcs1DSAPrivate(i);throw new Error("Unknown key type: "+t);case"EC":case"ECDSA":if(t==="private")return readPkcs1ECDSAPrivate(i);else if(t==="public")return readPkcs1ECDSAPublic(i);throw new Error("Unknown key type: "+t);case"EDDSA":case"EdDSA":if(t==="private")return readPkcs1EdDSAPrivate(i);throw new Error(t+" keys not supported with EdDSA");default:throw new Error("Unknown key algo: "+e)}}function readPkcs1RSAPublic(e){var t=readMPInt(e,"modulus");var i=readMPInt(e,"exponent");var n={type:"rsa",parts:[{name:"e",data:i},{name:"n",data:t}]};return new u(n)}function readPkcs1RSAPrivate(e){var t=readMPInt(e,"version");n.strictEqual(t[0],0);var i=readMPInt(e,"modulus");var a=readMPInt(e,"public exponent");var r=readMPInt(e,"private exponent");var s=readMPInt(e,"prime1");var o=readMPInt(e,"prime2");var u=readMPInt(e,"exponent1");var c=readMPInt(e,"exponent2");var d=readMPInt(e,"iqmp");var p={type:"rsa",parts:[{name:"n",data:i},{name:"e",data:a},{name:"d",data:r},{name:"iqmp",data:d},{name:"p",data:s},{name:"q",data:o},{name:"dmodp",data:u},{name:"dmodq",data:c}]};return new l(p)}function readPkcs1DSAPrivate(e){var t=readMPInt(e,"version");n.strictEqual(t.readUInt8(0),0);var i=readMPInt(e,"p");var a=readMPInt(e,"q");var r=readMPInt(e,"g");var s=readMPInt(e,"y");var o=readMPInt(e,"x");var u={type:"dsa",parts:[{name:"p",data:i},{name:"q",data:a},{name:"g",data:r},{name:"y",data:s},{name:"x",data:o}]};return new l(u)}function readPkcs1EdDSAPrivate(e){var t=readMPInt(e,"version");n.strictEqual(t.readUInt8(0),1);var i=e.readString(a.Ber.OctetString,true);e.readSequence(160);var r=e.readOID();n.strictEqual(r,"1.3.101.112","the ed25519 curve identifier");e.readSequence(161);var s=o.readBitString(e);var u={type:"ed25519",parts:[{name:"A",data:o.zeroPadToLength(s,32)},{name:"k",data:i}]};return new l(u)}function readPkcs1DSAPublic(e){var t=readMPInt(e,"y");var i=readMPInt(e,"p");var n=readMPInt(e,"q");var a=readMPInt(e,"g");var r={type:"dsa",parts:[{name:"y",data:t},{name:"p",data:i},{name:"q",data:n},{name:"g",data:a}]};return new u(r)}function readPkcs1ECDSAPublic(e){e.readSequence();var t=e.readOID();n.strictEqual(t,"1.2.840.10045.2.1","must be ecPublicKey");var i=e.readOID();var l;var c=Object.keys(s.curves);for(var d=0;d<c.length;++d){var p=c[d];var f=s.curves[p];if(f.pkcs8oid===i){l=p;break}}n.string(l,"a known ECDSA named curve");var h=e.readString(a.Ber.BitString,true);h=o.ecNormalize(h);var m={type:"ecdsa",parts:[{name:"curve",data:r.from(l)},{name:"Q",data:h}]};return new u(m)}function readPkcs1ECDSAPrivate(e){var t=readMPInt(e,"version");n.strictEqual(t.readUInt8(0),1);var i=e.readString(a.Ber.OctetString,true);e.readSequence(160);var s=p(e);n.string(s,"a known elliptic curve");e.readSequence(161);var u=e.readString(a.Ber.BitString,true);u=o.ecNormalize(u);var c={type:"ecdsa",parts:[{name:"curve",data:r.from(s)},{name:"Q",data:u},{name:"d",data:i}]};return new l(c)}function writePkcs1(e,t){e.startSequence();switch(t.type){case"rsa":if(l.isPrivateKey(t))writePkcs1RSAPrivate(e,t);else writePkcs1RSAPublic(e,t);break;case"dsa":if(l.isPrivateKey(t))writePkcs1DSAPrivate(e,t);else writePkcs1DSAPublic(e,t);break;case"ecdsa":if(l.isPrivateKey(t))writePkcs1ECDSAPrivate(e,t);else writePkcs1ECDSAPublic(e,t);break;case"ed25519":if(l.isPrivateKey(t))writePkcs1EdDSAPrivate(e,t);else writePkcs1EdDSAPublic(e,t);break;default:throw new Error("Unknown key algo: "+t.type)}e.endSequence()}function writePkcs1RSAPublic(e,t){e.writeBuffer(t.part.n.data,a.Ber.Integer);e.writeBuffer(t.part.e.data,a.Ber.Integer)}function writePkcs1RSAPrivate(e,t){var i=r.from([0]);e.writeBuffer(i,a.Ber.Integer);e.writeBuffer(t.part.n.data,a.Ber.Integer);e.writeBuffer(t.part.e.data,a.Ber.Integer);e.writeBuffer(t.part.d.data,a.Ber.Integer);e.writeBuffer(t.part.p.data,a.Ber.Integer);e.writeBuffer(t.part.q.data,a.Ber.Integer);if(!t.part.dmodp||!t.part.dmodq)o.addRSAMissing(t);e.writeBuffer(t.part.dmodp.data,a.Ber.Integer);e.writeBuffer(t.part.dmodq.data,a.Ber.Integer);e.writeBuffer(t.part.iqmp.data,a.Ber.Integer)}function writePkcs1DSAPrivate(e,t){var i=r.from([0]);e.writeBuffer(i,a.Ber.Integer);e.writeBuffer(t.part.p.data,a.Ber.Integer);e.writeBuffer(t.part.q.data,a.Ber.Integer);e.writeBuffer(t.part.g.data,a.Ber.Integer);e.writeBuffer(t.part.y.data,a.Ber.Integer);e.writeBuffer(t.part.x.data,a.Ber.Integer)}function writePkcs1DSAPublic(e,t){e.writeBuffer(t.part.y.data,a.Ber.Integer);e.writeBuffer(t.part.p.data,a.Ber.Integer);e.writeBuffer(t.part.q.data,a.Ber.Integer);e.writeBuffer(t.part.g.data,a.Ber.Integer)}function writePkcs1ECDSAPublic(e,t){e.startSequence();e.writeOID("1.2.840.10045.2.1");var i=t.part.curve.data.toString();var r=s.curves[i].pkcs8oid;n.string(r,"a known ECDSA named curve");e.writeOID(r);e.endSequence();var u=o.ecNormalize(t.part.Q.data,true);e.writeBuffer(u,a.Ber.BitString)}function writePkcs1ECDSAPrivate(e,t){var i=r.from([1]);e.writeBuffer(i,a.Ber.Integer);e.writeBuffer(t.part.d.data,a.Ber.OctetString);e.startSequence(160);var u=t.part.curve.data.toString();var l=s.curves[u].pkcs8oid;n.string(l,"a known ECDSA named curve");e.writeOID(l);e.endSequence();e.startSequence(161);var c=o.ecNormalize(t.part.Q.data,true);e.writeBuffer(c,a.Ber.BitString);e.endSequence()}function writePkcs1EdDSAPrivate(e,t){var i=r.from([1]);e.writeBuffer(i,a.Ber.Integer);e.writeBuffer(t.part.k.data,a.Ber.OctetString);e.startSequence(160);e.writeOID("1.3.101.112");e.endSequence();e.startSequence(161);o.writeBitString(e,t.part.A.data);e.endSequence()}function writePkcs1EdDSAPublic(e,t){throw new Error("Public keys are not supported for EdDSA PKCS#1")}},,,function(e,t,i){const{inherits:n}=i(669);function Reporter(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}Reporter.prototype.isError=function isError(e){return e instanceof ReporterError};Reporter.prototype.save=function save(){const e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}};Reporter.prototype.restore=function restore(e){const t=this._reporterState;t.obj=e.obj;t.path=t.path.slice(0,e.pathLen)};Reporter.prototype.enterKey=function enterKey(e){return this._reporterState.path.push(e)};Reporter.prototype.exitKey=function exitKey(e){const t=this._reporterState;t.path=t.path.slice(0,e-1)};Reporter.prototype.leaveKey=function leaveKey(e,t,i){const n=this._reporterState;this.exitKey(e);if(n.obj!==null){n.obj[t]=i}};Reporter.prototype.path=function path(){return this._reporterState.path.join("/")};Reporter.prototype.enterObject=function enterObject(){const e=this._reporterState;const t=e.obj;e.obj={};return t};Reporter.prototype.leaveObject=function leaveObject(e){const t=this._reporterState;const i=t.obj;t.obj=e;return i};Reporter.prototype.error=function error(e){let t;const i=this._reporterState;const n=e instanceof ReporterError;if(n){t=e}else{t=new ReporterError(i.path.map(function(e){return`[${JSON.stringify(e)}]`}).join(""),e.message||e,e.stack)}if(!i.options.partial){throw t}if(!n){i.errors.push(t)}return t};Reporter.prototype.wrapResult=function wrapResult(e){const t=this._reporterState;if(!t.options.partial){return e}return{result:this.isError(e)?null:e,errors:t.errors}};function ReporterError(e,t){this.path=e;this.rethrow(t)}n(ReporterError,Error);ReporterError.prototype.rethrow=function rethrow(e){this.message=`${e} at: ${this.path||"(shallow)"}`;if(Error.captureStackTrace){Error.captureStackTrace(this,ReporterError)}if(!this.stack){try{throw new Error(this.message)}catch(e){this.stack=e.stack}}return this};t.Reporter=Reporter},function(e,t,i){var n=i(49);var a=i(3);var r=i(747);var s=function(){};var o=/^v?\.0/.test(process.version);var u=function(e){return typeof e==="function"};var l=function(e){if(!o)return false;if(!r)return false;return(e instanceof(r.ReadStream||s)||e instanceof(r.WriteStream||s))&&u(e.close)};var c=function(e){return e.setHeader&&u(e.abort)};var d=function(e,t,i,r){r=n(r);var o=false;e.on("close",function(){o=true});a(e,{readable:t,writable:i},function(e){if(e)return r(e);o=true;r()});var d=false;return function(t){if(o)return;if(d)return;d=true;if(l(e))return e.close(s);if(c(e))return e.abort();if(u(e.destroy))return e.destroy();r(t||new Error("stream was destroyed"))}};var p=function(e){e()};var f=function(e,t){return e.pipe(t)};var h=function(){var e=Array.prototype.slice.call(arguments);var t=u(e[e.length-1]||s)&&e.pop()||s;if(Array.isArray(e[0]))e=e[0];if(e.length<2)throw new Error("pump requires two streams per minimum");var i;var n=e.map(function(a,r){var s=r<e.length-1;var o=r>0;return d(a,s,o,function(e){if(!i)i=e;if(e)n.forEach(p);if(s)return;n.forEach(p);t(i)})});return e.reduce(f)};e.exports=h},,function(e,t,i){"use strict";var n=i(363);var a=i(211);var r=i(835);var s=i(669);var o=i(413);var u=i(903);var l=i(942);var c=i(658);var d=i(789);var p=i(779);var f=i(254);var h=i(792);var m=i(172);var b=i(374);var g=i(382);var y=i(944).strict;var S=i(810);var w=i(35);var v=i(721);var z=i(902).Querystring;var j=i(416).Har;var O=i(220).Auth;var k=i(287).OAuth;var C=i(964);var T=i(469).Multipart;var R=i(552).Redirect;var E=i(461).Tunnel;var A=i(742);var x=i(727).Buffer;var N=S.safeStringify;var V=S.isReadStream;var P=S.toBase64;var D=S.defer;var I=S.copy;var _=S.version;var q=w.jar();var B={};function filterForNonReserved(e,t){var i={};for(var n in t){var a=e.indexOf(n)===-1;if(a){i[n]=t[n]}}return i}function filterOutReservedFunctions(e,t){var i={};for(var n in t){var a=!(e.indexOf(n)===-1);var r=typeof t[n]==="function";if(!(a&&r)){i[n]=t[n]}}return i}function requestToJSON(){var e=this;return{uri:e.uri,method:e.method,headers:e.headers}}function responseToJSON(){var e=this;return{statusCode:e.statusCode,body:e.body,headers:e.headers,request:requestToJSON.call(e.request)}}function Request(e){var t=this;if(e.har){t._har=new j(t);e=t._har.options(e)}o.Stream.call(t);var i=Object.keys(Request.prototype);var n=filterForNonReserved(i,e);b(t,n);e=filterOutReservedFunctions(i,e);t.readable=true;t.writable=true;if(e.method){t.explicitMethod=true}t._qs=new z(t);t._auth=new O(t);t._oauth=new k(t);t._multipart=new T(t);t._redirect=new R(t);t._tunnel=new E(t);t.init(e)}s.inherits(Request,o.Stream);Request.debug=process.env.NODE_DEBUG&&/\brequest\b/.test(process.env.NODE_DEBUG);function debug(){if(Request.debug){console.error("REQUEST %s",s.format.apply(s,arguments))}}Request.prototype.debug=debug;Request.prototype.init=function(e){var t=this;if(!e){e={}}t.headers=t.headers?I(t.headers):{};for(var i in t.headers){if(typeof t.headers[i]==="undefined"){delete t.headers[i]}}f.httpify(t,t.headers);if(!t.method){t.method=e.method||"GET"}if(!t.localAddress){t.localAddress=e.localAddress}t._qs.init(e);debug(e);if(!t.pool&&t.pool!==false){t.pool=B}t.dests=t.dests||[];t.__isRequestRequest=true;if(!t._callback&&t.callback){t._callback=t.callback;t.callback=function(){if(t._callbackCalled){return}t._callbackCalled=true;t._callback.apply(t,arguments)};t.on("error",t.callback.bind());t.on("complete",t.callback.bind(t,null))}if(!t.uri&&t.url){t.uri=t.url;delete t.url}if(t.baseUrl){if(typeof t.baseUrl!=="string"){return t.emit("error",new Error("options.baseUrl must be a string"))}if(typeof t.uri!=="string"){return t.emit("error",new Error("options.uri must be a string when using options.baseUrl"))}if(t.uri.indexOf("//")===0||t.uri.indexOf("://")!==-1){return t.emit("error",new Error("options.uri must be a path when using options.baseUrl"))}var s=t.baseUrl.lastIndexOf("/")===t.baseUrl.length-1;var o=t.uri.indexOf("/")===0;if(s&&o){t.uri=t.baseUrl+t.uri.slice(1)}else if(s||o){t.uri=t.baseUrl+t.uri}else if(t.uri===""){t.uri=t.baseUrl}else{t.uri=t.baseUrl+"/"+t.uri}delete t.baseUrl}if(!t.uri){return t.emit("error",new Error("options.uri is a required argument"))}if(typeof t.uri==="string"){t.uri=r.parse(t.uri)}if(!t.uri.href){t.uri.href=r.format(t.uri)}if(t.uri.protocol==="unix:"){return t.emit("error",new Error("`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`"))}if(t.uri.host==="unix"){t.enableUnixSocket()}if(t.strictSSL===false){t.rejectUnauthorized=false}if(!t.uri.pathname){t.uri.pathname="/"}if(!(t.uri.host||t.uri.hostname&&t.uri.port)&&!t.uri.isUnix){var u=r.format(t.uri);var l='Invalid URI "'+u+'"';if(Object.keys(e).length===0){l+=". This can be caused by a crappy redirection."}t.abort();return t.emit("error",new Error(l))}if(!t.hasOwnProperty("proxy")){t.proxy=v(t.uri)}t.tunnel=t._tunnel.isEnabled();if(t.proxy){t._tunnel.setup(e)}t._redirect.onRequest(e);t.setHost=false;if(!t.hasHeader("host")){var c=t.originalHostHeaderName||"host";t.setHeader(c,t.uri.host);if(t.uri.port){if(t.uri.port==="80"&&t.uri.protocol==="http:"||t.uri.port==="443"&&t.uri.protocol==="https:"){t.setHeader(c,t.uri.hostname)}}t.setHost=true}t.jar(t._jar||e.jar);if(!t.uri.port){if(t.uri.protocol==="http:"){t.uri.port=80}else if(t.uri.protocol==="https:"){t.uri.port=443}}if(t.proxy&&!t.tunnel){t.port=t.proxy.port;t.host=t.proxy.hostname}else{t.port=t.uri.port;t.host=t.uri.hostname}if(e.form){t.form(e.form)}if(e.formData){var d=e.formData;var m=t.form();var b=function(e,t){if(t&&t.hasOwnProperty("value")&&t.hasOwnProperty("options")){m.append(e,t.value,t.options)}else{m.append(e,t)}};for(var S in d){if(d.hasOwnProperty(S)){var w=d[S];if(w instanceof Array){for(var z=0;z<w.length;z++){b(S,w[z])}}else{b(S,w)}}}}if(e.qs){t.qs(e.qs)}if(t.uri.path){t.path=t.uri.path}else{t.path=t.uri.pathname+(t.uri.search||"")}if(t.path.length===0){t.path="/"}if(e.aws){t.aws(e.aws)}if(e.hawk){t.hawk(e.hawk)}if(e.httpSignature){t.httpSignature(e.httpSignature)}if(e.auth){if(Object.prototype.hasOwnProperty.call(e.auth,"username")){e.auth.user=e.auth.username}if(Object.prototype.hasOwnProperty.call(e.auth,"password")){e.auth.pass=e.auth.password}t.auth(e.auth.user,e.auth.pass,e.auth.sendImmediately,e.auth.bearer)}if(t.gzip&&!t.hasHeader("accept-encoding")){t.setHeader("accept-encoding","gzip, deflate")}if(t.uri.auth&&!t.hasHeader("authorization")){var j=t.uri.auth.split(":").map(function(e){return t._qs.unescape(e)});t.auth(j[0],j.slice(1).join(":"),true)}if(!t.tunnel&&t.proxy&&t.proxy.auth&&!t.hasHeader("proxy-authorization")){var O=t.proxy.auth.split(":").map(function(e){return t._qs.unescape(e)});var k="Basic "+P(O.join(":"));t.setHeader("proxy-authorization",k)}if(t.proxy&&!t.tunnel){t.path=t.uri.protocol+"//"+t.uri.host+t.path}if(e.json){t.json(e.json)}if(e.multipart){t.multipart(e.multipart)}if(e.time){t.timing=true;t.elapsedTime=t.elapsedTime||0}function setContentLength(){if(y(t.body)){t.body=x.from(t.body)}if(!t.hasHeader("content-length")){var e;if(typeof t.body==="string"){e=x.byteLength(t.body)}else if(Array.isArray(t.body)){e=t.body.reduce(function(e,t){return e+t.length},0)}else{e=t.body.length}if(e){t.setHeader("content-length",e)}else{t.emit("error",new Error("Argument error, options.body."))}}}if(t.body&&!g(t.body)){setContentLength()}if(e.oauth){t.oauth(e.oauth)}else if(t._oauth.params&&t.hasHeader("authorization")){t.oauth(t._oauth.params)}var C=t.proxy&&!t.tunnel?t.proxy.protocol:t.uri.protocol;var T={"http:":n,"https:":a};var R=t.httpModules||{};t.httpModule=R[C]||T[C];if(!t.httpModule){return t.emit("error",new Error("Invalid protocol: "+C))}if(e.ca){t.ca=e.ca}if(!t.agent){if(e.agentOptions){t.agentOptions=e.agentOptions}if(e.agentClass){t.agentClass=e.agentClass}else if(e.forever){var E=_();if(E.major===0&&E.minor<=10){t.agentClass=C==="http:"?h:h.SSL}else{t.agentClass=t.httpModule.Agent;t.agentOptions=t.agentOptions||{};t.agentOptions.keepAlive=true}}else{t.agentClass=t.httpModule.Agent}}if(t.pool===false){t.agent=false}else{t.agent=t.agent||t.getNewAgent()}t.on("pipe",function(e){if(t.ntick&&t._started){t.emit("error",new Error("You cannot pipe to this stream after the outbound request has started."))}t.src=e;if(V(e)){if(!t.hasHeader("content-type")){t.setHeader("content-type",p.lookup(e.path))}}else{if(e.headers){for(var i in e.headers){if(!t.hasHeader(i)){t.setHeader(i,e.headers[i])}}}if(t._json&&!t.hasHeader("content-type")){t.setHeader("content-type","application/json")}if(e.method&&!t.explicitMethod){t.method=e.method}}});D(function(){if(t._aborted){return}var e=function(){if(t._form){if(!t._auth.hasAuth){t._form.pipe(t)}else if(t._auth.hasAuth&&t._auth.sentAuth){t._form.pipe(t)}}if(t._multipart&&t._multipart.chunked){t._multipart.body.pipe(t)}if(t.body){if(g(t.body)){t.body.pipe(t)}else{setContentLength();if(Array.isArray(t.body)){t.body.forEach(function(e){t.write(e)})}else{t.write(t.body)}t.end()}}else if(t.requestBodyStream){console.warn("options.requestBodyStream is deprecated, please pass the request object to stream.pipe.");t.requestBodyStream.pipe(t)}else if(!t.src){if(t._auth.hasAuth&&!t._auth.sentAuth){t.end();return}if(t.method!=="GET"&&typeof t.method!=="undefined"){t.setHeader("content-length",0)}t.end()}};if(t._form&&!t.hasHeader("content-length")){t.setHeader(t._form.getHeaders(),true);t._form.getLength(function(i,n){if(!i&&!isNaN(n)){t.setHeader("content-length",n)}e()})}else{e()}t.ntick=true})};Request.prototype.getNewAgent=function(){var e=this;var t=e.agentClass;var i={};if(e.agentOptions){for(var n in e.agentOptions){i[n]=e.agentOptions[n]}}if(e.ca){i.ca=e.ca}if(e.ciphers){i.ciphers=e.ciphers}if(e.secureProtocol){i.secureProtocol=e.secureProtocol}if(e.secureOptions){i.secureOptions=e.secureOptions}if(typeof e.rejectUnauthorized!=="undefined"){i.rejectUnauthorized=e.rejectUnauthorized}if(e.cert&&e.key){i.key=e.key;i.cert=e.cert}if(e.pfx){i.pfx=e.pfx}if(e.passphrase){i.passphrase=e.passphrase}var a="";if(t!==e.httpModule.Agent){a+=t.name}var s=e.proxy;if(typeof s==="string"){s=r.parse(s)}var o=s&&s.protocol==="https:"||this.uri.protocol==="https:";if(o){if(i.ca){if(a){a+=":"}a+=i.ca}if(typeof i.rejectUnauthorized!=="undefined"){if(a){a+=":"}a+=i.rejectUnauthorized}if(i.cert){if(a){a+=":"}a+=i.cert.toString("ascii")+i.key.toString("ascii")}if(i.pfx){if(a){a+=":"}a+=i.pfx.toString("ascii")}if(i.ciphers){if(a){a+=":"}a+=i.ciphers}if(i.secureProtocol){if(a){a+=":"}a+=i.secureProtocol}if(i.secureOptions){if(a){a+=":"}a+=i.secureOptions}}if(e.pool===B&&!a&&Object.keys(i).length===0&&e.httpModule.globalAgent){return e.httpModule.globalAgent}a=e.uri.protocol+a;if(!e.pool[a]){e.pool[a]=new t(i);if(e.pool.maxSockets){e.pool[a].maxSockets=e.pool.maxSockets}}return e.pool[a]};Request.prototype.start=function(){var e=this;if(e.timing){var t=(new Date).getTime();var i=A()}if(e._aborted){return}e._started=true;e.method=e.method||"GET";e.href=e.uri.href;if(e.src&&e.src.stat&&e.src.stat.size&&!e.hasHeader("content-length")){e.setHeader("content-length",e.src.stat.size)}if(e._aws){e.aws(e._aws,true)}var n=I(e);delete n.auth;debug("make request",e.uri.href);delete n.timeout;try{e.req=e.httpModule.request(n)}catch(t){e.emit("error",t);return}if(e.timing){e.startTime=t;e.startTimeNow=i;e.timings={}}var a;if(e.timeout&&!e.timeoutTimer){if(e.timeout<0){a=0}else if(typeof e.timeout==="number"&&isFinite(e.timeout)){a=e.timeout}}e.req.on("response",e.onRequestResponse.bind(e));e.req.on("error",e.onRequestError.bind(e));e.req.on("drain",function(){e.emit("drain")});e.req.on("socket",function(t){var i=t._connecting||t.connecting;if(e.timing){e.timings.socket=A()-e.startTimeNow;if(i){var n=function(){e.timings.lookup=A()-e.startTimeNow};var r=function(){e.timings.connect=A()-e.startTimeNow};t.once("lookup",n);t.once("connect",r);e.req.once("error",function(){t.removeListener("lookup",n);t.removeListener("connect",r)})}}var s=function(){e.req.setTimeout(a,function(){if(e.req){e.abort();var t=new Error("ESOCKETTIMEDOUT");t.code="ESOCKETTIMEDOUT";t.connect=false;e.emit("error",t)}})};if(a!==undefined){if(i){var o=function(){t.removeListener("connect",o);e.clearTimeout();s()};t.on("connect",o);e.req.on("error",function(e){t.removeListener("connect",o)});e.timeoutTimer=setTimeout(function(){t.removeListener("connect",o);e.abort();var i=new Error("ETIMEDOUT");i.code="ETIMEDOUT";i.connect=true;e.emit("error",i)},a)}else{s()}}e.emit("socket",t)});e.emit("request",e.req)};Request.prototype.onRequestError=function(e){var t=this;if(t._aborted){return}if(t.req&&t.req._reusedSocket&&e.code==="ECONNRESET"&&t.agent.addRequestNoreuse){t.agent={addRequest:t.agent.addRequestNoreuse.bind(t.agent)};t.start();t.req.end();return}t.clearTimeout();t.emit("error",e)};Request.prototype.onRequestResponse=function(e){var t=this;if(t.timing){t.timings.response=A()-t.startTimeNow}debug("onRequestResponse",t.uri.href,e.statusCode,e.headers);e.on("end",function(){if(t.timing){t.timings.end=A()-t.startTimeNow;e.timingStart=t.startTime;if(!t.timings.socket){t.timings.socket=0}if(!t.timings.lookup){t.timings.lookup=t.timings.socket}if(!t.timings.connect){t.timings.connect=t.timings.lookup}if(!t.timings.response){t.timings.response=t.timings.connect}debug("elapsed time",t.timings.end);t.elapsedTime+=Math.round(t.timings.end);e.elapsedTime=t.elapsedTime;e.timings=t.timings;e.timingPhases={wait:t.timings.socket,dns:t.timings.lookup-t.timings.socket,tcp:t.timings.connect-t.timings.lookup,firstByte:t.timings.response-t.timings.connect,download:t.timings.end-t.timings.response,total:t.timings.end}}debug("response end",t.uri.href,e.statusCode,e.headers)});if(t._aborted){debug("aborted",t.uri.href);e.resume();return}t.response=e;e.request=t;e.toJSON=responseToJSON;if(t.httpModule===a&&t.strictSSL&&(!e.hasOwnProperty("socket")||!e.socket.authorized)){debug("strict ssl error",t.uri.href);var i=e.hasOwnProperty("socket")?e.socket.authorizationError:t.uri.href+" does not support SSL";t.emit("error",new Error("SSL Error: "+i));return}t.originalHost=t.getHeader("host");if(!t.originalHostHeaderName){t.originalHostHeaderName=t.hasHeader("host")}if(t.setHost){t.removeHeader("host")}t.clearTimeout();var n=t._jar&&t._jar.setCookie?t._jar:q;var r=function(e){try{n.setCookie(e,t.uri.href,{ignoreError:true})}catch(e){t.emit("error",e)}};e.caseless=f(e.headers);if(e.caseless.has("set-cookie")&&!t._disableCookies){var s=e.caseless.has("set-cookie");if(Array.isArray(e.headers[s])){e.headers[s].forEach(r)}else{r(e.headers[s])}}if(t._redirect.onResponse(e)){return}else{e.on("close",function(){if(!t._ended){t.response.emit("end")}});e.once("end",function(){t._ended=true});var o=function(e){return t.method==="HEAD"||e>=100&&e<200||e===204||e===304};var l;if(t.gzip&&!o(e.statusCode)){var c=e.headers["content-encoding"]||"identity";c=c.trim().toLowerCase();var d={flush:u.Z_SYNC_FLUSH,finishFlush:u.Z_SYNC_FLUSH};if(c==="gzip"){l=u.createGunzip(d);e.pipe(l)}else if(c==="deflate"){l=u.createInflate(d);e.pipe(l)}else{if(c!=="identity"){debug("ignoring unrecognized Content-Encoding "+c)}l=e}}else{l=e}if(t.encoding){if(t.dests.length!==0){console.error("Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid.")}else{l.setEncoding(t.encoding)}}if(t._paused){l.pause()}t.responseContent=l;t.emit("response",e);t.dests.forEach(function(e){t.pipeDest(e)});l.on("data",function(i){if(t.timing&&!t.responseStarted){t.responseStartTime=(new Date).getTime();e.responseStartTime=t.responseStartTime}t._destdata=true;t.emit("data",i)});l.once("end",function(e){t.emit("end",e)});l.on("error",function(e){t.emit("error",e)});l.on("close",function(){t.emit("close")});if(t.callback){t.readResponseBody(e)}else{t.on("end",function(){if(t._aborted){debug("aborted",t.uri.href);return}t.emit("complete",e)})}}debug("finish init function",t.uri.href)};Request.prototype.readResponseBody=function(e){var t=this;debug("reading response's body");var i=[];var n=0;var a=[];t.on("data",function(e){if(!x.isBuffer(e)){a.push(e)}else if(e.length){n+=e.length;i.push(e)}});t.on("end",function(){debug("end event",t.uri.href);if(t._aborted){debug("aborted",t.uri.href);i=[];n=0;return}if(n){debug("has body",t.uri.href,n);e.body=x.concat(i,n);if(t.encoding!==null){e.body=e.body.toString(t.encoding)}i=[];n=0}else if(a.length){if(t.encoding==="utf8"&&a[0].length>0&&a[0][0]==="\ufeff"){a[0]=a[0].substring(1)}e.body=a.join("")}if(t._json){try{e.body=JSON.parse(e.body,t._jsonReviver)}catch(e){debug("invalid JSON received",t.uri.href)}}debug("emitting complete",t.uri.href);if(typeof e.body==="undefined"&&!t._json){e.body=t.encoding===null?x.alloc(0):""}t.emit("complete",e,e.body)})};Request.prototype.abort=function(){var e=this;e._aborted=true;if(e.req){e.req.abort()}else if(e.response){e.response.destroy()}e.clearTimeout();e.emit("abort")};Request.prototype.pipeDest=function(e){var t=this;var i=t.response;if(e.headers&&!e.headersSent){if(i.caseless.has("content-type")){var n=i.caseless.has("content-type");if(e.setHeader){e.setHeader(n,i.headers[n])}else{e.headers[n]=i.headers[n]}}if(i.caseless.has("content-length")){var a=i.caseless.has("content-length");if(e.setHeader){e.setHeader(a,i.headers[a])}else{e.headers[a]=i.headers[a]}}}if(e.setHeader&&!e.headersSent){for(var r in i.headers){if(!t.gzip||r!=="content-encoding"){e.setHeader(r,i.headers[r])}}e.statusCode=i.statusCode}if(t.pipefilter){t.pipefilter(i,e)}};Request.prototype.qs=function(e,t){var i=this;var n;if(!t&&i.uri.query){n=i._qs.parse(i.uri.query)}else{n={}}for(var a in e){n[a]=e[a]}var s=i._qs.stringify(n);if(s===""){return i}i.uri=r.parse(i.uri.href.split("?")[0]+"?"+s);i.url=i.uri;i.path=i.uri.path;if(i.uri.host==="unix"){i.enableUnixSocket()}return i};Request.prototype.form=function(e){var t=this;if(e){if(!/^application\/x-www-form-urlencoded\b/.test(t.getHeader("content-type"))){t.setHeader("content-type","application/x-www-form-urlencoded")}t.body=typeof e==="string"?t._qs.rfc3986(e.toString("utf8")):t._qs.stringify(e).toString("utf8");return t}t._form=new m;t._form.on("error",function(e){e.message="form-data: "+e.message;t.emit("error",e);t.abort()});return t._form};Request.prototype.multipart=function(e){var t=this;t._multipart.onRequest(e);if(!t._multipart.chunked){t.body=t._multipart.body}return t};Request.prototype.json=function(e){var t=this;if(!t.hasHeader("accept")){t.setHeader("accept","application/json")}if(typeof t.jsonReplacer==="function"){t._jsonReplacer=t.jsonReplacer}t._json=true;if(typeof e==="boolean"){if(t.body!==undefined){if(!/^application\/x-www-form-urlencoded\b/.test(t.getHeader("content-type"))){t.body=N(t.body,t._jsonReplacer)}else{t.body=t._qs.rfc3986(t.body)}if(!t.hasHeader("content-type")){t.setHeader("content-type","application/json")}}}else{t.body=N(e,t._jsonReplacer);if(!t.hasHeader("content-type")){t.setHeader("content-type","application/json")}}if(typeof t.jsonReviver==="function"){t._jsonReviver=t.jsonReviver}return t};Request.prototype.getHeader=function(e,t){var i=this;var n,a,r;if(!t){t=i.headers}Object.keys(t).forEach(function(i){if(i.length!==e.length){return}a=new RegExp(e,"i");r=i.match(a);if(r){n=t[i]}});return n};Request.prototype.enableUnixSocket=function(){var e=this.uri.path.split(":");var t=e[0];var i=e[1];this.socketPath=t;this.uri.pathname=i;this.uri.path=i;this.uri.host=t;this.uri.hostname=t;this.uri.isUnix=true};Request.prototype.auth=function(e,t,i,n){var a=this;a._auth.onRequest(e,t,i,n);return a};Request.prototype.aws=function(e,t){var i=this;if(!t){i._aws=e;return i}if(e.sign_version===4||e.sign_version==="4"){var n={host:i.uri.host,path:i.uri.path,method:i.method,headers:i.headers,body:i.body};if(e.service){n.service=e.service}var a=c.sign(n,{accessKeyId:e.key,secretAccessKey:e.secret,sessionToken:e.session});i.setHeader("authorization",a.headers.Authorization);i.setHeader("x-amz-date",a.headers["X-Amz-Date"]);if(a.headers["X-Amz-Security-Token"]){i.setHeader("x-amz-security-token",a.headers["X-Amz-Security-Token"])}}else{var r=new Date;i.setHeader("date",r.toUTCString());var s={key:e.key,secret:e.secret,verb:i.method.toUpperCase(),date:r,contentType:i.getHeader("content-type")||"",md5:i.getHeader("content-md5")||"",amazonHeaders:l.canonicalizeHeaders(i.headers)};var o=i.uri.path;if(e.bucket&&o){s.resource="/"+e.bucket+o}else if(e.bucket&&!o){s.resource="/"+e.bucket}else if(!e.bucket&&o){s.resource=o}else if(!e.bucket&&!o){s.resource="/"}s.resource=l.canonicalizeResource(s.resource);i.setHeader("authorization",l.authorization(s))}return i};Request.prototype.httpSignature=function(e){var t=this;d.signRequest({getHeader:function(e){return t.getHeader(e,t.headers)},setHeader:function(e,i){t.setHeader(e,i)},method:t.method,path:t.path},e);debug("httpSignature authorization",t.getHeader("authorization"));return t};Request.prototype.hawk=function(e){var t=this;t.setHeader("Authorization",C.header(t.uri,t.method,e))};Request.prototype.oauth=function(e){var t=this;t._oauth.onRequest(e);return t};Request.prototype.jar=function(e){var t=this;var i;if(t._redirect.redirectsFollowed===0){t.originalCookieHeader=t.getHeader("cookie")}if(!e){i=false;t._disableCookies=true}else{var n=e.getCookieString?e:q;var a=t.uri.href;if(n){i=n.getCookieString(a)}}if(i&&i.length){if(t.originalCookieHeader){t.setHeader("cookie",t.originalCookieHeader+"; "+i)}else{t.setHeader("cookie",i)}}t._jar=e;return t};Request.prototype.pipe=function(e,t){var i=this;if(i.response){if(i._destdata){i.emit("error",new Error("You cannot pipe after data has been emitted from the response."))}else if(i._ended){i.emit("error",new Error("You cannot pipe after the response has been ended."))}else{o.Stream.prototype.pipe.call(i,e,t);i.pipeDest(e);return e}}else{i.dests.push(e);o.Stream.prototype.pipe.call(i,e,t);return e}};Request.prototype.write=function(){var e=this;if(e._aborted){return}if(!e._started){e.start()}if(e.req){return e.req.write.apply(e.req,arguments)}};Request.prototype.end=function(e){var t=this;if(t._aborted){return}if(e){t.write(e)}if(!t._started){t.start()}if(t.req){t.req.end()}};Request.prototype.pause=function(){var e=this;if(!e.responseContent){e._paused=true}else{e.responseContent.pause.apply(e.responseContent,arguments)}};Request.prototype.resume=function(){var e=this;if(!e.responseContent){e._paused=false}else{e.responseContent.resume.apply(e.responseContent,arguments)}};Request.prototype.destroy=function(){var e=this;this.clearTimeout();if(!e._ended){e.end()}else if(e.response){e.response.destroy()}};Request.prototype.clearTimeout=function(){if(this.timeoutTimer){clearTimeout(this.timeoutTimer);this.timeoutTimer=null}};Request.defaultProxyHeaderWhiteList=E.defaultProxyHeaderWhiteList.slice();Request.defaultProxyHeaderExclusiveList=E.defaultProxyHeaderExclusiveList.slice();Request.prototype.toJSON=requestToJSON;e.exports=Request},function(e,t,i){const{randomBytes:n}=i(373);const{IVLENGTHS:a}=i(962);e.exports=(e=>n(a.get(e)/8))},function(e,t,i){"use strict";var n=i(128);var a=i(556);var r=i(93);var s=i(723);var o=i(910);var u=Object.prototype.hasOwnProperty;var l=1;var c=2;var d=3;var p=4;var f=1;var h=2;var m=3;var b=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var g=/[\x85\u2028\u2029]/;var y=/[,\[\]\{\}]/;var S=/^(?:!|!!|![a-z\-]+!)$/i;var w=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function _class(e){return Object.prototype.toString.call(e)}function is_EOL(e){return e===10||e===13}function is_WHITE_SPACE(e){return e===9||e===32}function is_WS_OR_EOL(e){return e===9||e===32||e===10||e===13}function is_FLOW_INDICATOR(e){return e===44||e===91||e===93||e===123||e===125}function fromHexCode(e){var t;if(48<=e&&e<=57){return e-48}t=e|32;if(97<=t&&t<=102){return t-97+10}return-1}function escapedHexLen(e){if(e===120){return 2}if(e===117){return 4}if(e===85){return 8}return 0}function fromDecimalCode(e){if(48<=e&&e<=57){return e-48}return-1}function simpleEscapeSequence(e){return e===48?"\0":e===97?"":e===98?"\b":e===116?"\t":e===9?"\t":e===110?"\n":e===118?"\v":e===102?"\f":e===114?"\r":e===101?"":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"…":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}function charFromCodepoint(e){if(e<=65535){return String.fromCharCode(e)}return String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var v=new Array(256);var z=new Array(256);for(var j=0;j<256;j++){v[j]=simpleEscapeSequence(j)?1:0;z[j]=simpleEscapeSequence(j)}function State(e,t){this.input=e;this.filename=t["filename"]||null;this.schema=t["schema"]||o;this.onWarning=t["onWarning"]||null;this.legacy=t["legacy"]||false;this.json=t["json"]||false;this.listener=t["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=e.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.documents=[]}function generateError(e,t){return new a(t,new r(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function throwError(e,t){throw generateError(e,t)}function throwWarning(e,t){if(e.onWarning){e.onWarning.call(null,generateError(e,t))}}var O={YAML:function handleYamlDirective(e,t,i){var n,a,r;if(e.version!==null){throwError(e,"duplication of %YAML directive")}if(i.length!==1){throwError(e,"YAML directive accepts exactly one argument")}n=/^([0-9]+)\.([0-9]+)$/.exec(i[0]);if(n===null){throwError(e,"ill-formed argument of the YAML directive")}a=parseInt(n[1],10);r=parseInt(n[2],10);if(a!==1){throwError(e,"unacceptable YAML version of the document")}e.version=i[0];e.checkLineBreaks=r<2;if(r!==1&&r!==2){throwWarning(e,"unsupported YAML version of the document")}},TAG:function handleTagDirective(e,t,i){var n,a;if(i.length!==2){throwError(e,"TAG directive accepts exactly two arguments")}n=i[0];a=i[1];if(!S.test(n)){throwError(e,"ill-formed tag handle (first argument) of the TAG directive")}if(u.call(e.tagMap,n)){throwError(e,'there is a previously declared suffix for "'+n+'" tag handle')}if(!w.test(a)){throwError(e,"ill-formed tag prefix (second argument) of the TAG directive")}e.tagMap[n]=a}};function captureSegment(e,t,i,n){var a,r,s,o;if(t<i){o=e.input.slice(t,i);if(n){for(a=0,r=o.length;a<r;a+=1){s=o.charCodeAt(a);if(!(s===9||32<=s&&s<=1114111)){throwError(e,"expected valid JSON character")}}}else if(b.test(o)){throwError(e,"the stream contains non-printable characters")}e.result+=o}}function mergeMappings(e,t,i,a){var r,s,o,l;if(!n.isObject(i)){throwError(e,"cannot merge mappings; the provided source object is unacceptable")}r=Object.keys(i);for(o=0,l=r.length;o<l;o+=1){s=r[o];if(!u.call(t,s)){t[s]=i[s];a[s]=true}}}function storeMappingPair(e,t,i,n,a,r,s,o){var l,c;if(Array.isArray(a)){a=Array.prototype.slice.call(a);for(l=0,c=a.length;l<c;l+=1){if(Array.isArray(a[l])){throwError(e,"nested arrays are not supported inside keys")}if(typeof a==="object"&&_class(a[l])==="[object Object]"){a[l]="[object Object]"}}}if(typeof a==="object"&&_class(a)==="[object Object]"){a="[object Object]"}a=String(a);if(t===null){t={}}if(n==="tag:yaml.org,2002:merge"){if(Array.isArray(r)){for(l=0,c=r.length;l<c;l+=1){mergeMappings(e,t,r[l],i)}}else{mergeMappings(e,t,r,i)}}else{if(!e.json&&!u.call(i,a)&&u.call(t,a)){e.line=s||e.line;e.position=o||e.position;throwError(e,"duplicated mapping key")}t[a]=r;delete i[a]}return t}function readLineBreak(e){var t;t=e.input.charCodeAt(e.position);if(t===10){e.position++}else if(t===13){e.position++;if(e.input.charCodeAt(e.position)===10){e.position++}}else{throwError(e,"a line break is expected")}e.line+=1;e.lineStart=e.position}function skipSeparationSpace(e,t,i){var n=0,a=e.input.charCodeAt(e.position);while(a!==0){while(is_WHITE_SPACE(a)){a=e.input.charCodeAt(++e.position)}if(t&&a===35){do{a=e.input.charCodeAt(++e.position)}while(a!==10&&a!==13&&a!==0)}if(is_EOL(a)){readLineBreak(e);a=e.input.charCodeAt(e.position);n++;e.lineIndent=0;while(a===32){e.lineIndent++;a=e.input.charCodeAt(++e.position)}}else{break}}if(i!==-1&&n!==0&&e.lineIndent<i){throwWarning(e,"deficient indentation")}return n}function testDocumentSeparator(e){var t=e.position,i;i=e.input.charCodeAt(t);if((i===45||i===46)&&i===e.input.charCodeAt(t+1)&&i===e.input.charCodeAt(t+2)){t+=3;i=e.input.charCodeAt(t);if(i===0||is_WS_OR_EOL(i)){return true}}return false}function writeFoldedLines(e,t){if(t===1){e.result+=" "}else if(t>1){e.result+=n.repeat("\n",t-1)}}function readPlainScalar(e,t,i){var n,a,r,s,o,u,l,c,d=e.kind,p=e.result,f;f=e.input.charCodeAt(e.position);if(is_WS_OR_EOL(f)||is_FLOW_INDICATOR(f)||f===35||f===38||f===42||f===33||f===124||f===62||f===39||f===34||f===37||f===64||f===96){return false}if(f===63||f===45){a=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(a)||i&&is_FLOW_INDICATOR(a)){return false}}e.kind="scalar";e.result="";r=s=e.position;o=false;while(f!==0){if(f===58){a=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(a)||i&&is_FLOW_INDICATOR(a)){break}}else if(f===35){n=e.input.charCodeAt(e.position-1);if(is_WS_OR_EOL(n)){break}}else if(e.position===e.lineStart&&testDocumentSeparator(e)||i&&is_FLOW_INDICATOR(f)){break}else if(is_EOL(f)){u=e.line;l=e.lineStart;c=e.lineIndent;skipSeparationSpace(e,false,-1);if(e.lineIndent>=t){o=true;f=e.input.charCodeAt(e.position);continue}else{e.position=s;e.line=u;e.lineStart=l;e.lineIndent=c;break}}if(o){captureSegment(e,r,s,false);writeFoldedLines(e,e.line-u);r=s=e.position;o=false}if(!is_WHITE_SPACE(f)){s=e.position+1}f=e.input.charCodeAt(++e.position)}captureSegment(e,r,s,false);if(e.result){return true}e.kind=d;e.result=p;return false}function readSingleQuotedScalar(e,t){var i,n,a;i=e.input.charCodeAt(e.position);if(i!==39){return false}e.kind="scalar";e.result="";e.position++;n=a=e.position;while((i=e.input.charCodeAt(e.position))!==0){if(i===39){captureSegment(e,n,e.position,true);i=e.input.charCodeAt(++e.position);if(i===39){n=e.position;e.position++;a=e.position}else{return true}}else if(is_EOL(i)){captureSegment(e,n,a,true);writeFoldedLines(e,skipSeparationSpace(e,false,t));n=a=e.position}else if(e.position===e.lineStart&&testDocumentSeparator(e)){throwError(e,"unexpected end of the document within a single quoted scalar")}else{e.position++;a=e.position}}throwError(e,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(e,t){var i,n,a,r,s,o;o=e.input.charCodeAt(e.position);if(o!==34){return false}e.kind="scalar";e.result="";e.position++;i=n=e.position;while((o=e.input.charCodeAt(e.position))!==0){if(o===34){captureSegment(e,i,e.position,true);e.position++;return true}else if(o===92){captureSegment(e,i,e.position,true);o=e.input.charCodeAt(++e.position);if(is_EOL(o)){skipSeparationSpace(e,false,t)}else if(o<256&&v[o]){e.result+=z[o];e.position++}else if((s=escapedHexLen(o))>0){a=s;r=0;for(;a>0;a--){o=e.input.charCodeAt(++e.position);if((s=fromHexCode(o))>=0){r=(r<<4)+s}else{throwError(e,"expected hexadecimal character")}}e.result+=charFromCodepoint(r);e.position++}else{throwError(e,"unknown escape sequence")}i=n=e.position}else if(is_EOL(o)){captureSegment(e,i,n,true);writeFoldedLines(e,skipSeparationSpace(e,false,t));i=n=e.position}else if(e.position===e.lineStart&&testDocumentSeparator(e)){throwError(e,"unexpected end of the document within a double quoted scalar")}else{e.position++;n=e.position}}throwError(e,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(e,t){var i=true,n,a=e.tag,r,s=e.anchor,o,u,c,d,p,f={},h,m,b,g;g=e.input.charCodeAt(e.position);if(g===91){u=93;p=false;r=[]}else if(g===123){u=125;p=true;r={}}else{return false}if(e.anchor!==null){e.anchorMap[e.anchor]=r}g=e.input.charCodeAt(++e.position);while(g!==0){skipSeparationSpace(e,true,t);g=e.input.charCodeAt(e.position);if(g===u){e.position++;e.tag=a;e.anchor=s;e.kind=p?"mapping":"sequence";e.result=r;return true}else if(!i){throwError(e,"missed comma between flow collection entries")}m=h=b=null;c=d=false;if(g===63){o=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(o)){c=d=true;e.position++;skipSeparationSpace(e,true,t)}}n=e.line;composeNode(e,t,l,false,true);m=e.tag;h=e.result;skipSeparationSpace(e,true,t);g=e.input.charCodeAt(e.position);if((d||e.line===n)&&g===58){c=true;g=e.input.charCodeAt(++e.position);skipSeparationSpace(e,true,t);composeNode(e,t,l,false,true);b=e.result}if(p){storeMappingPair(e,r,f,m,h,b)}else if(c){r.push(storeMappingPair(e,null,f,m,h,b))}else{r.push(h)}skipSeparationSpace(e,true,t);g=e.input.charCodeAt(e.position);if(g===44){i=true;g=e.input.charCodeAt(++e.position)}else{i=false}}throwError(e,"unexpected end of the stream within a flow collection")}function readBlockScalar(e,t){var i,a,r=f,s=false,o=false,u=t,l=0,c=false,d,p;p=e.input.charCodeAt(e.position);if(p===124){a=false}else if(p===62){a=true}else{return false}e.kind="scalar";e.result="";while(p!==0){p=e.input.charCodeAt(++e.position);if(p===43||p===45){if(f===r){r=p===43?m:h}else{throwError(e,"repeat of a chomping mode identifier")}}else if((d=fromDecimalCode(p))>=0){if(d===0){throwError(e,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!o){u=t+d-1;o=true}else{throwError(e,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(p)){do{p=e.input.charCodeAt(++e.position)}while(is_WHITE_SPACE(p));if(p===35){do{p=e.input.charCodeAt(++e.position)}while(!is_EOL(p)&&p!==0)}}while(p!==0){readLineBreak(e);e.lineIndent=0;p=e.input.charCodeAt(e.position);while((!o||e.lineIndent<u)&&p===32){e.lineIndent++;p=e.input.charCodeAt(++e.position)}if(!o&&e.lineIndent>u){u=e.lineIndent}if(is_EOL(p)){l++;continue}if(e.lineIndent<u){if(r===m){e.result+=n.repeat("\n",s?1+l:l)}else if(r===f){if(s){e.result+="\n"}}break}if(a){if(is_WHITE_SPACE(p)){c=true;e.result+=n.repeat("\n",s?1+l:l)}else if(c){c=false;e.result+=n.repeat("\n",l+1)}else if(l===0){if(s){e.result+=" "}}else{e.result+=n.repeat("\n",l)}}else{e.result+=n.repeat("\n",s?1+l:l)}s=true;o=true;l=0;i=e.position;while(!is_EOL(p)&&p!==0){p=e.input.charCodeAt(++e.position)}captureSegment(e,i,e.position,false)}return true}function readBlockSequence(e,t){var i,n=e.tag,a=e.anchor,r=[],s,o=false,u;if(e.anchor!==null){e.anchorMap[e.anchor]=r}u=e.input.charCodeAt(e.position);while(u!==0){if(u!==45){break}s=e.input.charCodeAt(e.position+1);if(!is_WS_OR_EOL(s)){break}o=true;e.position++;if(skipSeparationSpace(e,true,-1)){if(e.lineIndent<=t){r.push(null);u=e.input.charCodeAt(e.position);continue}}i=e.line;composeNode(e,t,d,false,true);r.push(e.result);skipSeparationSpace(e,true,-1);u=e.input.charCodeAt(e.position);if((e.line===i||e.lineIndent>t)&&u!==0){throwError(e,"bad indentation of a sequence entry")}else if(e.lineIndent<t){break}}if(o){e.tag=n;e.anchor=a;e.kind="sequence";e.result=r;return true}return false}function readBlockMapping(e,t,i){var n,a,r,s,o=e.tag,u=e.anchor,l={},d={},f=null,h=null,m=null,b=false,g=false,y;if(e.anchor!==null){e.anchorMap[e.anchor]=l}y=e.input.charCodeAt(e.position);while(y!==0){n=e.input.charCodeAt(e.position+1);r=e.line;s=e.position;if((y===63||y===58)&&is_WS_OR_EOL(n)){if(y===63){if(b){storeMappingPair(e,l,d,f,h,null);f=h=m=null}g=true;b=true;a=true}else if(b){b=false;a=true}else{throwError(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line")}e.position+=1;y=n}else if(composeNode(e,i,c,false,true)){if(e.line===r){y=e.input.charCodeAt(e.position);while(is_WHITE_SPACE(y)){y=e.input.charCodeAt(++e.position)}if(y===58){y=e.input.charCodeAt(++e.position);if(!is_WS_OR_EOL(y)){throwError(e,"a whitespace character is expected after the key-value separator within a block mapping")}if(b){storeMappingPair(e,l,d,f,h,null);f=h=m=null}g=true;b=false;a=false;f=e.tag;h=e.result}else if(g){throwError(e,"can not read an implicit mapping pair; a colon is missed")}else{e.tag=o;e.anchor=u;return true}}else if(g){throwError(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}else{e.tag=o;e.anchor=u;return true}}else{break}if(e.line===r||e.lineIndent>t){if(composeNode(e,t,p,true,a)){if(b){h=e.result}else{m=e.result}}if(!b){storeMappingPair(e,l,d,f,h,m,r,s);f=h=m=null}skipSeparationSpace(e,true,-1);y=e.input.charCodeAt(e.position)}if(e.lineIndent>t&&y!==0){throwError(e,"bad indentation of a mapping entry")}else if(e.lineIndent<t){break}}if(b){storeMappingPair(e,l,d,f,h,null)}if(g){e.tag=o;e.anchor=u;e.kind="mapping";e.result=l}return g}function readTagProperty(e){var t,i=false,n=false,a,r,s;s=e.input.charCodeAt(e.position);if(s!==33)return false;if(e.tag!==null){throwError(e,"duplication of a tag property")}s=e.input.charCodeAt(++e.position);if(s===60){i=true;s=e.input.charCodeAt(++e.position)}else if(s===33){n=true;a="!!";s=e.input.charCodeAt(++e.position)}else{a="!"}t=e.position;if(i){do{s=e.input.charCodeAt(++e.position)}while(s!==0&&s!==62);if(e.position<e.length){r=e.input.slice(t,e.position);s=e.input.charCodeAt(++e.position)}else{throwError(e,"unexpected end of the stream within a verbatim tag")}}else{while(s!==0&&!is_WS_OR_EOL(s)){if(s===33){if(!n){a=e.input.slice(t-1,e.position+1);if(!S.test(a)){throwError(e,"named tag handle cannot contain such characters")}n=true;t=e.position+1}else{throwError(e,"tag suffix cannot contain exclamation marks")}}s=e.input.charCodeAt(++e.position)}r=e.input.slice(t,e.position);if(y.test(r)){throwError(e,"tag suffix cannot contain flow indicator characters")}}if(r&&!w.test(r)){throwError(e,"tag name cannot contain such characters: "+r)}if(i){e.tag=r}else if(u.call(e.tagMap,a)){e.tag=e.tagMap[a]+r}else if(a==="!"){e.tag="!"+r}else if(a==="!!"){e.tag="tag:yaml.org,2002:"+r}else{throwError(e,'undeclared tag handle "'+a+'"')}return true}function readAnchorProperty(e){var t,i;i=e.input.charCodeAt(e.position);if(i!==38)return false;if(e.anchor!==null){throwError(e,"duplication of an anchor property")}i=e.input.charCodeAt(++e.position);t=e.position;while(i!==0&&!is_WS_OR_EOL(i)&&!is_FLOW_INDICATOR(i)){i=e.input.charCodeAt(++e.position)}if(e.position===t){throwError(e,"name of an anchor node must contain at least one character")}e.anchor=e.input.slice(t,e.position);return true}function readAlias(e){var t,i,n;n=e.input.charCodeAt(e.position);if(n!==42)return false;n=e.input.charCodeAt(++e.position);t=e.position;while(n!==0&&!is_WS_OR_EOL(n)&&!is_FLOW_INDICATOR(n)){n=e.input.charCodeAt(++e.position)}if(e.position===t){throwError(e,"name of an alias node must contain at least one character")}i=e.input.slice(t,e.position);if(!e.anchorMap.hasOwnProperty(i)){throwError(e,'unidentified alias "'+i+'"')}e.result=e.anchorMap[i];skipSeparationSpace(e,true,-1);return true}function composeNode(e,t,i,n,a){var r,s,o,f=1,h=false,m=false,b,g,y,S,w;if(e.listener!==null){e.listener("open",e)}e.tag=null;e.anchor=null;e.kind=null;e.result=null;r=s=o=p===i||d===i;if(n){if(skipSeparationSpace(e,true,-1)){h=true;if(e.lineIndent>t){f=1}else if(e.lineIndent===t){f=0}else if(e.lineIndent<t){f=-1}}}if(f===1){while(readTagProperty(e)||readAnchorProperty(e)){if(skipSeparationSpace(e,true,-1)){h=true;o=r;if(e.lineIndent>t){f=1}else if(e.lineIndent===t){f=0}else if(e.lineIndent<t){f=-1}}else{o=false}}}if(o){o=h||a}if(f===1||p===i){if(l===i||c===i){S=t}else{S=t+1}w=e.position-e.lineStart;if(f===1){if(o&&(readBlockSequence(e,w)||readBlockMapping(e,w,S))||readFlowCollection(e,S)){m=true}else{if(s&&readBlockScalar(e,S)||readSingleQuotedScalar(e,S)||readDoubleQuotedScalar(e,S)){m=true}else if(readAlias(e)){m=true;if(e.tag!==null||e.anchor!==null){throwError(e,"alias node should not have any properties")}}else if(readPlainScalar(e,S,l===i)){m=true;if(e.tag===null){e.tag="?"}}if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}}}else if(f===0){m=o&&readBlockSequence(e,w)}}if(e.tag!==null&&e.tag!=="!"){if(e.tag==="?"){if(e.result!==null&&e.kind!=="scalar"){throwError(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"')}for(b=0,g=e.implicitTypes.length;b<g;b+=1){y=e.implicitTypes[b];if(y.resolve(e.result)){e.result=y.construct(e.result);e.tag=y.tag;if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}break}}}else if(u.call(e.typeMap[e.kind||"fallback"],e.tag)){y=e.typeMap[e.kind||"fallback"][e.tag];if(e.result!==null&&y.kind!==e.kind){throwError(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+y.kind+'", not "'+e.kind+'"')}if(!y.resolve(e.result)){throwError(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}else{e.result=y.construct(e.result);if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}}}else{throwError(e,"unknown tag !<"+e.tag+">")}}if(e.listener!==null){e.listener("close",e)}return e.tag!==null||e.anchor!==null||m}function readDocument(e){var t=e.position,i,n,a,r=false,s;e.version=null;e.checkLineBreaks=e.legacy;e.tagMap={};e.anchorMap={};while((s=e.input.charCodeAt(e.position))!==0){skipSeparationSpace(e,true,-1);s=e.input.charCodeAt(e.position);if(e.lineIndent>0||s!==37){break}r=true;s=e.input.charCodeAt(++e.position);i=e.position;while(s!==0&&!is_WS_OR_EOL(s)){s=e.input.charCodeAt(++e.position)}n=e.input.slice(i,e.position);a=[];if(n.length<1){throwError(e,"directive name must not be less than one character in length")}while(s!==0){while(is_WHITE_SPACE(s)){s=e.input.charCodeAt(++e.position)}if(s===35){do{s=e.input.charCodeAt(++e.position)}while(s!==0&&!is_EOL(s));break}if(is_EOL(s))break;i=e.position;while(s!==0&&!is_WS_OR_EOL(s)){s=e.input.charCodeAt(++e.position)}a.push(e.input.slice(i,e.position))}if(s!==0)readLineBreak(e);if(u.call(O,n)){O[n](e,n,a)}else{throwWarning(e,'unknown document directive "'+n+'"')}}skipSeparationSpace(e,true,-1);if(e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45){e.position+=3;skipSeparationSpace(e,true,-1)}else if(r){throwError(e,"directives end mark is expected")}composeNode(e,e.lineIndent-1,p,false,true);skipSeparationSpace(e,true,-1);if(e.checkLineBreaks&&g.test(e.input.slice(t,e.position))){throwWarning(e,"non-ASCII line breaks are interpreted as content")}e.documents.push(e.result);if(e.position===e.lineStart&&testDocumentSeparator(e)){if(e.input.charCodeAt(e.position)===46){e.position+=3;skipSeparationSpace(e,true,-1)}return}if(e.position<e.length-1){throwError(e,"end of the stream or a document separator is expected")}else{return}}function loadDocuments(e,t){e=String(e);t=t||{};if(e.length!==0){if(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13){e+="\n"}if(e.charCodeAt(0)===65279){e=e.slice(1)}}var i=new State(e,t);var n=e.indexOf("\0");if(n!==-1){i.position=n;throwError(i,"null byte is not allowed in input")}i.input+="\0";while(i.input.charCodeAt(i.position)===32){i.lineIndent+=1;i.position+=1}while(i.position<i.length-1){readDocument(i)}return i.documents}function loadAll(e,t,i){if(t!==null&&typeof t==="object"&&typeof i==="undefined"){i=t;t=null}var n=loadDocuments(e,i);if(typeof t!=="function"){return n}for(var a=0,r=n.length;a<r;a+=1){t(n[a])}}function load(e,t){var i=loadDocuments(e,t);if(i.length===0){return undefined}else if(i.length===1){return i[0]}throw new a("expected a single document in the stream, but found more")}function safeLoadAll(e,t,i){if(typeof t==="object"&&t!==null&&typeof i==="undefined"){i=t;t=null}return loadAll(e,t,n.extend({schema:s},i))}function safeLoad(e,t){return load(e,n.extend({schema:s},t))}e.exports.loadAll=loadAll;e.exports.load=load;e.exports.safeLoadAll=safeLoadAll;e.exports.safeLoad=safeLoad},,function(e){e.exports="2.5.0"},,function(e,t,i){"use strict";var n=i(835);var a=i(243);var r=["accept","accept-charset","accept-encoding","accept-language","accept-ranges","cache-control","content-encoding","content-language","content-location","content-md5","content-range","content-type","connection","date","expect","max-forwards","pragma","referer","te","user-agent","via"];var s=["proxy-authorization"];function constructProxyHost(e){var t=e.port;var i=e.protocol;var n=e.hostname+":";if(t){n+=t}else if(i==="https:"){n+="443"}else{n+="80"}return n}function constructProxyHeaderWhiteList(e,t){var i=t.reduce(function(e,t){e[t.toLowerCase()]=true;return e},{});return Object.keys(e).filter(function(e){return i[e.toLowerCase()]}).reduce(function(t,i){t[i]=e[i];return t},{})}function constructTunnelOptions(e,t){var i=e.proxy;var n={proxy:{host:i.hostname,port:+i.port,proxyAuth:i.auth,headers:t},headers:e.headers,ca:e.ca,cert:e.cert,key:e.key,passphrase:e.passphrase,pfx:e.pfx,ciphers:e.ciphers,rejectUnauthorized:e.rejectUnauthorized,secureOptions:e.secureOptions,secureProtocol:e.secureProtocol};return n}function constructTunnelFnName(e,t){var i=e.protocol==="https:"?"https":"http";var n=t.protocol==="https:"?"Https":"Http";return[i,n].join("Over")}function getTunnelFn(e){var t=e.uri;var i=e.proxy;var n=constructTunnelFnName(t,i);return a[n]}function Tunnel(e){this.request=e;this.proxyHeaderWhiteList=r;this.proxyHeaderExclusiveList=[];if(typeof e.tunnel!=="undefined"){this.tunnelOverride=e.tunnel}}Tunnel.prototype.isEnabled=function(){var e=this;var t=e.request;if(typeof e.tunnelOverride!=="undefined"){return e.tunnelOverride}if(t.uri.protocol==="https:"){return true}return false};Tunnel.prototype.setup=function(e){var t=this;var i=t.request;e=e||{};if(typeof i.proxy==="string"){i.proxy=n.parse(i.proxy)}if(!i.proxy||!i.tunnel){return false}if(e.proxyHeaderWhiteList){t.proxyHeaderWhiteList=e.proxyHeaderWhiteList}if(e.proxyHeaderExclusiveList){t.proxyHeaderExclusiveList=e.proxyHeaderExclusiveList}var a=t.proxyHeaderExclusiveList.concat(s);var r=t.proxyHeaderWhiteList.concat(a);var o=constructProxyHeaderWhiteList(i.headers,r);o.host=constructProxyHost(i.uri);a.forEach(i.removeHeader,i);var u=getTunnelFn(i);var l=constructTunnelOptions(i,o);i.agent=u(l);return true};Tunnel.defaultProxyHeaderWhiteList=r;Tunnel.defaultProxyHeaderExclusiveList=s;t.Tunnel=Tunnel},function(e,t,i){const n=i(65);const a=i(174);const{ANY:r}=a;const s=i(124);const o=i(310);const u=i(486);const l=i(586);const c=i(898);const d=i(167);const p=(e,t,i,p)=>{e=new n(e,p);t=new s(t,p);let f,h,m,b,g;switch(i){case">":f=u;h=c;m=l;b=">";g=">=";break;case"<":f=l;h=d;m=u;b="<";g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(o(e,t,p)){return false}for(let i=0;i<t.set.length;++i){const n=t.set[i];let s=null;let o=null;n.forEach(e=>{if(e.semver===r){e=new a(">=0.0.0")}s=s||e;o=o||e;if(f(e.semver,s.semver,p)){s=e}else if(m(e.semver,o.semver,p)){o=e}});if(s.operator===b||s.operator===g){return false}if((!o.operator||o.operator===b)&&h(e,o.semver)){return false}else if(o.operator===g&&m(e,o.semver)){return false}}return true};e.exports=p},function(e,t,i){"use strict";const n=i(273);const a=i(557);class FilterError extends Error{}const r=(e,t)=>new a((i,a,r)=>{const{count:s,filter:o=(()=>true)}=t;if(!Number.isFinite(s)){a(new TypeError(`Expected a finite number, got ${typeof t.count}`));return}const u=[];const l=[];let c=0;let d=false;const p=new Set;const f=()=>{if(u.length===s){i(u);d=true}if(c-l.length<s){a(new n(l));d=true}return d};const h=()=>{for(const t of e){if(!p.has(t)&&typeof t.cancel==="function"){t.cancel()}}};r(h);for(const t of e){c++;(async()=>{try{const e=await t;if(d){return}if(!o(e)){throw new FilterError("Value does not satisfy filter")}u.push(e)}catch(e){l.push(e)}finally{p.add(t);if(!d&&f()){h()}}})()}if(s>c){a(new RangeError(`Expected input to contain at least ${t.count} items, but contains ${c} items`));h()}});e.exports=r;e.exports.AggregateError=n;e.exports.FilterError=FilterError},,,function(e){const t={JOSEAlgNotWhitelisted:"ERR_JOSE_ALG_NOT_WHITELISTED",JOSECritNotUnderstood:"ERR_JOSE_CRIT_NOT_UNDERSTOOD",JOSEInvalidEncoding:"ERR_JOSE_INVALID_ENCODING",JOSEMultiError:"ERR_JOSE_MULTIPLE_ERRORS",JOSENotSupported:"ERR_JOSE_NOT_SUPPORTED",JWEDecryptionFailed:"ERR_JWE_DECRYPTION_FAILED",JWEInvalid:"ERR_JWE_INVALID",JWKImportFailed:"ERR_JWK_IMPORT_FAILED",JWKInvalid:"ERR_JWK_INVALID",JWKKeySupport:"ERR_JWK_KEY_SUPPORT",JWKSNoMatchingKey:"ERR_JWKS_NO_MATCHING_KEY",JWSInvalid:"ERR_JWS_INVALID",JWSVerificationFailed:"ERR_JWS_VERIFICATION_FAILED",JWTClaimInvalid:"ERR_JWT_CLAIM_INVALID",JWTExpired:"ERR_JWT_EXPIRED",JWTMalformed:"ERR_JWT_MALFORMED"};const i={JWEDecryptionFailed:"decryption operation failed",JWEInvalid:"JWE invalid",JWKSNoMatchingKey:"no matching key found in the KeyStore",JWSInvalid:"JWS invalid",JWSVerificationFailed:"signature verification failed"};class JOSEError extends Error{constructor(e){super(e);if(e===undefined){this.message=i[this.constructor.name]}this.name=this.constructor.name;this.code=t[this.constructor.name];Error.captureStackTrace(this,this.constructor)}}const n=e=>e instanceof JOSEMultiError;class JOSEMultiError extends JOSEError{constructor(e){super();let t;while((t=e.findIndex(n))&&t!==-1){e.splice(t,1,...e[t])}Object.defineProperty(this,"errors",{value:e})}*[Symbol.iterator](){for(const e of this.errors){yield e}}}e.exports.JOSEError=JOSEError;e.exports.JOSEAlgNotWhitelisted=class JOSEAlgNotWhitelisted extends JOSEError{};e.exports.JOSECritNotUnderstood=class JOSECritNotUnderstood extends JOSEError{};e.exports.JOSEInvalidEncoding=class JOSEInvalidEncoding extends JOSEError{};e.exports.JOSEMultiError=JOSEMultiError;e.exports.JOSENotSupported=class JOSENotSupported extends JOSEError{};e.exports.JWEDecryptionFailed=class JWEDecryptionFailed extends JOSEError{};e.exports.JWEInvalid=class JWEInvalid extends JOSEError{};e.exports.JWKImportFailed=class JWKImportFailed extends JOSEError{};e.exports.JWKInvalid=class JWKInvalid extends JOSEError{};e.exports.JWKKeySupport=class JWKKeySupport extends JOSEError{};e.exports.JWKSNoMatchingKey=class JWKSNoMatchingKey extends JOSEError{};e.exports.JWSInvalid=class JWSInvalid extends JOSEError{};e.exports.JWSVerificationFailed=class JWSVerificationFailed extends JOSEError{};class JWTClaimInvalid extends JOSEError{constructor(e,t="unspecified",i="unspecified"){super(e);this.claim=t;this.reason=i}}e.exports.JWTClaimInvalid=JWTClaimInvalid;e.exports.JWTExpired=class JWTExpired extends JWTClaimInvalid{};e.exports.JWTMalformed=class JWTMalformed extends JOSEError{}},,function(e){const t="/.well-known/openid-configuration";const i="/.well-known/oauth-authorization-server";const n="/.well-known/webfinger";const a="http://openid.net/specs/connect/1.0/issuer";const r=[`https://login.microsoftonline.com/common${t}`,`https://login.microsoftonline.com/common/v2.0${t}`,`https://login.microsoftonline.com/organizations/v2.0${t}`,`https://login.microsoftonline.com/consumers/v2.0${t}`];const s={grant_types:["authorization_code"],id_token_signed_response_alg:"RS256",authorization_signed_response_alg:"RS256",response_types:["code"],token_endpoint_auth_method:"client_secret_basic"};const o={claim_types_supported:["normal"],claims_parameter_supported:false,grant_types_supported:["authorization_code","implicit"],request_parameter_supported:false,request_uri_parameter_supported:true,require_request_uri_registration:false,response_modes_supported:["query","fragment"],token_endpoint_auth_methods_supported:["client_secret_basic"]};const u=["access_token","code","error","error_description","error_uri","expires_in","id_token","state","token_type","session_state","response"];const l=/^application\/jwt/;const c=Symbol("openid-client.custom.http-options");const d=Symbol("openid-client.custom.clock-tolerance");e.exports={AAD_MULTITENANT_DISCOVERY:r,CALLBACK_PROPERTIES:u,CLIENT_DEFAULTS:s,CLOCK_TOLERANCE:d,HTTP_OPTIONS:c,ISSUER_DEFAULTS:o,JWT_CONTENT:l,OAUTH2_DISCOVERY:i,OIDC_DISCOVERY:t,REL:a,WEBFINGER:n}},function(e,t,i){"use strict";var n=i(826);var a=i(547);var r=i(382);var s=i(727).Buffer;function Multipart(e){this.request=e;this.boundary=n();this.chunked=false;this.body=null}Multipart.prototype.isChunked=function(e){var t=this;var i=false;var n=e.data||e;if(!n.forEach){t.request.emit("error",new Error("Argument error, options.multipart."))}if(e.chunked!==undefined){i=e.chunked}if(t.request.getHeader("transfer-encoding")==="chunked"){i=true}if(!i){n.forEach(function(e){if(typeof e.body==="undefined"){t.request.emit("error",new Error("Body attribute missing in multipart."))}if(r(e.body)){i=true}})}return i};Multipart.prototype.setHeaders=function(e){var t=this;if(e&&!t.request.hasHeader("transfer-encoding")){t.request.setHeader("transfer-encoding","chunked")}var i=t.request.getHeader("content-type");if(!i||i.indexOf("multipart")===-1){t.request.setHeader("content-type","multipart/related; boundary="+t.boundary)}else{if(i.indexOf("boundary")!==-1){t.boundary=i.replace(/.*boundary=([^\s;]+).*/,"$1")}else{t.request.setHeader("content-type",i+"; boundary="+t.boundary)}}};Multipart.prototype.build=function(e,t){var i=this;var n=t?new a:[];function add(e){if(typeof e==="number"){e=e.toString()}return t?n.append(e):n.push(s.from(e))}if(i.request.preambleCRLF){add("\r\n")}e.forEach(function(e){var t="--"+i.boundary+"\r\n";Object.keys(e).forEach(function(i){if(i==="body"){return}t+=i+": "+e[i]+"\r\n"});t+="\r\n";add(t);add(e.body);add("\r\n")});add("--"+i.boundary+"--");if(i.request.postambleCRLF){add("\r\n")}return n};Multipart.prototype.onRequest=function(e){var t=this;var i=t.isChunked(e);var n=e.data||e;t.setHeaders(i);t.chunked=i;t.body=t.build(n,i)};t.Multipart=Multipart},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())})};var a=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 r=i(431);const s=i(102);const o=i(82);const u=a(i(87));const l=a(i(622));var c;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(c=t.ExitCode||(t.ExitCode={}));function exportVariable(e,t){const i=o.toCommandValue(t);process.env[e]=i;const n=process.env["GITHUB_ENV"]||"";if(n){const t="_GitHubActionsFileCommandDelimeter_";const n=`${e}<<${t}${u.EOL}${i}${u.EOL}${t}`;s.issueCommand("ENV",n)}else{r.issueCommand("set-env",{name:e},i)}}t.exportVariable=exportVariable;function setSecret(e){r.issueCommand("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){s.issueCommand("PATH",e)}else{r.issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${l.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const i=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!i){throw new Error(`Input required and not supplied: ${e}`)}return i.trim()}t.getInput=getInput;function setOutput(e,t){r.issueCommand("set-output",{name:e},t)}t.setOutput=setOutput;function setCommandEcho(e){r.issue("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=c.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){r.issueCommand("debug",{},e)}t.debug=debug;function error(e){r.issue("error",e instanceof Error?e.toString():e)}t.error=error;function warning(e){r.issue("warning",e instanceof Error?e.toString():e)}t.warning=warning;function info(e){process.stdout.write(e+u.EOL)}t.info=info;function startGroup(e){r.issue("group",e)}t.startGroup=startGroup;function endGroup(){r.issue("endgroup")}t.endGroup=endGroup;function group(e,t){return n(this,void 0,void 0,function*(){startGroup(e);let i;try{i=yield t()}finally{endGroup()}return i})}t.group=group;function saveState(e,t){r.issueCommand("save-state",{name:e},t)}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState},,function(e,t,i){"use strict";var n=i(373);t=e.exports=objectHash;function objectHash(e,t){t=applyDefaults(e,t);return hash(e,t)}t.sha1=function(e){return objectHash(e)};t.keys=function(e){return objectHash(e,{excludeValues:true,algorithm:"sha1",encoding:"hex"})};t.MD5=function(e){return objectHash(e,{algorithm:"md5",encoding:"hex"})};t.keysMD5=function(e){return objectHash(e,{algorithm:"md5",encoding:"hex",excludeValues:true})};var a=n.getHashes?n.getHashes().slice():["sha1","md5"];a.push("passthrough");var r=["buffer","hex","binary","base64"];function applyDefaults(e,t){t=t||{};var i={};i.algorithm=t.algorithm||"sha1";i.encoding=t.encoding||"hex";i.excludeValues=t.excludeValues?true:false;i.algorithm=i.algorithm.toLowerCase();i.encoding=i.encoding.toLowerCase();i.ignoreUnknown=t.ignoreUnknown!==true?false:true;i.respectType=t.respectType===false?false:true;i.respectFunctionNames=t.respectFunctionNames===false?false:true;i.respectFunctionProperties=t.respectFunctionProperties===false?false:true;i.unorderedArrays=t.unorderedArrays!==true?false:true;i.unorderedSets=t.unorderedSets===false?false:true;i.unorderedObjects=t.unorderedObjects===false?false:true;i.replacer=t.replacer||undefined;i.excludeKeys=t.excludeKeys||undefined;if(typeof e==="undefined"){throw new Error("Object argument required.")}for(var n=0;n<a.length;++n){if(a[n].toLowerCase()===i.algorithm.toLowerCase()){i.algorithm=a[n]}}if(a.indexOf(i.algorithm)===-1){throw new Error('Algorithm "'+i.algorithm+'" not supported. '+"supported values: "+a.join(", "))}if(r.indexOf(i.encoding)===-1&&i.algorithm!=="passthrough"){throw new Error('Encoding "'+i.encoding+'" not supported. '+"supported values: "+r.join(", "))}return i}function isNativeFunction(e){if(typeof e!=="function"){return false}var t=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i;return t.exec(Function.prototype.toString.call(e))!=null}function hash(e,t){var i;if(t.algorithm!=="passthrough"){i=n.createHash(t.algorithm)}else{i=new PassThrough}if(typeof i.write==="undefined"){i.write=i.update;i.end=i.update}var a=typeHasher(t,i);a.dispatch(e);if(!i.update){i.end("")}if(i.digest){return i.digest(t.encoding==="buffer"?undefined:t.encoding)}var r=i.read();if(t.encoding==="buffer"){return r}return r.toString(t.encoding)}t.writeToStream=function(e,t,i){if(typeof i==="undefined"){i=t;t={}}t=applyDefaults(e,t);return typeHasher(t,i).dispatch(e)};function typeHasher(e,t,i){i=i||[];var n=function(e){if(t.update){return t.update(e,"utf8")}else{return t.write(e,"utf8")}};return{dispatch:function(t){if(e.replacer){t=e.replacer(t)}var i=typeof t;if(t===null){i="null"}return this["_"+i](t)},_object:function(t){var a=/\[object (.*)\]/i;var r=Object.prototype.toString.call(t);var s=a.exec(r);if(!s){s="unknown:["+r+"]"}else{s=s[1]}s=s.toLowerCase();var o=null;if((o=i.indexOf(t))>=0){return this.dispatch("[CIRCULAR:"+o+"]")}else{i.push(t)}if(typeof Buffer!=="undefined"&&Buffer.isBuffer&&Buffer.isBuffer(t)){n("buffer:");return n(t)}if(s!=="object"&&s!=="function"&&s!=="asyncfunction"){if(this["_"+s]){this["_"+s](t)}else if(e.ignoreUnknown){return n("["+s+"]")}else{throw new Error('Unknown object type "'+s+'"')}}else{var u=Object.keys(t);if(e.unorderedObjects){u=u.sort()}if(e.respectType!==false&&!isNativeFunction(t)){u.splice(0,0,"prototype","__proto__","constructor")}if(e.excludeKeys){u=u.filter(function(t){return!e.excludeKeys(t)})}n("object:"+u.length+":");var l=this;return u.forEach(function(i){l.dispatch(i);n(":");if(!e.excludeValues){l.dispatch(t[i])}n(",")})}},_array:function(t,a){a=typeof a!=="undefined"?a:e.unorderedArrays!==false;var r=this;n("array:"+t.length+":");if(!a||t.length<=1){return t.forEach(function(e){return r.dispatch(e)})}var s=[];var o=t.map(function(t){var n=new PassThrough;var a=i.slice();var r=typeHasher(e,n,a);r.dispatch(t);s=s.concat(a.slice(i.length));return n.read().toString()});i=i.concat(s);o.sort();return this._array(o,false)},_date:function(e){return n("date:"+e.toJSON())},_symbol:function(e){return n("symbol:"+e.toString())},_error:function(e){return n("error:"+e.toString())},_boolean:function(e){return n("bool:"+e.toString())},_string:function(e){n("string:"+e.length+":");n(e.toString())},_function:function(t){n("fn:");if(isNativeFunction(t)){this.dispatch("[native]")}else{this.dispatch(t.toString())}if(e.respectFunctionNames!==false){this.dispatch("function-name:"+String(t.name))}if(e.respectFunctionProperties){this._object(t)}},_number:function(e){return n("number:"+e.toString())},_xml:function(e){return n("xml:"+e.toString())},_null:function(){return n("Null")},_undefined:function(){return n("Undefined")},_regexp:function(e){return n("regex:"+e.toString())},_uint8array:function(e){n("uint8array:");return this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){n("uint8clampedarray:");return this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){n("uint8array:");return this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){n("uint16array:");return this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){n("uint16array:");return this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){n("uint32array:");return this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){n("uint32array:");return this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){n("float32array:");return this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){n("float64array:");return this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){n("arraybuffer:");return this.dispatch(new Uint8Array(e))},_url:function(e){return n("url:"+e.toString(),"utf8")},_map:function(t){n("map:");var i=Array.from(t);return this._array(i,e.unorderedSets!==false)},_set:function(t){n("set:");var i=Array.from(t);return this._array(i,e.unorderedSets!==false)},_blob:function(){if(e.ignoreUnknown){return n("[blob]")}throw Error("Hashing Blob objects is currently not supported\n"+"(see https://github.com/puleos/object-hash/issues/26)\n"+'Use "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return n("domwindow")},_process:function(){return n("process")},_timer:function(){return n("timer")},_pipe:function(){return n("pipe")},_tcp:function(){return n("tcp")},_udp:function(){return n("udp")},_tty:function(){return n("tty")},_statwatcher:function(){return n("statwatcher")},_securecontext:function(){return n("securecontext")},_connection:function(){return n("connection")},_zlib:function(){return n("zlib")},_context:function(){return n("context")},_nodescript:function(){return n("nodescript")},_httpparser:function(){return n("httpparser")},_dataview:function(){return n("dataview")},_signal:function(){return n("signal")},_fsevent:function(){return n("fsevent")},_tlswrap:function(){return n("tlswrap")}}}function PassThrough(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}},,function(e,t,i){e.exports={der:i(768),pem:i(782)}},function(e,t,i){"use strict";const n=i(482);const a=i(338);const r={options:{retry:{retries:2,methods:["GET","PUT","HEAD","DELETE","OPTIONS","TRACE"],statusCodes:[408,413,429,500,502,503,504],errorCodes:["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"]},headers:{"user-agent":`${n.name}/${n.version} (https://github.com/sindresorhus/got)`},hooks:{beforeRequest:[],beforeRedirect:[],beforeRetry:[],afterResponse:[]},decompress:true,throwHttpErrors:true,followRedirect:true,stream:false,form:false,json:false,cache:false,useElectronNet:false},mutableDefaults:false};const s=a(r);e.exports=s},,function(e,t,i){var n=i(602);var a=i(747);var r=i(622);var s=function(e){return{OTHER_EXEC:e.EXEC,OTHER_WRITE:e.WRITE,OTHER_READ:e.READ,GROUP_EXEC:e.EXEC<<3,GROUP_WRITE:e.WRITE<<3,GROUP_READ:e.READ<<3,OWNER_EXEC:e.EXEC<<6,OWNER_WRITE:e.WRITE<<6,OWNER_READ:e.READ<<6,STICKY:parseInt("01000",8),SETGID:parseInt("02000",8),SETUID:parseInt("04000",8),TYPE_MASK:parseInt("0770000",8)}}({EXEC:1,WRITE:2,READ:4});n.register("chmod",_chmod,{});function _chmod(e,t,i){if(!i){if(e.length>0&&e.charAt(0)==="-"){[].unshift.call(arguments,"")}else{n.error("You must specify a file.")}}e=n.parseOptions(e,{R:"recursive",c:"changes",v:"verbose"});i=[].slice.call(arguments,2);var o;if(e.recursive){o=[];i.forEach(function addFile(e){var t=n.statNoFollowLinks(e);if(!t.isSymbolicLink()){o.push(e);if(t.isDirectory()){a.readdirSync(e).forEach(function(t){addFile(e+"/"+t)})}}})}else{o=i}o.forEach(function innerChmod(i){i=r.resolve(i);if(!a.existsSync(i)){n.error("File not found: "+i)}if(e.recursive&&n.statNoFollowLinks(i).isSymbolicLink()){return}var o=n.statFollowLinks(i);var u=o.isDirectory();var l=o.mode;var c=l&s.TYPE_MASK;var d=l;if(isNaN(parseInt(t,8))){t.split(",").forEach(function(t){var r=/([ugoa]*)([=\+-])([rwxXst]*)/i;var o=r.exec(t);if(o){var p=o[1];var f=o[2];var h=o[3];var m=p.indexOf("u")!==-1||p==="a"||p==="";var b=p.indexOf("g")!==-1||p==="a"||p==="";var g=p.indexOf("o")!==-1||p==="a"||p==="";var y=h.indexOf("r")!==-1;var S=h.indexOf("w")!==-1;var w=h.indexOf("x")!==-1;var v=h.indexOf("X")!==-1;var z=h.indexOf("t")!==-1;var j=h.indexOf("s")!==-1;if(v&&u){w=true}var O=0;if(m){O|=(y?s.OWNER_READ:0)+(S?s.OWNER_WRITE:0)+(w?s.OWNER_EXEC:0)+(j?s.SETUID:0)}if(b){O|=(y?s.GROUP_READ:0)+(S?s.GROUP_WRITE:0)+(w?s.GROUP_EXEC:0)+(j?s.SETGID:0)}if(g){O|=(y?s.OTHER_READ:0)+(S?s.OTHER_WRITE:0)+(w?s.OTHER_EXEC:0)}if(z){O|=s.STICKY}switch(f){case"+":d|=O;break;case"-":d&=~O;break;case"=":d=c+O;if(n.statFollowLinks(i).isDirectory()){d|=s.SETUID+s.SETGID&l}break;default:n.error("Could not recognize operator: `"+f+"`")}if(e.verbose){console.log(i+" -> "+d.toString(8))}if(l!==d){if(!e.verbose&&e.changes){console.log(i+" -> "+d.toString(8))}a.chmodSync(i,d);l=d}}else{n.error("Invalid symbolic mode change: "+t)}})}else{d=c+parseInt(t,8);if(n.statFollowLinks(i).isDirectory()){d|=s.SETUID+s.SETGID&l}a.chmodSync(i,d)}});return""}e.exports=_chmod},,function(e){"use strict";e.exports=function generate_if(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);f.level++;var h="valid"+f.level;var m=e.schema["then"],b=e.schema["else"],g=m!==undefined&&(e.opts.strictKeywords?typeof m=="object"&&Object.keys(m).length>0:e.util.schemaHasRules(m,e.RULES.all)),y=b!==undefined&&(e.opts.strictKeywords?typeof b=="object"&&Object.keys(b).length>0:e.util.schemaHasRules(b,e.RULES.all)),S=f.baseId;if(g||y){var w;f.createErrors=false;f.schema=s;f.schemaPath=o;f.errSchemaPath=u;n+=" var "+p+" = errors; var "+d+" = true; ";var v=e.compositeRule;e.compositeRule=f.compositeRule=true;n+=" "+e.validate(f)+" ";f.baseId=S;f.createErrors=true;n+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ";e.compositeRule=f.compositeRule=v;if(g){n+=" if ("+h+") { ";f.schema=e.schema["then"];f.schemaPath=e.schemaPath+".then";f.errSchemaPath=e.errSchemaPath+"/then";n+=" "+e.validate(f)+" ";f.baseId=S;n+=" "+d+" = "+h+"; ";if(g&&y){w="ifClause"+a;n+=" var "+w+" = 'then'; "}else{w="'then'"}n+=" } ";if(y){n+=" else { "}}else{n+=" if (!"+h+") { "}if(y){f.schema=e.schema["else"];f.schemaPath=e.schemaPath+".else";f.errSchemaPath=e.errSchemaPath+"/else";n+=" "+e.validate(f)+" ";f.baseId=S;n+=" "+d+" = "+h+"; ";if(g&&y){w="ifClause"+a;n+=" var "+w+" = 'else'; "}else{w="'else'"}n+=" } "}n+=" if (!"+d+") { var err = ";if(e.createErrors!==false){n+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { failingKeyword: "+w+" } ";if(e.opts.messages!==false){n+=" , message: 'should match \"' + "+w+" + '\" schema' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(vErrors); "}else{n+=" validate.errors = vErrors; return false; "}}n+=" } ";if(l){n+=" else { "}}else{if(l){n+=" if (true) { "}}return n}},function(e,t,i){const n=i(124);const a=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}};e.exports=a},function(e){e.exports=((e,t)=>(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(e),this.key("privateKey").use(t))}))},function(e){e.exports={name:"got",version:"9.6.0",description:"Simplified HTTP requests",license:"MIT",repository:"sindresorhus/got",main:"source",engines:{node:">=8.6"},scripts:{test:"xo && nyc ava",release:"np"},files:["source"],keywords:["http","https","get","got","url","uri","request","util","utility","simple","curl","wget","fetch","net","network","electron"],dependencies:{"@sindresorhus/is":"^0.14.0","@szmarczak/http-timer":"^1.1.2","cacheable-request":"^6.0.0","decompress-response":"^3.3.0",duplexer3:"^0.1.4","get-stream":"^4.1.0","lowercase-keys":"^1.0.1","mimic-response":"^1.0.1","p-cancelable":"^1.0.0","to-readable-stream":"^1.0.0","url-parse-lax":"^3.0.0"},devDependencies:{ava:"^1.1.0",coveralls:"^3.0.0",delay:"^4.1.0","form-data":"^2.3.3","get-port":"^4.0.0",np:"^3.1.0",nyc:"^13.1.0","p-event":"^2.1.0",pem:"^1.13.2",proxyquire:"^2.0.1",sinon:"^7.2.2","slow-stream":"0.0.4",tempfile:"^2.0.0",tempy:"^0.2.1","tough-cookie":"^3.0.0",xo:"^0.24.0"},ava:{concurrency:4},browser:{"decompress-response":false,electron:false}}},,,,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(65);const a=(e,t)=>new n(e,t).patch;e.exports=a},function(e){e.exports=((e={},t={})=>{const i=Object.keys(e);const n=new Set(Object.keys(t));return!i.some(e=>n.has(e))})},,,function(e){e.exports={name:"openid-client",version:"3.15.9",description:"OpenID Connect Relying Party (RP, Client) implementation for Node.js runtime, supports passportjs",keywords:["auth","authentication","basic","certified","client","connect","dynamic","electron","hybrid","identity","implicit","oauth","oauth2","oidc","openid","passport","relying party","strategy"],homepage:"https://github.com/panva/node-openid-client",repository:"panva/node-openid-client",license:"MIT",author:"Filip Skokan <panva.ip@gmail.com>",files:["lib","types/index.d.ts"],funding:"https://github.com/sponsors/panva",main:"lib/index.js",types:"types/index.d.ts",scripts:{coverage:"nyc mocha test/**/*.test.js",lint:"eslint lib test","lint-ts":"npx typescript@~3.6.0 --build types","lint-fix":"eslint lib test --fix",test:"mocha test/**/*.test.js"},dependencies:{"@types/got":"^9.6.9",base64url:"^3.0.1",got:"^9.6.0",jose:"^1.27.1","lru-cache":"^6.0.0","make-error":"^1.3.6","object-hash":"^2.0.1","oidc-token-hash":"^5.0.0","p-any":"^3.0.0"},devDependencies:{"@commitlint/cli":"^9.1.1","@commitlint/config-conventional":"^9.1.1","@types/passport":"^1.0.4",chai:"^4.2.0",eslint:"^7.4.0","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.21.2",husky:"^4.0.0",mocha:"^8.0.1",nock:"^13.0.2",nyc:"^15.1.0","readable-mock-req":"^0.2.2",sinon:"^9.0.0",timekeeper:"^2.2.0"},engines:{node:"^10.13.0 || >=12.0.0"},commitlint:{extends:["@commitlint/config-conventional"]},husky:{hooks:{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},nyc:{reporter:["lcov","text-summary"]}}},,,function(e,t,i){"use strict";var n=i(894),a=i(855).toHash;e.exports=function rules(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}];var t=["type","$comment"];var i=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"];var r=["number","integer","string","array","object","boolean","null"];e.all=a(t);e.types=a(r);e.forEach(function(i){i.rules=i.rules.map(function(i){var a;if(typeof i=="object"){var r=Object.keys(i)[0];a=i[r];i=r;a.forEach(function(i){t.push(i);e.all[i]=true})}t.push(i);var s=e.all[i]={keyword:i,code:n[i],implements:a};return s});e.all.$comment={keyword:"$comment",code:n.$comment};if(i.type)e.types[i.type]=i});e.keywords=a(t.concat(i));e.custom={};return e}},,,function(e,t,i){const n=i(65);const a=i(830);const{re:r,t:s}=i(976);const o=(e,t)=>{if(e instanceof n){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let i=null;if(!t.rtl){i=e.match(r[s.COERCE])}else{let t;while((t=r[s.COERCERTL].exec(e))&&(!i||i.index+i[0].length!==e.length)){if(!i||t.index+t[0].length!==i.index+i[0].length){i=t}r[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length}r[s.COERCERTL].lastIndex=-1}if(i===null)return null;return a(`${i[2]}.${i[3]||"0"}.${i[4]||"0"}`,t)};e.exports=o},function(e){e.exports=defer;function defer(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(t){t(e)}else{setTimeout(e,0)}}},,function(e,t,i){e.exports=PrivateKey;var n=i(872);var a=i(215).Buffer;var r=i(98);var s=i(373);var o=i(400);var u=i(575);var l=i(753);var c=i(669);var d=i(270);var p=i(532);var f=p.generateECDSA;var h=p.generateED25519;var m=i(635);var b=i(196);var g=i(852);var y=l.InvalidAlgorithmError;var S=l.KeyParseError;var w=l.KeyEncryptedError;var v={};v["auto"]=i(241);v["pem"]=i(268);v["pkcs1"]=i(449);v["pkcs8"]=i(707);v["rfc4253"]=i(538);v["ssh-private"]=i(78);v["openssh"]=v["ssh-private"];v["ssh"]=v["ssh-private"];v["dnssec"]=i(982);function PrivateKey(e){n.object(e,"options");g.call(this,e);this._pubCache=undefined}c.inherits(PrivateKey,g);PrivateKey.formats=v;PrivateKey.prototype.toBuffer=function(e,t){if(e===undefined)e="pkcs1";n.string(e,"format");n.object(v[e],"formats[format]");n.optionalObject(t,"options");return v[e].write(this,t)};PrivateKey.prototype.hash=function(e,t){return this.toPublic().hash(e,t)};PrivateKey.prototype.fingerprint=function(e,t){return this.toPublic().fingerprint(e,t)};PrivateKey.prototype.toPublic=function(){if(this._pubCache)return this._pubCache;var e=r.info[this.type];var t=[];for(var i=0;i<e.parts.length;++i){var n=e.parts[i];t.push(this.part[n])}this._pubCache=new g({type:this.type,source:this,parts:t});if(this.comment)this._pubCache.comment=this.comment;return this._pubCache};PrivateKey.prototype.derive=function(e){n.string(e,"type");var t,i,r;if(this.type==="ed25519"&&e==="curve25519"){t=this.part.k.data;if(t[0]===0)t=t.slice(1);r=b.box.keyPair.fromSecretKey(new Uint8Array(t));i=a.from(r.publicKey);return new PrivateKey({type:"curve25519",parts:[{name:"A",data:d.mpNormalize(i)},{name:"k",data:d.mpNormalize(t)}]})}else if(this.type==="curve25519"&&e==="ed25519"){t=this.part.k.data;if(t[0]===0)t=t.slice(1);r=b.sign.keyPair.fromSeed(new Uint8Array(t));i=a.from(r.publicKey);return new PrivateKey({type:"ed25519",parts:[{name:"A",data:d.mpNormalize(i)},{name:"k",data:d.mpNormalize(t)}]})}throw new Error("Key derivation not supported from "+this.type+" to "+e)};PrivateKey.prototype.createVerify=function(e){return this.toPublic().createVerify(e)};PrivateKey.prototype.createSign=function(e){if(e===undefined)e=this.defaultHashAlgorithm();n.string(e,"hash algorithm");if(this.type==="ed25519"&&m!==undefined)return new m.Signer(this,e);if(this.type==="curve25519")throw new Error("Curve25519 keys are not suitable for "+"signing or verification");var t,i,r;try{i=e.toUpperCase();t=s.createSign(i)}catch(e){r=e}if(t===undefined||r instanceof Error&&r.message.match(/Unknown message digest/)){i="RSA-";i+=e.toUpperCase();t=s.createSign(i)}n.ok(t,"failed to create verifier");var o=t.sign.bind(t);var l=this.toBuffer("pkcs1");var c=this.type;var d=this.curve;t.sign=function(){var t=o(l);if(typeof t==="string")t=a.from(t,"binary");t=u.parse(t,c,"asn1");t.hashAlgorithm=e;t.curve=d;return t};return t};PrivateKey.parse=function(e,t,i){if(typeof e!=="string")n.buffer(e,"data");if(t===undefined)t="auto";n.string(t,"format");if(typeof i==="string")i={filename:i};n.optionalObject(i,"options");if(i===undefined)i={};n.optionalString(i.filename,"options.filename");if(i.filename===undefined)i.filename="(unnamed)";n.object(v[t],"formats[format]");try{var a=v[t].read(e,i);n.ok(a instanceof PrivateKey,"key is not a private key");if(!a.comment)a.comment=i.filename;return a}catch(e){if(e.name==="KeyEncryptedError")throw e;throw new S(i.filename,t,e)}};PrivateKey.isPrivateKey=function(e,t){return d.isCompatible(e,PrivateKey,t)};PrivateKey.generate=function(e,t){if(t===undefined)t={};n.object(t,"options");switch(e){case"ecdsa":if(t.curve===undefined)t.curve="nistp256";n.string(t.curve,"options.curve");return f(t.curve);case"ed25519":return h();default:throw new Error("Key generation not supported with key "+'type "'+e+'"')}};PrivateKey.prototype._sshpkApiVersion=[1,6];PrivateKey._oldVersionDetect=function(e){n.func(e.toPublic);n.func(e.createSign);if(e.derive)return[1,3];if(e.defaultHashAlgorithm)return[1,2];if(e.formats["auto"])return[1,1];return[1,0]}},function(e,t,i){const n=i(830);const a=(e,t)=>{const i=n(e.trim().replace(/^[=v]+/,""),t);return i?i.version:null};e.exports=a},function(e,t,i){"use strict";const n=i(534);e.exports=(e=>n.nodeStream(e)&&n.function(e.getBoundary))},function(e,t,i){var n=i(602);var a=i(747);n.register("touch",_touch,{cmdOptions:{a:"atime_only",c:"no_create",d:"date",m:"mtime_only",r:"reference"}});function _touch(e,t){if(!t){n.error("no files given")}else if(typeof t==="string"){t=[].slice.call(arguments,1)}else{n.error("file arg should be a string file path or an Array of string file paths")}t.forEach(function(t){touchFile(e,t)});return""}function touchFile(e,t){var i=tryStatFile(t);if(i&&i.isDirectory()){return}if(!i&&e.no_create){return}a.closeSync(a.openSync(t,"a"));var r=new Date;var s=e.date||r;var o=e.date||r;if(e.reference){var u=tryStatFile(e.reference);if(!u){n.error("failed to get attributess of "+e.reference)}s=u.mtime;o=u.atime}else if(e.date){s=e.date;o=e.date}if(e.atime_only&&e.mtime_only){}else if(e.atime_only){s=i.mtime}else if(e.mtime_only){o=i.atime}a.utimesSync(t,o,s)}e.exports=_touch;function tryStatFile(e){try{return n.statFollowLinks(e)}catch(e){return null}}},,function(e,t,i){const n=i(456);const a=i(208);e.exports=((e,t)=>{["A128GCMKW","A192GCMKW","A256GCMKW"].forEach(i=>{const r=i.substr(0,7);const s=parseInt(i.substr(1,3),10);const o=e.encrypt.get(r);const u=e.decrypt.get(r);if(o&&u){e.keyManagementEncrypt.set(i,(e,t)=>{const r=n(i);const{ciphertext:s,tag:u}=o(e,t,{iv:r});return{wrapped:s,header:{tag:a.encodeBuffer(u),iv:a.encodeBuffer(r)}}});e.keyManagementDecrypt.set(i,u);t.oct.wrapKey[i]=t.oct.unwrapKey[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.length===s)}})})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(422);n.__exportStar(i(587),t);n.__exportStar(i(920),t);n.__exportStar(i(290),t);n.__exportStar(i(125),t);n.__exportStar(i(376),t);n.__exportStar(i(525),t);n.__exportStar(i(19),t);n.__exportStar(i(971),t);n.__exportStar(i(636),t);n.__exportStar(i(695),t)},function(e,t,i){"use strict";const n=i(614);const{createHash:a}=i(373);const{createServer:r,STATUS_CODES:s}=i(363);const o=i(850);const u=i(925);const{format:l,parse:c}=i(271);const{GUID:d,kWebSocket:p}=i(60);const f=/^[+/0-9A-Za-z]{22}==$/;class WebSocketServer extends n{constructor(e,t){super();e={maxPayload:100*1024*1024,perMessageDeflate:false,handleProtocols:null,clientTracking:true,verifyClient:null,noServer:false,backlog:null,server:null,host:null,path:null,port:null,...e};if(e.port==null&&!e.server&&!e.noServer){throw new TypeError('One of the "port", "server", or "noServer" options must be specified')}if(e.port!=null){this._server=r((e,t)=>{const i=s[426];t.writeHead(426,{"Content-Length":i.length,"Content-Type":"text/plain"});t.end(i)});this._server.listen(e.port,e.host,e.backlog,t)}else if(e.server){this._server=e.server}if(this._server){this._removeListeners=addListeners(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(e,t,i)=>{this.handleUpgrade(e,t,i,t=>{this.emit("connection",t,e)})}})}if(e.perMessageDeflate===true)e.perMessageDeflate={};if(e.clientTracking)this.clients=new Set;this.options=e}address(){if(this.options.noServer){throw new Error('The server is operating in "noServer" mode')}if(!this._server)return null;return this._server.address()}close(e){if(e)this.once("close",e);if(this.clients){for(const e of this.clients)e.terminate()}const t=this._server;if(t){this._removeListeners();this._removeListeners=this._server=null;if(this.options.port!=null){t.close(()=>this.emit("close"));return}}process.nextTick(emitClose,this)}shouldHandle(e){if(this.options.path){const t=e.url.indexOf("?");const i=t!==-1?e.url.slice(0,t):e.url;if(i!==this.options.path)return false}return true}handleUpgrade(e,t,i,n){t.on("error",socketOnError);const a=e.headers["sec-websocket-key"]!==undefined?e.headers["sec-websocket-key"].trim():false;const r=+e.headers["sec-websocket-version"];const s={};if(e.method!=="GET"||e.headers.upgrade.toLowerCase()!=="websocket"||!a||!f.test(a)||r!==8&&r!==13||!this.shouldHandle(e)){return abortHandshake(t,400)}if(this.options.perMessageDeflate){const i=new o(this.options.perMessageDeflate,true,this.options.maxPayload);try{const n=c(e.headers["sec-websocket-extensions"]);if(n[o.extensionName]){i.accept(n[o.extensionName]);s[o.extensionName]=i}}catch(e){return abortHandshake(t,400)}}if(this.options.verifyClient){const o={origin:e.headers[`${r===8?"sec-websocket-origin":"origin"}`],secure:!!(e.connection.authorized||e.connection.encrypted),req:e};if(this.options.verifyClient.length===2){this.options.verifyClient(o,(r,o,u,l)=>{if(!r){return abortHandshake(t,o||401,u,l)}this.completeUpgrade(a,s,e,t,i,n)});return}if(!this.options.verifyClient(o))return abortHandshake(t,401)}this.completeUpgrade(a,s,e,t,i,n)}completeUpgrade(e,t,i,n,r,s){if(!n.readable||!n.writable)return n.destroy();if(n[p]){throw new Error("server.handleUpgrade() was called more than once with the same "+"socket, possibly due to a misconfiguration")}const c=a("sha1").update(e+d).digest("base64");const f=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${c}`];const h=new u(null);let m=i.headers["sec-websocket-protocol"];if(m){m=m.trim().split(/ *, */);if(this.options.handleProtocols){m=this.options.handleProtocols(m,i)}else{m=m[0]}if(m){f.push(`Sec-WebSocket-Protocol: ${m}`);h.protocol=m}}if(t[o.extensionName]){const e=t[o.extensionName].params;const i=l({[o.extensionName]:[e]});f.push(`Sec-WebSocket-Extensions: ${i}`);h._extensions=t}this.emit("headers",f,i);n.write(f.concat("\r\n").join("\r\n"));n.removeListener("error",socketOnError);h.setSocket(n,r,this.options.maxPayload);if(this.clients){this.clients.add(h);h.on("close",()=>this.clients.delete(h))}s(h)}}e.exports=WebSocketServer;function addListeners(e,t){for(const i of Object.keys(t))e.on(i,t[i]);return function removeListeners(){for(const i of Object.keys(t)){e.removeListener(i,t[i])}}}function emitClose(e){e.emit("close")}function socketOnError(){this.destroy()}function abortHandshake(e,t,i,n){if(e.writable){i=i||s[t];n={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(i),...n};e.write(`HTTP/1.1 ${t} ${s[t]}\r\n`+Object.keys(n).map(e=>`${e}: ${n[e]}`).join("\r\n")+"\r\n\r\n"+i)}e.removeListener("error",socketOnError);e.destroy()}},function(e,t,i){const{deflateRawSync:n}=i(903);const{KEYOBJECT:a}=i(771);const r=i(456);const s=i(208);const o=i(322);const u=i(274);const{createSecretKey:l}=i(40);const c=i(545);const d=i(592);const{JWEInvalid:p}=i(466);const{check:f,keyManagementEncrypt:h,encrypt:m}=i(179);const b=i(975);const g=i(201);const y=i(17);const S=Symbol("PROCESS_RECIPIENT");class Encrypt{constructor(e,t,i,n){if(!Buffer.isBuffer(e)&&typeof e!=="string"){throw new TypeError("cleartext argument must be a Buffer or a string")}e=Buffer.from(e);if(n!==undefined&&!Buffer.isBuffer(n)&&typeof n!=="string"){throw new TypeError("aad argument must be a Buffer or a string when provided")}n=n?Buffer.from(n):undefined;if(t!==undefined&&!u(t)){throw new TypeError("protectedHeader argument must be a plain object when provided")}if(i!==undefined&&!u(i)){throw new TypeError("unprotectedHeader argument must be a plain object when provided")}this._recipients=[];this._cleartext=e;this._aad=n;this._unprotected=i?c(i):undefined;this._protected=t?c(t):undefined}recipient(e,t){e=o(e);if(t!==undefined&&!u(t)){throw new TypeError("header argument must be a plain object when provided")}this._recipients.push({key:e,header:t?c(t):undefined});return this}[S](e){const t=this._unprotected;const i=this._protected;const{length:n}=this._recipients;const r={...i,...t,...e.header};const{key:o}=e;const u=r.enc;let c=r.alg;if(o.use==="sig"){throw new TypeError('a key with "use":"sig" is not usable for encryption')}if(c==="dir"){f(o,"encrypt",u)}else if(c){f(o,"keyManagementEncrypt",c)}else{c=o.alg||[...o.algorithms("wrapKey")][0]||[...o.algorithms("deriveKey")][0];if(c==="ECDH-ES"&&n!==1){c=[...o.algorithms("deriveKey")][1]}if(!c){throw new p('could not resolve a usable "alg" for a recipient')}if(n===1){if(i){i.alg=c}else{this._protected={alg:c}}}else{if(e.header){e.header.alg=c}else{e.header={alg:c}}}}let m;let b;if(o.kty==="oct"&&c==="dir"){this._cek=d(o[a],{use:"enc",alg:u})}else{f(this._cek,"encrypt",u);({wrapped:m,header:b}=h(c,o,this._cek[a].export(),{enc:u,alg:c}));if(c==="ECDH-ES"){this._cek=d(l(m),{use:"enc",alg:u})}}if(c==="dir"||c==="ECDH-ES"){e.encrypted_key=""}else{e.encrypted_key=s.encodeBuffer(m)}if(b){e.generatedHeader=b}}encrypt(e){const t=b[e];if(!t){throw new TypeError('serialization must be one of "compact", "flattened", "general"')}if(!this._recipients.length){throw new p("missing recipients")}t.validate(this._protected,this._unprotected,this._aad,this._recipients);let i=y(this._protected,this._unprotected,this._recipients,false,this._protected?this._protected.crit:undefined);if(!i){i="A128CBC-HS256";if(this._protected){this._protected.enc=i}else{this._protected={enc:i}}}const a={};this._cek=g(i);for(const e of this._recipients){this[S](e)}const o=r(i);a.iv=s.encodeBuffer(o);if(this._recipients.length===1&&this._recipients[0].generatedHeader){const[{generatedHeader:e}]=this._recipients;delete this._recipients[0].generatedHeader;this._protected={...this._protected,...e}}if(this._protected){a.protected=s.JSON.encode(this._protected)}a.unprotected=this._unprotected;let u;if(this._aad){a.aad=s.encode(this._aad);u=Buffer.concat([Buffer.from(a.protected||""),Buffer.from("."),Buffer.from(a.aad)])}else{u=Buffer.from(a.protected||"")}let l=this._cleartext;if(this._protected&&"zip"in this._protected){l=n(l)}const{ciphertext:c,tag:d}=m(i,this._cek,l,{iv:o,aad:u});a.tag=s.encodeBuffer(d);a.ciphertext=s.encodeBuffer(c);return t(a,this._recipients)}}e.exports=Encrypt},,function(e){e.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/3gpp-ims+xml":{source:"iana",compressible:true},"application/a2l":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:true},"application/alto-costmap+json":{source:"iana",compressible:true},"application/alto-costmapfilter+json":{source:"iana",compressible:true},"application/alto-directory+json":{source:"iana",compressible:true},"application/alto-endpointcost+json":{source:"iana",compressible:true},"application/alto-endpointcostparams+json":{source:"iana",compressible:true},"application/alto-endpointprop+json":{source:"iana",compressible:true},"application/alto-endpointpropparams+json":{source:"iana",compressible:true},"application/alto-error+json":{source:"iana",compressible:true},"application/alto-networkmap+json":{source:"iana",compressible:true},"application/alto-networkmapfilter+json":{source:"iana",compressible:true},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:true},"application/alto-updatestreamparams+json":{source:"iana",compressible:true},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:true,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:true,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:true,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:true,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:true,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:true,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:true},"application/atsc-rsat+xml":{source:"iana",compressible:true,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:true},"application/bacnet-xdd+zip":{source:"iana",compressible:false},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:false,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/calendar+json":{source:"iana",compressible:true},"application/calendar+xml":{source:"iana",compressible:true,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/cap+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:true},"application/ccxml+xml":{source:"iana",compressible:true,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:true,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:true},"application/cellml+xml":{source:"iana",compressible:true},"application/cfw":{source:"iana"},"application/clue+xml":{source:"iana",compressible:true},"application/clue_info+xml":{source:"iana",compressible:true},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:true},"application/coap-group+json":{source:"iana",compressible:true},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:true},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:true},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:true},"application/cstadata+xml":{source:"iana",compressible:true},"application/csvm+json":{source:"iana",compressible:true},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:true},"application/dash+xml":{source:"iana",compressible:true,extensions:["mpd"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:true,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:true},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:true},"application/dicom+xml":{source:"iana",compressible:true},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:true},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:true,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:true},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:true,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:true,extensions:["ecma","es"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:false},"application/edifact":{source:"iana",compressible:false},"application/efi":{source:"iana"},"application/emergencycalldata.comment+xml":{source:"iana",compressible:true},"application/emergencycalldata.control+xml":{source:"iana",compressible:true},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:true},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:true},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:true},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:true},"application/emergencycalldata.veds+xml":{source:"iana",compressible:true},"application/emma+xml":{source:"iana",compressible:true,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:true,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:true},"application/epub+zip":{source:"iana",compressible:false,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:true},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:true,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:true},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/fido.trusted-apps+json":{compressible:true},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:false},"application/framework-attributes+xml":{source:"iana",compressible:true},"application/geo+json":{source:"iana",compressible:true,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:true},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:true,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:true,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:false,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:true},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:true},"application/ibe-pkg-reply+xml":{source:"iana",compressible:true},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:true,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:true,extensions:["its"]},"application/java-archive":{source:"apache",compressible:false,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:false,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:false,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:true,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:true},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:true},"application/jrd+json":{source:"iana",compressible:true},"application/json":{source:"iana",charset:"UTF-8",compressible:true,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:true},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:true,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:true},"application/jwk-set+json":{source:"iana",compressible:true},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:true},"application/kpml-response+xml":{source:"iana",compressible:true},"application/ld+json":{source:"iana",compressible:true,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:true,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:true},"application/lost+xml":{source:"iana",compressible:true,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:true},"application/lpf+zip":{source:"iana",compressible:false},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:true,extensions:["mads"]},"application/manifest+json":{charset:"UTF-8",compressible:true,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:true,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:true,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:true},"application/mathml-presentation+xml":{source:"iana",compressible:true},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:true},"application/mbms-deregister+xml":{source:"iana",compressible:true},"application/mbms-envelope+xml":{source:"iana",compressible:true},"application/mbms-msk+xml":{source:"iana",compressible:true},"application/mbms-msk-response+xml":{source:"iana",compressible:true},"application/mbms-protection-description+xml":{source:"iana",compressible:true},"application/mbms-reception-report+xml":{source:"iana",compressible:true},"application/mbms-register+xml":{source:"iana",compressible:true},"application/mbms-register-response+xml":{source:"iana",compressible:true},"application/mbms-schedule+xml":{source:"iana",compressible:true},"application/mbms-user-service-description+xml":{source:"iana",compressible:true},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:true},"application/media_control+xml":{source:"iana",compressible:true},"application/mediaservercontrol+xml":{source:"iana",compressible:true,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:true},"application/metalink+xml":{source:"apache",compressible:true,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:true,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:true,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:true,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:true,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:true,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:true,extensions:["xdf"]},"application/mrb-publish+xml":{source:"iana",compressible:true,extensions:["xdf"]},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/msword":{source:"iana",compressible:false,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:true},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:true},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:false,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:true},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:true,extensions:["opf"]},"application/ogg":{source:"iana",compressible:false,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:true,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p2p-overlay+xml":{source:"iana",compressible:true,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:true,extensions:["xer"]},"application/pdf":{source:"iana",compressible:false,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:false,extensions:["pgp"]},"application/pgp-keys":{source:"iana"},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:true,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/postscript":{source:"iana",compressible:true,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:true},"application/problem+json":{source:"iana",compressible:true},"application/problem+xml":{source:"iana",compressible:true},"application/provenance+xml":{source:"iana",compressible:true,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.hpub+zip":{source:"iana",compressible:false},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:true},"application/pskc+xml":{source:"iana",compressible:true,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:true},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:true,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:true},"application/rdf+xml":{source:"iana",compressible:true,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:true,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:true},"application/resource-lists+xml":{source:"iana",compressible:true,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:true,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:true},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:true},"application/rls-services+xml":{source:"iana",compressible:true,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:true,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:true,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:true,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:true,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:true,extensions:["rss"]},"application/rtf":{source:"iana",compressible:true,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:true},"application/samlmetadata+xml":{source:"iana",compressible:true},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:true,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:true},"application/scim+json":{source:"iana",compressible:true},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:true},"application/senml+xml":{source:"iana",compressible:true,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:true},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:true},"application/sensml+xml":{source:"iana",compressible:true,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:true},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:true,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:true},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:true,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:true},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:true,extensions:["srx"]},"application/spirits-event+xml":{source:"iana",compressible:true},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:true,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:true,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:true,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:true,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:true},"application/swid+xml":{source:"iana",compressible:true,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:true},"application/taxii+json":{source:"iana",compressible:true},"application/td+json":{source:"iana",compressible:true},"application/tei+xml":{source:"iana",compressible:true,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:true,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:true},"application/tnauthlist":{source:"iana"},"application/toml":{compressible:true,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana"},"application/ttml+xml":{source:"iana",compressible:true,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:true},"application/urc-ressheet+xml":{source:"iana",compressible:true,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:true},"application/urc-uisocketdesc+xml":{source:"iana",compressible:true},"application/vcard+json":{source:"iana",compressible:true},"application/vcard+xml":{source:"iana",compressible:true},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:true,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:true},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:true},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:true},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:true},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:true},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:true},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:true},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:true},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:true},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:false,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:true,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:true},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:true},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:false,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:true},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:true},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:true},"application/vnd.apple.installer+xml":{source:"iana",compressible:true,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["keynote"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:false,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:true},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:true},"application/vnd.avistar+xml":{source:"iana",compressible:true},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:true,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:true},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:true},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:true},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:true},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:true},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:true,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:true,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:true},"application/vnd.collection.doc+json":{source:"iana",compressible:true},"application/vnd.collection.next+json":{source:"iana",compressible:true},"application/vnd.comicbook+zip":{source:"iana",compressible:false},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:true},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:true,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:true},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:true},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:true},"application/vnd.cybank":{source:"iana"},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:false},"application/vnd.dart":{source:"iana",compressible:true,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:true},"application/vnd.dataresource+json":{source:"iana",compressible:true},"application/vnd.dbf":{source:"iana"},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:true,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:true},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:true},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:true},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:true},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:true},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:true},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:true},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:true},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:true},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:true},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:true},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:true},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:true},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:false},"application/vnd.eszigno3+xml":{source:"iana",compressible:true,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:true},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:false},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:false},"application/vnd.etsi.cug+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:true},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:true},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:true},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:true},"application/vnd.etsi.sci+xml":{source:"iana",compressible:true},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:true},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:true},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:false},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:false},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:true},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:true},"application/vnd.geo+json":{source:"iana",compressible:true},"application/vnd.geocube+xml":{source:"iana",compressible:true},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:false,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:false,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:false,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:true,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:false,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:true},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:false},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:true},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:true},"application/vnd.hal+xml":{source:"iana",compressible:true,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:true,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:true},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:true},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:true},"application/vnd.hyper-item+json":{source:"iana",compressible:true},"application/vnd.hyperdrive+json":{source:"iana",compressible:true},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:false},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:false},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:true},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:true},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:true},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:true},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:true},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:true},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:true},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:true},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:true},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:true},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:true},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:true},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:true},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:true,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:false},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:true},"application/vnd.las.las+xml":{source:"iana",compressible:true,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:true},"application/vnd.liberty-request+xml":{source:"iana",compressible:true},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:true,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:false},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana"},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:true},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:true},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:true},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:true},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:true},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:true},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:true,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:false,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:true,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:true},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:true},"application/vnd.ms-outlook":{compressible:false,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:true},"application/vnd.ms-powerpoint":{source:"iana",compressible:false,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:true},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:true},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:true},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:false,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:true},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:true},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:true},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:true},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:true},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:true,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:true},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:false,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:false,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:false,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:false,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:true},"application/vnd.oftn.l10n+json":{source:"iana",compressible:true},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:true},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:true},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:true},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:true},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:true},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:true},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:true},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:true},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:true},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:true},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:true},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:true},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:true},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:true},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:true},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:true},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:true},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:true},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:true},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:true},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:true},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:true,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:true},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:true},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:true},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:true},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:true},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:true},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:true},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:true},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:true},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:true},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:true},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:true,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:true,extensions:["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:false,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:false,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:false,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:true},"application/vnd.oracle.resource+json":{source:"iana",compressible:true},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:true},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:true},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:true},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:true},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:true},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana"},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:true,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:true},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:true,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:true},"application/vnd.shopkick+json":{source:"iana",compressible:true},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:true},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:true,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:true,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:true,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:true,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:true,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:true,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:true},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:true},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:true},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:true,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:true},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:true},"application/vnd.wv.ssp+xml":{source:"iana",compressible:true},"application/vnd.xacml+json":{source:"iana",compressible:true},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:true},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:true,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:true,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:true,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:true},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{compressible:true,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:true},"application/webpush-options+json":{source:"iana",compressible:true},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:true,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:true,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:false,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:false,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:false,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:false,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:false,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:false},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:true,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:true,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:true,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:false,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:true,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:false,extensions:["jnlp"]},"application/x-javascript":{compressible:true},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:false,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:false},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:true,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:false,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:false,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:true,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:false,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:false,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:true,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:true,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:true,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:true,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:true,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:false,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:true,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:true,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:true,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:true,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:true},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:true,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:false,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:true},"application/xaml+xml":{source:"apache",compressible:true,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:true,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:true,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:true,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:true,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:true,extensions:["xer"]},"application/xcap-ns+xml":{source:"iana",compressible:true,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:true},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:true},"application/xenc+xml":{source:"iana",compressible:true,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:true,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:true},"application/xliff+xml":{source:"iana",compressible:true,extensions:["xlf"]},"application/xml":{source:"iana",compressible:true,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:true,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:true},"application/xmpp+xml":{source:"iana",compressible:true},"application/xop+xml":{source:"iana",compressible:true,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:true,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:true,extensions:["xslt"]},"application/xspf+xml":{source:"apache",compressible:true,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:true,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:true},"application/yang-data+xml":{source:"iana",compressible:true},"application/yang-patch+json":{source:"iana",compressible:true},"application/yang-patch+xml":{source:"iana",compressible:true},"application/yin+xml":{source:"iana",compressible:true,extensions:["yin"]},"application/zip":{source:"iana",compressible:false,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:false,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana"},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:false,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:false},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:false,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:false,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:false,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:false,extensions:["oga","ogg","spx"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:false},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:false},"audio/vorbis":{source:"iana",compressible:false},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:false,extensions:["wav"]},"audio/wave":{compressible:false,extensions:["wav"]},"audio/webm":{source:"apache",compressible:false,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:false,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:false,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:true,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:true,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:false,extensions:["apng"]},"image/avci":{source:"iana"},"image/avcs":{source:"iana"},"image/bmp":{source:"iana",compressible:true,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:false,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:false,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:false,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:false,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:false,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:false},"image/png":{source:"iana",compressible:false,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:true,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:false,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:true,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:true,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:true,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:false},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:false},"message/imdn+xml":{source:"iana",compressible:true},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:false},"message/rfc822":{source:"iana",compressible:true,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/gltf+json":{source:"iana",compressible:true,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:true,extensions:["glb"]},"model/iges":{source:"iana",compressible:false,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:false,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:true,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:true},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.usdz+zip":{source:"iana",compressible:false,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:false,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:false,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:false,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:true,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:false},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:false},"multipart/form-data":{source:"iana",compressible:false},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:false},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:false},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:true,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:true},"text/cmd":{compressible:true},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/css":{source:"iana",charset:"UTF-8",compressible:true,extensions:["css"]},"text/csv":{source:"iana",compressible:true,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:true,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:true},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:true,extensions:["jsx"]},"text/less":{compressible:true,extensions:["less"]},"text/markdown":{source:"iana",compressible:true,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:true,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:true,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:true,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:true,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:true,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shex":{extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:true,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:true,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:true,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:true,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:true},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:true},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:true,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:true,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:true,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:true,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:true,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana"},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:false,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:false,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:false,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:false,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/webm":{source:"apache",compressible:false,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:false,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:false,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:false,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:true},"x-shader/x-vertex":{compressible:true}}},,function(e,t,i){"use strict";var n=i(805),a=i(862),r=i(366),s=i(955),o=i(156),u=i(881),l=i(496),c=i(628),d=i(855);e.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=i(559);var p=i(45);Ajv.prototype.addKeyword=p.add;Ajv.prototype.getKeyword=p.get;Ajv.prototype.removeKeyword=p.remove;Ajv.prototype.validateKeyword=p.validate;var f=i(844);Ajv.ValidationError=f.Validation;Ajv.MissingRefError=f.MissingRef;Ajv.$dataMetaSchema=c;var h="http://json-schema.org/draft-07/schema";var m=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var b=["/properties"];function Ajv(e){if(!(this instanceof Ajv))return new Ajv(e);e=this._opts=d.copy(e)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=u(e.format);this._cache=e.cache||new r;this._loadingSchemas={};this._compilations=[];this.RULES=l();this._getId=chooseGetId(e);e.loopRequired=e.loopRequired||Infinity;if(e.errorDataPath=="property")e._errorDataPathProperty=true;if(e.serialize===undefined)e.serialize=o;this._metaOpts=getMetaSchemaOptions(this);if(e.formats)addInitialFormats(this);if(e.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof e.meta=="object")this.addMetaSchema(e.meta);if(e.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(e,t){var i;if(typeof e=="string"){i=this.getSchema(e);if(!i)throw new Error('no schema with key or ref "'+e+'"')}else{var n=this._addSchema(e);i=n.validate||this._compile(n)}var a=i(t);if(i.$async!==true)this.errors=i.errors;return a}function compile(e,t){var i=this._addSchema(e,undefined,t);return i.validate||this._compile(i)}function addSchema(e,t,i,n){if(Array.isArray(e)){for(var r=0;r<e.length;r++)this.addSchema(e[r],undefined,i,n);return this}var s=this._getId(e);if(s!==undefined&&typeof s!="string")throw new Error("schema id must be string");t=a.normalizeId(t||s);checkUnique(this,t);this._schemas[t]=this._addSchema(e,i,n,true);return this}function addMetaSchema(e,t,i){this.addSchema(e,t,i,true);return this}function validateSchema(e,t){var i=e.$schema;if(i!==undefined&&typeof i!="string")throw new Error("$schema must be a string");i=i||this._opts.defaultMeta||defaultMeta(this);if(!i){this.logger.warn("meta-schema not available");this.errors=null;return true}var n=this.validate(i,e);if(!n&&t){var a="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(a);else throw new Error(a)}return n}function defaultMeta(e){var t=e._opts.meta;e._opts.defaultMeta=typeof t=="object"?e._getId(t)||t:e.getSchema(h)?h:undefined;return e._opts.defaultMeta}function getSchema(e){var t=_getSchemaObj(this,e);switch(typeof t){case"object":return t.validate||this._compile(t);case"string":return this.getSchema(t);case"undefined":return _getSchemaFragment(this,e)}}function _getSchemaFragment(e,t){var i=a.schema.call(e,{schema:{}},t);if(i){var r=i.schema,o=i.root,u=i.baseId;var l=n.call(e,r,o,undefined,u);e._fragments[t]=new s({ref:t,fragment:true,schema:r,root:o,baseId:u,validate:l});return l}}function _getSchemaObj(e,t){t=a.normalizeId(t);return e._schemas[t]||e._refs[t]||e._fragments[t]}function removeSchema(e){if(e instanceof RegExp){_removeAllSchemas(this,this._schemas,e);_removeAllSchemas(this,this._refs,e);return this}switch(typeof e){case"undefined":_removeAllSchemas(this,this._schemas);_removeAllSchemas(this,this._refs);this._cache.clear();return this;case"string":var t=_getSchemaObj(this,e);if(t)this._cache.del(t.cacheKey);delete this._schemas[e];delete this._refs[e];return this;case"object":var i=this._opts.serialize;var n=i?i(e):e;this._cache.del(n);var r=this._getId(e);if(r){r=a.normalizeId(r);delete this._schemas[r];delete this._refs[r]}}return this}function _removeAllSchemas(e,t,i){for(var n in t){var a=t[n];if(!a.meta&&(!i||i.test(n))){e._cache.del(a.cacheKey);delete t[n]}}}function _addSchema(e,t,i,n){if(typeof e!="object"&&typeof e!="boolean")throw new Error("schema should be object or boolean");var r=this._opts.serialize;var o=r?r(e):e;var u=this._cache.get(o);if(u)return u;n=n||this._opts.addUsedSchema!==false;var l=a.normalizeId(this._getId(e));if(l&&n)checkUnique(this,l);var c=this._opts.validateSchema!==false&&!t;var d;if(c&&!(d=l&&l==a.normalizeId(e.$schema)))this.validateSchema(e,true);var p=a.ids.call(this,e);var f=new s({id:l,schema:e,localRefs:p,cacheKey:o,meta:i});if(l[0]!="#"&&n)this._refs[l]=f;this._cache.put(o,f);if(c&&d)this.validateSchema(e,true);return f}function _compile(e,t){if(e.compiling){e.validate=callValidate;callValidate.schema=e.schema;callValidate.errors=null;callValidate.root=t?t:callValidate;if(e.schema.$async===true)callValidate.$async=true;return callValidate}e.compiling=true;var i;if(e.meta){i=this._opts;this._opts=this._metaOpts}var a;try{a=n.call(this,e.schema,t,e.localRefs)}catch(t){delete e.validate;throw t}finally{e.compiling=false;if(e.meta)this._opts=i}e.validate=a;e.refs=a.refs;e.refVal=a.refVal;e.root=a.root;return a;function callValidate(){var t=e.validate;var i=t.apply(this,arguments);callValidate.errors=t.errors;return i}}function chooseGetId(e){switch(e.schemaId){case"auto":return _get$IdOrId;case"id":return _getId;default:return _get$Id}}function _getId(e){if(e.$id)this.logger.warn("schema $id ignored",e.$id);return e.id}function _get$Id(e){if(e.id)this.logger.warn("schema id ignored",e.id);return e.$id}function _get$IdOrId(e){if(e.$id&&e.id&&e.$id!=e.id)throw new Error("schema $id is different from id");return e.$id||e.id}function errorsText(e,t){e=e||this.errors;if(!e)return"No errors";t=t||{};var i=t.separator===undefined?", ":t.separator;var n=t.dataVar===undefined?"data":t.dataVar;var a="";for(var r=0;r<e.length;r++){var s=e[r];if(s)a+=n+s.dataPath+" "+s.message+i}return a.slice(0,-i.length)}function addFormat(e,t){if(typeof t=="string")t=new RegExp(t);this._formats[e]=t;return this}function addDefaultMetaSchema(e){var t;if(e._opts.$data){t=i(339);e.addMetaSchema(t,t.$id,true)}if(e._opts.meta===false)return;var n=i(522);if(e._opts.$data)n=c(n,b);e.addMetaSchema(n,h,true);e._refs["http://json-schema.org/schema"]=h}function addInitialSchemas(e){var t=e._opts.schemas;if(!t)return;if(Array.isArray(t))e.addSchema(t);else for(var i in t)e.addSchema(t[i],i)}function addInitialFormats(e){for(var t in e._opts.formats){var i=e._opts.formats[t];e.addFormat(t,i)}}function addInitialKeywords(e){for(var t in e._opts.keywords){var i=e._opts.keywords[t];e.addKeyword(t,i)}}function checkUnique(e,t){if(e._schemas[t]||e._refs[t])throw new Error('schema with key or id "'+t+'" already exists')}function getMetaSchemaOptions(e){var t=d.copy(e._opts);for(var i=0;i<m.length;i++)delete t[m[i]];return t}function setLogger(e){var t=e._opts.logger;if(t===false){e.logger={log:noop,warn:noop,error:noop}}else{if(t===undefined)t=console;if(!(typeof t=="object"&&t.log&&t.warn&&t.error))throw new Error("logger must implement log, warn and error methods");e.logger=t}}function noop(){}},,,,function(e){const t=e=>typeof e!=="string"||e.length===0;e.exports.isNotString=t;e.exports.isString=function isString(e,i,n,a,r=false){if(r&&i===undefined){throw new e(`${n} is missing`,a,"missing")}if(i!==undefined&&t(i)){throw new e(`${n} must be a string`,a,"invalid")}}},function(e,t,i){"use strict";var n=i(750);function getPublicSuffix(e){return n.get(e)}t.getPublicSuffix=getPublicSuffix},,,function(e){e.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:true,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:true,readOnly:{type:"boolean",default:false},examples:{type:"array",items:true},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:true},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:false},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:true,enum:{type:"array",items:true,minItems:1,uniqueItems:true},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:true}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:true}},function(e,t,i){"use strict";const{URL:n,URLSearchParams:a}=i(835);const r=i(835);const s=i(534);const o=i(173);const u=i(86);const l=i(435);const c=i(504);const d=i(821);const p=i(433);const f=new Set([413,429,503]);const h=(e,t)=>{if(s.nullOrUndefined(e.headers)){e.headers={}}else{e.headers=u(e.headers)}if(e.baseUrl&&!e.baseUrl.toString().endsWith("/")){e.baseUrl+="/"}if(e.stream){e.json=false}if(s.nullOrUndefined(e.hooks)){e.hooks={}}else if(!s.object(e.hooks)){throw new TypeError(`Parameter \`hooks\` must be an object, not ${s(e.hooks)}`)}for(const i of p){if(s.nullOrUndefined(e.hooks[i])){if(t){e.hooks[i]=[...t.hooks[i]]}else{e.hooks[i]=[]}}}if(s.number(e.timeout)){e.gotTimeout={request:e.timeout}}else if(s.object(e.timeout)){e.gotTimeout=e.timeout}delete e.timeout;const{retry:i}=e;e.retry={retries:0,methods:[],statusCodes:[],errorCodes:[]};if(s.nonEmptyObject(t)&&i!==false){e.retry={...t.retry}}if(i!==false){if(s.number(i)){e.retry.retries=i}else{e.retry={...e.retry,...i}}}if(e.gotTimeout){e.retry.maxRetryAfter=Math.min(...[e.gotTimeout.request,e.gotTimeout.connection].filter(e=>!s.nullOrUndefined(e)))}if(s.array(e.retry.methods)){e.retry.methods=new Set(e.retry.methods.map(e=>e.toUpperCase()))}if(s.array(e.retry.statusCodes)){e.retry.statusCodes=new Set(e.retry.statusCodes)}if(s.array(e.retry.errorCodes)){e.retry.errorCodes=new Set(e.retry.errorCodes)}return e};const m=(e,t,i)=>{if(s.plainObject(e)){t={...e,...t};e=t.url||{};delete t.url}if(i){t=d({},i.options,t?h(t,i.options):{})}else{t=d({},h(t))}if(!s.string(e)&&!s.object(e)){throw new TypeError(`Parameter \`url\` must be a string or object, not ${s(e)}`)}if(s.string(e)){if(t.baseUrl){if(e.toString().startsWith("/")){e=e.toString().slice(1)}e=l(new n(e,t.baseUrl))}else{e=e.replace(/^unix:/,"http://$&");e=o(e)}}else if(s(e)==="URL"){e=l(e)}t=d({path:""},e,{protocol:e.protocol||"https:"},t);for(const e of t.hooks.init){const i=e(t);if(s.promise(i)){throw new TypeError("The `init` hook must be a synchronous function")}}const{baseUrl:r}=t;Object.defineProperty(t,"baseUrl",{set:()=>{throw new Error("Failed to set baseUrl. Options are normalized already.")},get:()=>r});const{query:u}=t;if(s.nonEmptyString(u)||s.nonEmptyObject(u)||u instanceof a){if(!s.string(u)){t.query=new a(u).toString()}t.path=`${t.path.split("?")[0]}?${t.query}`;delete t.query}if(t.hostname==="unix"){const e=/(.+?):(.+)/.exec(t.path);if(e){const[,i,n]=e;t={...t,socketPath:i,path:n,host:null}}}const{headers:p}=t;for(const[e,t]of Object.entries(p)){if(s.nullOrUndefined(t)){delete p[e]}}if(t.json&&s.undefined(p.accept)){p.accept="application/json"}if(t.decompress&&s.undefined(p["accept-encoding"])){p["accept-encoding"]="gzip, deflate"}const{body:m}=t;if(s.nullOrUndefined(m)){t.method=t.method?t.method.toUpperCase():"GET"}else{const e=s.object(m)&&!s.buffer(m)&&!s.nodeStream(m);if(!s.nodeStream(m)&&!s.string(m)&&!s.buffer(m)&&!(t.form||t.json)){throw new TypeError("The `body` option must be a stream.Readable, string or Buffer")}if(t.json&&!(e||s.array(m))){throw new TypeError("The `body` option must be an Object or Array when the `json` option is used")}if(t.form&&!e){throw new TypeError("The `body` option must be an Object when the `form` option is used")}if(c(m)){p["content-type"]=p["content-type"]||`multipart/form-data; boundary=${m.getBoundary()}`}else if(t.form){p["content-type"]=p["content-type"]||"application/x-www-form-urlencoded";t.body=new a(m).toString()}else if(t.json){p["content-type"]=p["content-type"]||"application/json";t.body=JSON.stringify(m)}t.method=t.method?t.method.toUpperCase():"POST"}if(!s.function(t.retry.retries)){const{retries:e}=t.retry;t.retry.retries=((i,n)=>{if(i>e){return 0}if((!n||!t.retry.errorCodes.has(n.code))&&(!t.retry.methods.has(n.method)||!t.retry.statusCodes.has(n.statusCode))){return 0}if(Reflect.has(n,"headers")&&Reflect.has(n.headers,"retry-after")&&f.has(n.statusCode)){let e=Number(n.headers["retry-after"]);if(s.nan(e)){e=Date.parse(n.headers["retry-after"])-Date.now()}else{e*=1e3}if(e>t.retry.maxRetryAfter){return 0}return e}if(n.statusCode===413){return 0}const a=Math.random()*100;return 2**(i-1)*1e3+a})}return t};const b=e=>m(r.format(e),e);e.exports=m;e.exports.preNormalize=h;e.exports.reNormalize=b},,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 Exec{constructor(e,t){if(t){this.handler=t}else{this.handler=new s.WebSocketHandler(e)}}exec(e,t,i,o,u,l,c,d,p){return n.__awaiter(this,void 0,void 0,function*(){const n={stdout:u!=null,stderr:l!=null,stdin:c!=null,tty:d,command:o,container:i};const f=a.stringify(n);const h=`/api/v1/namespaces/${e}/pods/${t}/exec?${f}`;const m=yield this.handler.connect(h,null,(e,t)=>{const i=s.WebSocketHandler.handleStandardStreams(e,t,u,l);if(i!=null){if(p){p(i)}return false}return true});if(c!=null){s.WebSocketHandler.handleStandardInput(m,c,s.WebSocketHandler.StdinStream)}if(r.isResizable(u)){this.terminalSizeQueue=new r.TerminalSizeQueue;s.WebSocketHandler.handleStandardInput(m,this.terminalSizeQueue,s.WebSocketHandler.ResizeStream);this.terminalSizeQueue.handleResizes(u)}return m})}}t.Exec=Exec},,,,,,function(e,t,i){const n=i(462);const a=(e,t,i)=>n(e,t,">",i);e.exports=a},function(e,t,i){e.exports={DiffieHellman:DiffieHellman,generateECDSA:generateECDSA,generateED25519:generateED25519};var n=i(872);var a=i(373);var r=i(215).Buffer;var s=i(98);var o=i(270);var u=i(196);var l=i(852);var c=i(502);var d=a.createECDH!==undefined;var p=i(886);var f=i(729);var h=i(242).BigInteger;function DiffieHellman(e){o.assertCompatible(e,l,[1,4],"key");this._isPriv=c.isPrivateKey(e,[1,3]);this._algo=e.type;this._curve=e.curve;this._key=e;if(e.type==="dsa"){if(!d){throw new Error("Due to bugs in the node 0.10 "+"crypto API, node 0.12.x or later is required "+"to use DH")}this._dh=a.createDiffieHellman(e.part.p.data,undefined,e.part.g.data,undefined);this._p=e.part.p;this._g=e.part.g;if(this._isPriv)this._dh.setPrivateKey(e.part.x.data);this._dh.setPublicKey(e.part.y.data)}else if(e.type==="ecdsa"){if(!d){this._ecParams=new X9ECParameters(this._curve);if(this._isPriv){this._priv=new ECPrivate(this._ecParams,e.part.d.data)}return}var t={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[e.curve];this._dh=a.createECDH(t);if(typeof this._dh!=="object"||typeof this._dh.setPrivateKey!=="function"){d=false;DiffieHellman.call(this,e);return}if(this._isPriv)this._dh.setPrivateKey(e.part.d.data);this._dh.setPublicKey(e.part.Q.data)}else if(e.type==="curve25519"){if(this._isPriv){o.assertCompatible(e,c,[1,5],"key");this._priv=e.part.k.data}}else{throw new Error("DH not supported for "+e.type+" keys")}}DiffieHellman.prototype.getPublicKey=function(){if(this._isPriv)return this._key.toPublic();return this._key};DiffieHellman.prototype.getPrivateKey=function(){if(this._isPriv)return this._key;else return undefined};DiffieHellman.prototype.getKey=DiffieHellman.prototype.getPrivateKey;DiffieHellman.prototype._keyCheck=function(e,t){n.object(e,"key");if(!t)o.assertCompatible(e,c,[1,3],"key");o.assertCompatible(e,l,[1,4],"key");if(e.type!==this._algo){throw new Error("A "+e.type+" key cannot be used in "+this._algo+" Diffie-Hellman")}if(e.curve!==this._curve){throw new Error("A key from the "+e.curve+" curve "+"cannot be used with a "+this._curve+" Diffie-Hellman")}if(e.type==="dsa"){n.deepEqual(e.part.p,this._p,"DSA key prime does not match");n.deepEqual(e.part.g,this._g,"DSA key generator does not match")}};DiffieHellman.prototype.setKey=function(e){this._keyCheck(e);if(e.type==="dsa"){this._dh.setPrivateKey(e.part.x.data);this._dh.setPublicKey(e.part.y.data)}else if(e.type==="ecdsa"){if(d){this._dh.setPrivateKey(e.part.d.data);this._dh.setPublicKey(e.part.Q.data)}else{this._priv=new ECPrivate(this._ecParams,e.part.d.data)}}else if(e.type==="curve25519"){var t=e.part.k;if(!e.part.k)t=e.part.r;this._priv=t.data;if(this._priv[0]===0)this._priv=this._priv.slice(1);this._priv=this._priv.slice(0,32)}this._key=e;this._isPriv=true};DiffieHellman.prototype.setPrivateKey=DiffieHellman.prototype.setKey;DiffieHellman.prototype.computeSecret=function(e){this._keyCheck(e,true);if(!this._isPriv)throw new Error("DH exchange has not been initialized with "+"a private key yet");var t;if(this._algo==="dsa"){return this._dh.computeSecret(e.part.y.data)}else if(this._algo==="ecdsa"){if(d){return this._dh.computeSecret(e.part.Q.data)}else{t=new ECPublic(this._ecParams,e.part.Q.data);return this._priv.deriveSharedSecret(t)}}else if(this._algo==="curve25519"){t=e.part.A.data;while(t[0]===0&&t.length>32)t=t.slice(1);var i=this._priv;n.strictEqual(t.length,32);n.strictEqual(i.length,32);var a=u.box.before(new Uint8Array(t),new Uint8Array(i));return r.from(a)}throw new Error("Invalid algorithm: "+this._algo)};DiffieHellman.prototype.generateKey=function(){var e=[];var t,i;if(this._algo==="dsa"){this._dh.generateKeys();e.push({name:"p",data:this._p.data});e.push({name:"q",data:this._key.part.q.data});e.push({name:"g",data:this._g.data});e.push({name:"y",data:this._dh.getPublicKey()});e.push({name:"x",data:this._dh.getPrivateKey()});this._key=new c({type:"dsa",parts:e});this._isPriv=true;return this._key}else if(this._algo==="ecdsa"){if(d){this._dh.generateKeys();e.push({name:"curve",data:r.from(this._curve)});e.push({name:"Q",data:this._dh.getPublicKey()});e.push({name:"d",data:this._dh.getPrivateKey()});this._key=new c({type:"ecdsa",curve:this._curve,parts:e});this._isPriv=true;return this._key}else{var s=this._ecParams.getN();var o=new h(a.randomBytes(s.bitLength()));var l=s.subtract(h.ONE);t=o.mod(l).add(h.ONE);i=this._ecParams.getG().multiply(t);t=r.from(t.toByteArray());i=r.from(this._ecParams.getCurve().encodePointHex(i),"hex");this._priv=new ECPrivate(this._ecParams,t);e.push({name:"curve",data:r.from(this._curve)});e.push({name:"Q",data:i});e.push({name:"d",data:t});this._key=new c({type:"ecdsa",curve:this._curve,parts:e});this._isPriv=true;return this._key}}else if(this._algo==="curve25519"){var p=u.box.keyPair();t=r.from(p.secretKey);i=r.from(p.publicKey);t=r.concat([t,i]);n.strictEqual(t.length,64);n.strictEqual(i.length,32);e.push({name:"A",data:i});e.push({name:"k",data:t});this._key=new c({type:"curve25519",parts:e});this._isPriv=true;return this._key}throw new Error("Invalid algorithm: "+this._algo)};DiffieHellman.prototype.generateKeys=DiffieHellman.prototype.generateKey;function X9ECParameters(e){var t=s.curves[e];n.object(t);var i=new h(t.p);var a=new h(t.a);var r=new h(t.b);var o=new h(t.n);var u=h.ONE;var l=new f.ECCurveFp(i,a,r);var c=l.decodePointHex(t.G.toString("hex"));this.curve=l;this.g=c;this.n=o;this.h=u}X9ECParameters.prototype.getCurve=function(){return this.curve};X9ECParameters.prototype.getG=function(){return this.g};X9ECParameters.prototype.getN=function(){return this.n};X9ECParameters.prototype.getH=function(){return this.h};function ECPublic(e,t){this._params=e;if(t[0]===0)t=t.slice(1);this._pub=e.getCurve().decodePointHex(t.toString("hex"))}function ECPrivate(e,t){this._params=e;this._priv=new h(o.mpNormalize(t))}ECPrivate.prototype.deriveSharedSecret=function(e){n.ok(e instanceof ECPublic);var t=e._pub.multiply(this._priv);return r.from(t.getX().toBigInteger().toByteArray())};function generateED25519(){var e=u.sign.keyPair();var t=r.from(e.secretKey);var i=r.from(e.publicKey);n.strictEqual(t.length,64);n.strictEqual(i.length,32);var a=[];a.push({name:"A",data:i});a.push({name:"k",data:t.slice(0,32)});var s=new c({type:"ed25519",parts:a});return s}function generateECDSA(e){var t=[];var i;if(d){var n={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[e];var s=a.createECDH(n);s.generateKeys();t.push({name:"curve",data:r.from(e)});t.push({name:"Q",data:s.getPublicKey()});t.push({name:"d",data:s.getPrivateKey()});i=new c({type:"ecdsa",curve:e,parts:t});return i}else{var o=new X9ECParameters(e);var u=o.getN();var l=Math.ceil((u.bitLength()+64)/8);var p=new h(a.randomBytes(l));var f=u.subtract(h.ONE);var m=p.mod(f).add(h.ONE);var b=o.getG().multiply(m);m=r.from(m.toByteArray());b=r.from(o.getCurve().encodePointHex(b),"hex");t.push({name:"curve",data:r.from(e)});t.push({name:"Q",data:b});t.push({name:"d",data:m});i=new c({type:"ecdsa",curve:e,parts:t});return i}}},function(e,t,i){const{pbkdf2Sync:n,randomBytes:a}=i(373);const{KEYOBJECT:r}=i(771);const s=i(208);const o=16;const u=Buffer.alloc(1,0);const l=(e,t)=>{return Buffer.concat([Buffer.from(e,"utf8"),u,t])};const c=(e,t,i,u,{[r]:l},c)=>{const d=Math.floor(Math.random()*2049+2048);const p=a(o);const f=i(p);const h=n(l.export(),f,d,e,t);const m=u({[r]:h},c);m.header=m.header||{};Object.assign(m.header,{p2c:d,p2s:s.encodeBuffer(p)});return m};const d=(e,t,i,a,{[r]:s},o,u)=>{const{p2s:l,p2c:c}=u;const d=i(l);const p=n(s.export(),d,c,e,t);return a({[r]:p},o,u)};e.exports=((e,t)=>{["PBES2-HS256+A128KW","PBES2-HS384+A192KW","PBES2-HS512+A256KW"].forEach(i=>{const n=i.substr(-6);const a=e.keyManagementEncrypt.get(n);const r=e.keyManagementDecrypt.get(n);const s=parseInt(i.substr(13,3),10)/8;const o=`sha${i.substr(8,3)}`;if(a&&r){e.keyManagementEncrypt.set(i,c.bind(undefined,s,o,l.bind(undefined,i),a));e.keyManagementDecrypt.set(i,d.bind(undefined,s,o,l.bind(undefined,i),r));t.oct.deriveKey[i]=(e=>e.use==="enc"||e.use===undefined)}})})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=typeof URL==="undefined"?i(835).URL:URL;const a=Object.prototype.toString;const r=e=>t=>typeof t===e;const s=e=>!is.nullOrUndefined(e)&&!is.nullOrUndefined(e.constructor)&&is.function_(e.constructor.isBuffer)&&e.constructor.isBuffer(e);const o=e=>{const t=a.call(e).slice(8,-1);if(t){return t}return null};const u=e=>t=>o(t)===e;function is(e){switch(e){case null:return"null";case true:case false:return"boolean";default:}switch(typeof e){case"undefined":return"undefined";case"string":return"string";case"number":return"number";case"symbol":return"symbol";default:}if(is.function_(e)){return"Function"}if(is.observable(e)){return"Observable"}if(Array.isArray(e)){return"Array"}if(s(e)){return"Buffer"}const t=o(e);if(t){return t}if(e instanceof String||e instanceof Boolean||e instanceof Number){throw new TypeError("Please don't use object wrappers for primitive types")}return"Object"}(function(e){const t=e=>typeof e==="object";e.undefined=r("undefined");e.string=r("string");e.number=r("number");e.function_=r("function");e.null_=(e=>e===null);e.class_=(t=>e.function_(t)&&t.toString().startsWith("class "));e.boolean=(e=>e===true||e===false);e.symbol=r("symbol");e.numericString=(t=>e.string(t)&&t.length>0&&!Number.isNaN(Number(t)));e.array=Array.isArray;e.buffer=s;e.nullOrUndefined=(t=>e.null_(t)||e.undefined(t));e.object=(i=>!e.nullOrUndefined(i)&&(e.function_(i)||t(i)));e.iterable=(t=>!e.nullOrUndefined(t)&&e.function_(t[Symbol.iterator]));e.asyncIterable=(t=>!e.nullOrUndefined(t)&&e.function_(t[Symbol.asyncIterator]));e.generator=(t=>e.iterable(t)&&e.function_(t.next)&&e.function_(t.throw));e.nativePromise=(e=>u("Promise")(e));const i=i=>!e.null_(i)&&t(i)&&e.function_(i.then)&&e.function_(i.catch);e.promise=(t=>e.nativePromise(t)||i(t));e.generatorFunction=u("GeneratorFunction");e.asyncFunction=u("AsyncFunction");e.boundFunction=(t=>e.function_(t)&&!t.hasOwnProperty("prototype"));e.regExp=u("RegExp");e.date=u("Date");e.error=u("Error");e.map=(e=>u("Map")(e));e.set=(e=>u("Set")(e));e.weakMap=(e=>u("WeakMap")(e));e.weakSet=(e=>u("WeakSet")(e));e.int8Array=u("Int8Array");e.uint8Array=u("Uint8Array");e.uint8ClampedArray=u("Uint8ClampedArray");e.int16Array=u("Int16Array");e.uint16Array=u("Uint16Array");e.int32Array=u("Int32Array");e.uint32Array=u("Uint32Array");e.float32Array=u("Float32Array");e.float64Array=u("Float64Array");e.arrayBuffer=u("ArrayBuffer");e.sharedArrayBuffer=u("SharedArrayBuffer");e.dataView=u("DataView");e.directInstanceOf=((e,t)=>Object.getPrototypeOf(e)===t.prototype);e.urlInstance=(e=>u("URL")(e));e.urlString=(t=>{if(!e.string(t)){return false}try{new n(t);return true}catch(e){return false}});e.truthy=(e=>Boolean(e));e.falsy=(e=>!e);e.nan=(e=>Number.isNaN(e));const a=new Set(["undefined","string","number","boolean","symbol"]);e.primitive=(t=>e.null_(t)||a.has(typeof t));e.integer=(e=>Number.isInteger(e));e.safeInteger=(e=>Number.isSafeInteger(e));e.plainObject=(e=>{let t;return o(e)==="Object"&&(t=Object.getPrototypeOf(e),t===null||t===Object.getPrototypeOf({}))});const l=new Set(["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"]);e.typedArray=(e=>{const t=o(e);if(t===null){return false}return l.has(t)});const c=t=>e.safeInteger(t)&&t>-1;e.arrayLike=(t=>!e.nullOrUndefined(t)&&!e.function_(t)&&c(t.length));e.inRange=((t,i)=>{if(e.number(i)){return t>=Math.min(0,i)&&t<=Math.max(i,0)}if(e.array(i)&&i.length===2){return t>=Math.min(...i)&&t<=Math.max(...i)}throw new TypeError(`Invalid range: ${JSON.stringify(i)}`)});const d=1;const p=["innerHTML","ownerDocument","style","attributes","nodeValue"];e.domElement=(t=>e.object(t)&&t.nodeType===d&&e.string(t.nodeName)&&!e.plainObject(t)&&p.every(e=>e in t));e.observable=(e=>{if(!e){return false}if(e[Symbol.observable]&&e===e[Symbol.observable]()){return true}if(e["@@observable"]&&e===e["@@observable"]()){return true}return false});e.nodeStream=(i=>!e.nullOrUndefined(i)&&t(i)&&e.function_(i.pipe)&&!e.observable(i));e.infinite=(e=>e===Infinity||e===-Infinity);const f=t=>i=>e.integer(i)&&Math.abs(i%2)===t;e.even=f(0);e.odd=f(1);const h=t=>e.string(t)&&/\S/.test(t)===false;e.emptyArray=(t=>e.array(t)&&t.length===0);e.nonEmptyArray=(t=>e.array(t)&&t.length>0);e.emptyString=(t=>e.string(t)&&t.length===0);e.nonEmptyString=(t=>e.string(t)&&t.length>0);e.emptyStringOrWhitespace=(t=>e.emptyString(t)||h(t));e.emptyObject=(t=>e.object(t)&&!e.map(t)&&!e.set(t)&&Object.keys(t).length===0);e.nonEmptyObject=(t=>e.object(t)&&!e.map(t)&&!e.set(t)&&Object.keys(t).length>0);e.emptySet=(t=>e.set(t)&&t.size===0);e.nonEmptySet=(t=>e.set(t)&&t.size>0);e.emptyMap=(t=>e.map(t)&&t.size===0);e.nonEmptyMap=(t=>e.map(t)&&t.size>0);const m=(t,i,n)=>{if(e.function_(i)===false){throw new TypeError(`Invalid predicate: ${JSON.stringify(i)}`)}if(n.length===0){throw new TypeError("Invalid number of values")}return t.call(n,i)};e.any=((e,...t)=>m(Array.prototype.some,e,t));e.all=((e,...t)=>m(Array.prototype.every,e,t))})(is||(is={}));Object.defineProperties(is,{class:{value:is.class_},function:{value:is.function_},null:{value:is.null_}});t.default=is;e.exports=is;e.exports.default=is},function(e,t,i){var n=i(747);var a=i(622);var r=i(602);r.register("ln",_ln,{cmdOptions:{s:"symlink",f:"force"}});function _ln(e,t,i){if(!t||!i){r.error("Missing <source> and/or <dest>")}t=String(t);var s=a.normalize(t).replace(RegExp(a.sep+"$"),"");var o=a.resolve(t)===s;i=a.resolve(process.cwd(),String(i));if(n.existsSync(i)){if(!e.force){r.error("Destination file exists",{continue:true})}n.unlinkSync(i)}if(e.symlink){var u=process.platform==="win32";var l=u?"file":null;var c=o?s:a.resolve(process.cwd(),a.dirname(i),t);if(!n.existsSync(c)){r.error("Source file does not exist",{continue:true})}else if(u&&r.statFollowLinks(c).isDirectory()){l="junction"}try{n.symlinkSync(l==="junction"?c:t,i,l)}catch(e){r.error(e.message)}}else{if(!n.existsSync(t)){r.error("Source file does not exist",{continue:true})}try{n.linkSync(t,i)}catch(e){r.error(e.message)}}return""}e.exports=_ln},,function(e){const t=Math.pow(2,32);e.exports=((e,i=Buffer.allocUnsafe(8))=>{const n=Math.floor(e/t);const a=e%t;i.writeUInt32BE(n,0);i.writeUInt32BE(a,4);return i})},function(e,t,i){e.exports={read:read.bind(undefined,false,undefined),readType:read.bind(undefined,false),write:write,readPartial:read.bind(undefined,true),readInternal:read,keyTypeToAlg:keyTypeToAlg,algToKeyType:algToKeyType};var n=i(872);var a=i(215).Buffer;var r=i(98);var s=i(270);var o=i(852);var u=i(502);var l=i(940);function algToKeyType(e){n.string(e);if(e==="ssh-dss")return"dsa";else if(e==="ssh-rsa")return"rsa";else if(e==="ssh-ed25519")return"ed25519";else if(e==="ssh-curve25519")return"curve25519";else if(e.match(/^ecdsa-sha2-/))return"ecdsa";else throw new Error("Unknown algorithm "+e)}function keyTypeToAlg(e){n.object(e);if(e.type==="dsa")return"ssh-dss";else if(e.type==="rsa")return"ssh-rsa";else if(e.type==="ed25519")return"ssh-ed25519";else if(e.type==="curve25519")return"ssh-curve25519";else if(e.type==="ecdsa")return"ecdsa-sha2-"+e.part.curve.data.toString();else throw new Error("Unknown key type "+e.type)}function read(e,t,i,c){if(typeof i==="string")i=a.from(i);n.buffer(i,"buf");var d={};var p=d.parts=[];var f=new l({buffer:i});var h=f.readString();n.ok(!f.atEnd(),"key must have at least one part");d.type=algToKeyType(h);var m=r.info[d.type].parts.length;if(t&&t==="private")m=r.privInfo[d.type].parts.length;while(!f.atEnd()&&p.length<m)p.push(f.readPart());while(!e&&!f.atEnd())p.push(f.readPart());n.ok(p.length>=1,"key must have at least one part");n.ok(e||f.atEnd(),"leftover bytes at end of key");var b=o;var g=r.info[d.type];if(t==="private"||g.parts.length!==p.length){g=r.privInfo[d.type];b=u}n.strictEqual(g.parts.length,p.length);if(d.type==="ecdsa"){var y=/^ecdsa-sha2-(.+)$/.exec(h);n.ok(y!==null);n.strictEqual(y[1],p[0].data.toString())}var S=true;for(var w=0;w<g.parts.length;++w){var v=p[w];v.name=g.parts[w];if(d.type==="ed25519"&&v.name==="k")v.data=v.data.slice(0,32);if(v.name!=="curve"&&g.normalize!==false){var z;if(d.type==="ed25519"){z=s.zeroPadToLength(v.data,32)}else{z=s.mpNormalize(v.data)}if(z.toString("binary")!==v.data.toString("binary")){v.data=z;S=false}}}if(S)d._rfc4253Cache=f.toBuffer();if(e&&typeof e==="object"){e.remainder=f.remainder();e.consumed=f._offset}return new b(d)}function write(e,t){n.object(e);var i=keyTypeToAlg(e);var o;var c=r.info[e.type];if(u.isPrivateKey(e))c=r.privInfo[e.type];var d=c.parts;var p=new l({});p.writeString(i);for(o=0;o<d.length;++o){var f=e.part[d[o]].data;if(c.normalize!==false){if(e.type==="ed25519")f=s.zeroPadToLength(f,32);else f=s.mpNormalize(f)}if(e.type==="ed25519"&&d[o]==="k")f=a.concat([f,e.part.A.data]);p.writeBuffer(f)}return p.toBuffer()}},function(e,t,i){"use strict";const{Readable:n}=i(413);e.exports=(e=>new n({read(){this.push(e);this.push(null)}}))},,,function(e,t,i){var n=i(602);var a=i(8);var r=i(622);n.register("dirs",_dirs,{wrapOutput:false});n.register("pushd",_pushd,{wrapOutput:false});n.register("popd",_popd,{wrapOutput:false});var s=[];function _isStackIndex(e){return/^[\-+]\d+$/.test(e)}function _parseStackIndex(e){if(_isStackIndex(e)){if(Math.abs(e)<s.length+1){return/^-/.test(e)?Number(e)-1:Number(e)}n.error(e+": directory stack index out of range")}else{n.error(e+": invalid number")}}function _actualDirStack(){return[process.cwd()].concat(s)}function _pushd(e,t){if(_isStackIndex(e)){t=e;e=""}e=n.parseOptions(e,{n:"no-cd",q:"quiet"});var i=_actualDirStack();if(t==="+0"){return i}else if(!t){if(i.length>1){i=i.splice(1,1).concat(i)}else{return n.error("no other directory")}}else if(_isStackIndex(t)){var o=_parseStackIndex(t);i=i.slice(o).concat(i.slice(0,o))}else{if(e["no-cd"]){i.splice(1,0,t)}else{i.unshift(t)}}if(e["no-cd"]){i=i.slice(1)}else{t=r.resolve(i.shift());a("",t)}s=i;return _dirs(e.quiet?"-q":"")}t.pushd=_pushd;function _popd(e,t){if(_isStackIndex(e)){t=e;e=""}e=n.parseOptions(e,{n:"no-cd",q:"quiet"});if(!s.length){return n.error("directory stack empty")}t=_parseStackIndex(t||"+0");if(e["no-cd"]||t>0||s.length+t===0){t=t>0?t-1:t;s.splice(t,1)}else{var i=r.resolve(s.shift());a("",i)}return _dirs(e.quiet?"-q":"")}t.popd=_popd;function _dirs(e,t){if(_isStackIndex(e)){t=e;e=""}e=n.parseOptions(e,{c:"clear",q:"quiet"});if(e.clear){s=[];return s}var i=_actualDirStack();if(t){t=_parseStackIndex(t);if(t<0){t=i.length+t}if(!e.quiet){n.log(i[t])}return i[t]}if(!e.quiet){n.log(i.join(" "))}return i}t.dirs=_dirs},,,function(e){e.exports=(e=>JSON.parse(JSON.stringify(e)))},,function(e,t,i){var n=i(669);var a=i(413).Stream;var r=i(152);e.exports=CombinedStream;function CombinedStream(){this.writable=false;this.readable=true;this.dataSize=0;this.maxDataSize=2*1024*1024;this.pauseStreams=true;this._released=false;this._streams=[];this._currentStream=null;this._insideLoop=false;this._pendingNext=false}n.inherits(CombinedStream,a);CombinedStream.create=function(e){var t=new this;e=e||{};for(var i in e){t[i]=e[i]}return t};CombinedStream.isStreamLike=function(e){return typeof e!=="function"&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"&&!Buffer.isBuffer(e)};CombinedStream.prototype.append=function(e){var t=CombinedStream.isStreamLike(e);if(t){if(!(e instanceof r)){var i=r.create(e,{maxDataSize:Infinity,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this));e=i}this._handleErrors(e);if(this.pauseStreams){e.pause()}}this._streams.push(e);return this};CombinedStream.prototype.pipe=function(e,t){a.prototype.pipe.call(this,e,t);this.resume();return e};CombinedStream.prototype._getNext=function(){this._currentStream=null;if(this._insideLoop){this._pendingNext=true;return}this._insideLoop=true;try{do{this._pendingNext=false;this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=false}};CombinedStream.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e=="undefined"){this.end();return}if(typeof e!=="function"){this._pipeNext(e);return}var t=e;t(function(e){var t=CombinedStream.isStreamLike(e);if(t){e.on("data",this._checkDataSize.bind(this));this._handleErrors(e)}this._pipeNext(e)}.bind(this))};CombinedStream.prototype._pipeNext=function(e){this._currentStream=e;var t=CombinedStream.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this));e.pipe(this,{end:false});return}var i=e;this.write(i);this._getNext()};CombinedStream.prototype._handleErrors=function(e){var t=this;e.on("error",function(e){t._emitError(e)})};CombinedStream.prototype.write=function(e){this.emit("data",e)};CombinedStream.prototype.pause=function(){if(!this.pauseStreams){return}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};CombinedStream.prototype.resume=function(){if(!this._released){this._released=true;this.writable=true;this._getNext()}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};CombinedStream.prototype.end=function(){this._reset();this.emit("end")};CombinedStream.prototype.destroy=function(){this._reset();this.emit("close")};CombinedStream.prototype._reset=function(){this.writable=false;this._streams=[];this._currentStream=null};CombinedStream.prototype._checkDataSize=function(){this._updateDataSize();if(this.dataSize<=this.maxDataSize){return}var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))};CombinedStream.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){if(!t.dataSize){return}e.dataSize+=t.dataSize});if(this._currentStream&&this._currentStream.dataSize){this.dataSize+=this._currentStream.dataSize}};CombinedStream.prototype._emitError=function(e){this._reset();this.emit("error",e)}},function(e){const t=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},function(e,t,i){e.exports=i(14).default;e.exports.default=e.exports},,,function(e,t,i){"use strict";var n=i(835);var a=/^https?:/;function Redirect(e){this.request=e;this.followRedirect=true;this.followRedirects=true;this.followAllRedirects=false;this.followOriginalHttpMethod=false;this.allowRedirect=function(){return true};this.maxRedirects=10;this.redirects=[];this.redirectsFollowed=0;this.removeRefererHeader=false}Redirect.prototype.onRequest=function(e){var t=this;if(e.maxRedirects!==undefined){t.maxRedirects=e.maxRedirects}if(typeof e.followRedirect==="function"){t.allowRedirect=e.followRedirect}if(e.followRedirect!==undefined){t.followRedirects=!!e.followRedirect}if(e.followAllRedirects!==undefined){t.followAllRedirects=e.followAllRedirects}if(t.followRedirects||t.followAllRedirects){t.redirects=t.redirects||[]}if(e.removeRefererHeader!==undefined){t.removeRefererHeader=e.removeRefererHeader}if(e.followOriginalHttpMethod!==undefined){t.followOriginalHttpMethod=e.followOriginalHttpMethod}};Redirect.prototype.redirectTo=function(e){var t=this;var i=t.request;var n=null;if(e.statusCode>=300&&e.statusCode<400&&e.caseless.has("location")){var a=e.caseless.get("location");i.debug("redirect",a);if(t.followAllRedirects){n=a}else if(t.followRedirects){switch(i.method){case"PATCH":case"PUT":case"POST":case"DELETE":break;default:n=a;break}}}else if(e.statusCode===401){var r=i._auth.onResponse(e);if(r){i.setHeader("authorization",r);n=i.uri}}return n};Redirect.prototype.onResponse=function(e){var t=this;var i=t.request;var r=t.redirectTo(e);if(!r||!t.allowRedirect.call(i,e)){return false}i.debug("redirect to",r);if(e.resume){e.resume()}if(t.redirectsFollowed>=t.maxRedirects){i.emit("error",new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+i.uri.href));return false}t.redirectsFollowed+=1;if(!a.test(r)){r=n.resolve(i.uri.href,r)}var s=i.uri;i.uri=n.parse(r);if(i.uri.protocol!==s.protocol){delete i.agent}t.redirects.push({statusCode:e.statusCode,redirectUri:r});if(t.followAllRedirects&&i.method!=="HEAD"&&e.statusCode!==401&&e.statusCode!==307){i.method=t.followOriginalHttpMethod?i.method:"GET"}delete i.src;delete i.req;delete i._started;if(e.statusCode!==401&&e.statusCode!==307){delete i.body;delete i._form;if(i.headers){i.removeHeader("host");i.removeHeader("content-type");i.removeHeader("content-length");if(i.uri.hostname!==i.originalHost.split(":")[0]){i.removeHeader("authorization")}}}if(!t.removeRefererHeader){i.setHeader("referer",s.href)}i.emit("redirect");i.init();return true};t.Redirect=Redirect},,function(e,t,i){var n=i(602);var a=i(747);function lpad(e,t){var i=""+t;if(i.length<e){i=Array(e-i.length+1).join(" ")+i}return i}n.register("uniq",_uniq,{canReceivePipe:true,cmdOptions:{i:"ignoreCase",c:"count",d:"duplicates"}});function _uniq(e,t,i){var r=n.readFromPipe();if(!r){if(!t)n.error("no input given");if(!a.existsSync(t)){n.error(t+": No such file or directory")}else if(n.statFollowLinks(t).isDirectory()){n.error("error reading '"+t+"'")}}if(i&&a.existsSync(i)&&n.statFollowLinks(i).isDirectory()){n.error(i+": Is a directory")}var s=(t?a.readFileSync(t,"utf8"):r).trimRight().split("\n");var o=function(t,i){return e.ignoreCase?t.toLocaleLowerCase().localeCompare(i.toLocaleLowerCase()):t.localeCompare(i)};var u=s.reduceRight(function(e,t){if(e.length===0){return[{count:1,ln:t}]}else if(o(e[0].ln,t)===0){return[{count:e[0].count+1,ln:t}].concat(e.slice(1))}else{return[{count:1,ln:t}].concat(e)}},[]).filter(function(t){return e.duplicates?t.count>1:true}).map(function(t){return(e.count?lpad(7,t.count)+" ":"")+t.ln}).join("\n")+"\n";if(i){new n.ShellString(u).to(i);return""}else{return u}}e.exports=_uniq},function(e,t,i){const{inspect:n}=i(669);const{RPError:a,OPError:r}=i(572);const s=i(880);const o=i(295);const{authenticatedPost:u}=i(285);const l=i(88);const c=i(933);class DeviceFlowHandle{constructor({client:e,exchangeBody:t,clientAssertionPayload:i,response:n,maxAge:r}){["verification_uri","user_code","device_code"].forEach(e=>{if(typeof n[e]!=="string"||!n[e]){throw new a(`expected ${e} string to be returned by Device Authorization Response, got %j`,n[e])}});if(!Number.isSafeInteger(n.expires_in)){throw new a("expected expires_in number to be returned by Device Authorization Response, got %j",n.expires_in)}s(this).expires_at=o()+n.expires_in;s(this).client=e;s(this).maxAge=r;s(this).exchangeBody=t;s(this).clientAssertionPayload=i;s(this).response=n;s(this).interval=n.interval*1e3||5e3}async poll(){if(this.expired()){throw new a("the device code %j has expired and the device authorization session has concluded",this.device_code)}await new Promise(e=>setTimeout(e,s(this).interval));const e=await u.call(s(this).client,"token",{form:true,body:{...s(this).exchangeBody,grant_type:"urn:ietf:params:oauth:grant-type:device_code",device_code:this.device_code},json:true},{clientAssertionPayload:s(this).clientAssertionPayload});let t;try{t=l(e)}catch(e){switch(e instanceof r&&e.error){case"slow_down":s(this).interval+=5e3;case"authorization_pending":return this.poll();default:throw e}}const i=new c(t);if("id_token"in i){await s(this).client.decryptIdToken(i);await s(this).client.validateIdToken(i,undefined,"token",s(this).maxAge)}return i}get device_code(){return s(this).response.device_code}get user_code(){return s(this).response.user_code}get verification_uri(){return s(this).response.verification_uri}get verification_uri_complete(){return s(this).response.verification_uri_complete}get expires_in(){return Math.max.apply(null,[s(this).expires_at-o(),0])}expired(){return this.expires_in===0}[n.custom](){return`${this.constructor.name} ${n(s(this).response,{depth:Infinity,colors:process.stdout.isTTY,compact:false,sorted:true})}`}}e.exports=DeviceFlowHandle},function(e){"use strict";function YAMLException(e,t){Error.call(this);this.name="YAMLException";this.reason=e;this.mark=t;this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():"");if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}YAMLException.prototype=Object.create(Error.prototype);YAMLException.prototype.constructor=YAMLException;YAMLException.prototype.toString=function toString(e){var t=this.name+": ";t+=this.reason||"(unknown reason)";if(!e&&this.mark){t+=" "+this.mark.toString()}return t};e.exports=YAMLException},function(e){"use strict";class CancelError extends Error{constructor(e){super(e||"Promise was canceled");this.name="CancelError"}get isCanceled(){return true}}class PCancelable{static fn(e){return(...t)=>{return new PCancelable((i,n,a)=>{t.push(a);e(...t).then(i,n)})}}constructor(e){this._cancelHandlers=[];this._isPending=true;this._isCanceled=false;this._rejectOnCancel=true;this._promise=new Promise((t,i)=>{this._reject=i;const n=e=>{this._isPending=false;t(e)};const a=e=>{this._isPending=false;i(e)};const r=e=>{if(!this._isPending){throw new Error("The `onCancel` handler was attached after the promise settled.")}this._cancelHandlers.push(e)};Object.defineProperties(r,{shouldReject:{get:()=>this._rejectOnCancel,set:e=>{this._rejectOnCancel=e}}});return e(n,a,r)})}then(e,t){return this._promise.then(e,t)}catch(e){return this._promise.catch(e)}finally(e){return this._promise.finally(e)}cancel(e){if(!this._isPending||this._isCanceled){return}if(this._cancelHandlers.length>0){try{for(const e of this._cancelHandlers){e()}}catch(e){this._reject(e)}}this._isCanceled=true;if(this._rejectOnCancel){this._reject(new CancelError(e))}}get isCanceled(){return this._isCanceled}}Object.setPrototypeOf(PCancelable.prototype,Promise.prototype);e.exports=PCancelable;e.exports.CancelError=CancelError},,function(e,t,i){"use strict";var n=i(844).MissingRef;e.exports=compileAsync;function compileAsync(e,t,i){var a=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");if(typeof t=="function"){i=t;t=undefined}var r=loadMetaSchemaOf(e).then(function(){var i=a._addSchema(e,undefined,t);return i.validate||_compileAsync(i)});if(i){r.then(function(e){i(null,e)},i)}return r;function loadMetaSchemaOf(e){var t=e.$schema;return t&&!a.getSchema(t)?compileAsync.call(a,{$ref:t},true):Promise.resolve()}function _compileAsync(e){try{return a._compile(e)}catch(e){if(e instanceof n)return loadMissingSchema(e);throw e}function loadMissingSchema(i){var n=i.missingSchema;if(added(n))throw new Error("Schema "+n+" is loaded but "+i.missingRef+" cannot be resolved");var r=a._loadingSchemas[n];if(!r){r=a._loadingSchemas[n]=a._opts.loadSchema(n);r.then(removePromise,removePromise)}return r.then(function(e){if(!added(n)){return loadMetaSchemaOf(e).then(function(){if(!added(n))a.addSchema(e,n,undefined,t)})}}).then(function(){return _compileAsync(e)});function removePromise(){delete a._loadingSchemas[n]}function added(e){return a._refs[e]||a._schemas[e]}}}}},function(e){"use strict";e.exports=function generate__limitProperties(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=="maxProperties"?">":"<";n+="if ( ";if(p){n+=" ("+f+" !== undefined && typeof "+f+" != 'number') || "}n+=" Object.keys("+d+").length "+h+" "+f+") { ";var c=t;var m=m||[];m.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(c||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+f+" } ";if(e.opts.messages!==false){n+=" , message: 'should NOT have ";if(t=="maxProperties"){n+="more"}else{n+="fewer"}n+=" than ";if(p){n+="' + "+f+" + '"}else{n+=""+s}n+=" properties' "}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,t,i){"use strict";try{const e=i(235);t.isValidUTF8=typeof e==="object"?e.Validation.isValidUTF8:e}catch(e){t.isValidUTF8=(()=>true)}t.isValidStatusCode=(e=>{return e>=1e3&&e<=1013&&e!==1004&&e!==1005&&e!==1006||e>=3e3&&e<=4999})},function(e){e.exports=new Map},function(e){const t=new Map;e.exports=t},,function(e){e.exports=abort;function abort(e){Object.keys(e.jobs).forEach(clean.bind(e));e.jobs={}}function clean(e){if(typeof this.jobs[e]=="function"){this.jobs[e]()}}},function(e){"use strict";var t=Object.prototype.hasOwnProperty;var i=function(){var e=[];for(var t=0;t<256;++t){e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase())}return e}();var n=function compactQueue(e){var t;while(e.length){var i=e.pop();t=i.obj[i.prop];if(Array.isArray(t)){var n=[];for(var a=0;a<t.length;++a){if(typeof t[a]!=="undefined"){n.push(t[a])}}i.obj[i.prop]=n}}return t};var a=function arrayToObject(e,t){var i=t&&t.plainObjects?Object.create(null):{};for(var n=0;n<e.length;++n){if(typeof e[n]!=="undefined"){i[n]=e[n]}}return i};var r=function merge(e,i,n){if(!i){return e}if(typeof i!=="object"){if(Array.isArray(e)){e.push(i)}else if(typeof e==="object"){if(n.plainObjects||n.allowPrototypes||!t.call(Object.prototype,i)){e[i]=true}}else{return[e,i]}return e}if(typeof e!=="object"){return[e].concat(i)}var r=e;if(Array.isArray(e)&&!Array.isArray(i)){r=a(e,n)}if(Array.isArray(e)&&Array.isArray(i)){i.forEach(function(i,a){if(t.call(e,a)){if(e[a]&&typeof e[a]==="object"){e[a]=merge(e[a],i,n)}else{e.push(i)}}else{e[a]=i}});return e}return Object.keys(i).reduce(function(e,a){var r=i[a];if(t.call(e,a)){e[a]=merge(e[a],r,n)}else{e[a]=r}return e},r)};var s=function assignSingleSource(e,t){return Object.keys(t).reduce(function(e,i){e[i]=t[i];return e},e)};var o=function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}};var u=function encode(e){if(e.length===0){return e}var t=typeof e==="string"?e:String(e);var n="";for(var a=0;a<t.length;++a){var r=t.charCodeAt(a);if(r===45||r===46||r===95||r===126||r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122){n+=t.charAt(a);continue}if(r<128){n=n+i[r];continue}if(r<2048){n=n+(i[192|r>>6]+i[128|r&63]);continue}if(r<55296||r>=57344){n=n+(i[224|r>>12]+i[128|r>>6&63]+i[128|r&63]);continue}a+=1;r=65536+((r&1023)<<10|t.charCodeAt(a)&1023);n+=i[240|r>>18]+i[128|r>>12&63]+i[128|r>>6&63]+i[128|r&63]}return n};var l=function compact(e){var t=[{obj:{o:e},prop:"o"}];var i=[];for(var a=0;a<t.length;++a){var r=t[a];var s=r.obj[r.prop];var o=Object.keys(s);for(var u=0;u<o.length;++u){var l=o[u];var c=s[l];if(typeof c==="object"&&c!==null&&i.indexOf(c)===-1){t.push({obj:s,prop:l});i.push(c)}}}return n(t)};var c=function isRegExp(e){return Object.prototype.toString.call(e)==="[object RegExp]"};var d=function isBuffer(e){if(e===null||typeof e==="undefined"){return false}return!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))};e.exports={arrayToObject:a,assign:s,compact:l,decode:o,encode:u,isBuffer:d,isRegExp:c,merge:r}},,,function(e,t,i){const n=i(170);const{verify:a}=i(797);const r=(e,t,i,a,r)=>{return new n(t).recipient(i,a,r).sign(e)};e.exports.Sign=n;e.exports.sign=r.bind(undefined,"compact");e.exports.sign.flattened=r.bind(undefined,"flattened");e.exports.sign.general=r.bind(undefined,"general");e.exports.verify=a},,function(e,t,i){const{format:n}=i(669);const a=i(914);function OPError({error_description:e,error:t,error_uri:i,session_state:n,state:a,scope:r},s){OPError.super.call(this,!e?t:`${t} (${e})`);Object.assign(this,{error:t},e&&{error_description:e},i&&{error_uri:i},a&&{state:a},r&&{scope:r},n&&{session_state:n});if(s){Object.defineProperty(this,"response",{value:s})}}a(OPError);function RPError(...e){if(typeof e[0]==="string"){RPError.super.call(this,n(...e))}else{const{message:t,printf:i,response:a,...r}=e[0];if(i){RPError.super.call(this,n(...i))}else{RPError.super.call(this,t)}Object.assign(this,r);if(a){Object.defineProperty(this,"response",{value:a})}}}a(RPError);e.exports={OPError:OPError,RPError:RPError}},,function(e,t,i){"use strict";var n=i(945);e.exports=new n("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}})},function(e,t,i){e.exports=Signature;var n=i(872);var a=i(215).Buffer;var r=i(98);var s=i(373);var o=i(753);var u=i(270);var l=i(325);var c=i(940);var d=o.InvalidAlgorithmError;var p=o.SignatureParseError;function Signature(e){n.object(e,"options");n.arrayOfObject(e.parts,"options.parts");n.string(e.type,"options.type");var t={};for(var i=0;i<e.parts.length;++i){var a=e.parts[i];t[a.name]=a}this.type=e.type;this.hashAlgorithm=e.hashAlgo;this.curve=e.curve;this.parts=e.parts;this.part=t}Signature.prototype.toBuffer=function(e){if(e===undefined)e="asn1";n.string(e,"format");var t;var i="ssh-"+this.type;switch(this.type){case"rsa":switch(this.hashAlgorithm){case"sha256":i="rsa-sha2-256";break;case"sha512":i="rsa-sha2-512";break;case"sha1":case undefined:break;default:throw new Error("SSH signature "+"format does not support hash "+"algorithm "+this.hashAlgorithm)}if(e==="ssh"){t=new c({});t.writeString(i);t.writePart(this.part.sig);return t.toBuffer()}else{return this.part.sig.data}break;case"ed25519":if(e==="ssh"){t=new c({});t.writeString(i);t.writePart(this.part.sig);return t.toBuffer()}else{return this.part.sig.data}break;case"dsa":case"ecdsa":var r,s;if(e==="asn1"){var o=new l.BerWriter;o.startSequence();r=u.mpNormalize(this.part.r.data);s=u.mpNormalize(this.part.s.data);o.writeBuffer(r,l.Ber.Integer);o.writeBuffer(s,l.Ber.Integer);o.endSequence();return o.buffer}else if(e==="ssh"&&this.type==="dsa"){t=new c({});t.writeString("ssh-dss");r=this.part.r.data;if(r.length>20&&r[0]===0)r=r.slice(1);s=this.part.s.data;if(s.length>20&&s[0]===0)s=s.slice(1);if(this.hashAlgorithm&&this.hashAlgorithm!=="sha1"||r.length+s.length!==40){throw new Error("OpenSSH only supports "+"DSA signatures with SHA1 hash")}t.writeBuffer(a.concat([r,s]));return t.toBuffer()}else if(e==="ssh"&&this.type==="ecdsa"){var d=new c({});r=this.part.r.data;d.writeBuffer(r);d.writePart(this.part.s);t=new c({});var p;if(r[0]===0)r=r.slice(1);var f=r.length*8;if(f===256)p="nistp256";else if(f===384)p="nistp384";else if(f===528)p="nistp521";t.writeString("ecdsa-sha2-"+p);t.writeBuffer(d.toBuffer());return t.toBuffer()}throw new Error("Invalid signature format");default:throw new Error("Invalid signature data")}};Signature.prototype.toString=function(e){n.optionalString(e,"format");return this.toBuffer(e).toString("base64")};Signature.parse=function(e,t,i){if(typeof e==="string")e=a.from(e,"base64");n.buffer(e,"data");n.string(i,"format");n.string(t,"type");var r={};r.type=t.toLowerCase();r.parts=[];try{n.ok(e.length>0,"signature must not be empty");switch(r.type){case"rsa":return parseOneNum(e,t,i,r);case"ed25519":return parseOneNum(e,t,i,r);case"dsa":case"ecdsa":if(i==="asn1")return parseDSAasn1(e,t,i,r);else if(r.type==="dsa")return parseDSA(e,t,i,r);else return parseECDSA(e,t,i,r);default:throw new d(t)}}catch(e){if(e instanceof d)throw e;throw new p(t,i,e)}};function parseOneNum(e,t,i,a){if(i==="ssh"){try{var r=new c({buffer:e});var s=r.readString()}catch(e){}if(r!==undefined){var o="SSH signature does not match expected "+"type (expected "+t+", got "+s+")";switch(s){case"ssh-rsa":n.strictEqual(t,"rsa",o);a.hashAlgo="sha1";break;case"rsa-sha2-256":n.strictEqual(t,"rsa",o);a.hashAlgo="sha256";break;case"rsa-sha2-512":n.strictEqual(t,"rsa",o);a.hashAlgo="sha512";break;case"ssh-ed25519":n.strictEqual(t,"ed25519",o);a.hashAlgo="sha512";break;default:throw new Error("Unknown SSH signature "+"type: "+s)}var u=r.readPart();n.ok(r.atEnd(),"extra trailing bytes");u.name="sig";a.parts.push(u);return new Signature(a)}}a.parts.push({name:"sig",data:e});return new Signature(a)}function parseDSAasn1(e,t,i,n){var a=new l.BerReader(e);a.readSequence();var r=a.readString(l.Ber.Integer,true);var s=a.readString(l.Ber.Integer,true);n.parts.push({name:"r",data:u.mpNormalize(r)});n.parts.push({name:"s",data:u.mpNormalize(s)});return new Signature(n)}function parseDSA(e,t,i,a){if(e.length!=40){var r=new c({buffer:e});var s=r.readBuffer();if(s.toString("ascii")==="ssh-dss")s=r.readBuffer();n.ok(r.atEnd(),"extra trailing bytes");n.strictEqual(s.length,40,"invalid inner length");e=s}a.parts.push({name:"r",data:e.slice(0,20)});a.parts.push({name:"s",data:e.slice(20,40)});return new Signature(a)}function parseECDSA(e,t,i,a){var r=new c({buffer:e});var s,o;var u=r.readBuffer();var l=u.toString("ascii");if(l.slice(0,6)==="ecdsa-"){var d=l.split("-");n.strictEqual(d[0],"ecdsa");n.strictEqual(d[1],"sha2");a.curve=d[2];switch(a.curve){case"nistp256":a.hashAlgo="sha256";break;case"nistp384":a.hashAlgo="sha384";break;case"nistp521":a.hashAlgo="sha512";break;default:throw new Error("Unsupported ECDSA curve: "+a.curve)}u=r.readBuffer();n.ok(r.atEnd(),"extra trailing bytes on outer");r=new c({buffer:u});s=r.readPart()}else{s={data:u}}o=r.readPart();n.ok(r.atEnd(),"extra trailing bytes");s.name="r";o.name="s";a.parts.push(s);a.parts.push(o);return new Signature(a)}Signature.isSignature=function(e,t){return u.isCompatible(e,Signature,t)};Signature.prototype._sshpkApiVersion=[2,1];Signature._oldVersionDetect=function(e){n.func(e.toBuffer);if(e.hasOwnProperty("hashAlgorithm"))return[2,0];return[1,0]}},,,,,,function(e,t,i){"use strict";var n=i(43);e.exports=new n({explicit:[i(574),i(921),i(988)]})},function(e,t,i){var n=i(293);var a=n.Buffer;function copyProps(e,t){for(var i in e){t[i]=e[i]}}if(a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow){e.exports=n}else{copyProps(n,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,i){return a(e,t,i)}SafeBuffer.prototype=Object.create(a.prototype);copyProps(a,SafeBuffer);SafeBuffer.from=function(e,t,i){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return a(e,t,i)};SafeBuffer.alloc=function(e,t,i){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var n=a(e);if(t!==undefined){if(typeof i==="string"){n.fill(t,i)}else{n.fill(t)}}else{n.fill(0)}return n};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return a(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return n.SlowBuffer(e)}},,function(e){e.exports={newInvalidAsn1Error:function(e){var t=new Error;t.name="InvalidAsn1Error";t.message=e||"";return t}}},,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){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(747);const a=i(622);const r=i(414);const s=i(739);const o=i(290);const u=i(709);const l=i(444);const c=i(665);function fileExists(e){try{n.accessSync(e);return true}catch(e){}return false}class KubeConfig{getContexts(){return this.contexts}getClusters(){return this.clusters}getUsers(){return this.users}getCurrentContext(){return this.currentContext}setCurrentContext(e){this.currentContext=e}getContextObject(e){if(!this.contexts){return null}return findObject(this.contexts,e,"context")}getCurrentCluster(){const e=this.getCurrentContextObject();if(!e){return null}return this.getCluster(e.cluster)}getCluster(e){return findObject(this.clusters,e,"cluster")}getCurrentUser(){const e=this.getCurrentContextObject();if(!e){return null}return this.getUser(e.user)}getUser(e){return findObject(this.users,e,"user")}loadFromFile(e){const t=a.dirname(e);this.loadFromString(n.readFileSync(e,"utf8"));this.makePathsAbsolute(t)}applytoHTTPSOptions(e){const t=this.getCurrentUser();this.applyOptions(e);if(t&&t.username){e.auth=`${t.username}:${t.password}`}}applyToRequest(e){const t=this.getCurrentCluster();const i=this.getCurrentUser();this.applyOptions(e);if(t&&t.skipTLSVerify){e.strictSSL=false}if(i&&i.username){e.auth={password:i.password,username:i.username}}}loadFromString(e){const t=r.safeLoad(e);if(t.apiVersion!=="v1"){throw new TypeError("unknown version: "+t.apiVersion)}this.clusters=l.newClusters(t.clusters);this.contexts=l.newContexts(t.contexts);this.users=l.newUsers(t.users);this.currentContext=t["current-context"]}loadFromOptions(e){this.clusters=e.clusters;this.contexts=e.contexts;this.users=e.users;this.currentContext=e.currentContext}loadFromClusterAndUser(e,t){this.clusters=[e];this.users=[t];this.currentContext="loaded-context";this.contexts=[{cluster:e.name,user:t.name,name:this.currentContext}]}loadFromCluster(e=""){const t=process.env.KUBERNETES_SERVICE_HOST;const i=process.env.KUBERNETES_SERVICE_PORT;const a="inCluster";const r="inClusterUser";const s="inClusterContext";let o="https";if(i==="80"||i==="8080"||i==="8001"){o="http"}this.clusters=[{name:a,caFile:`${e}${Config.SERVICEACCOUNT_CA_PATH}`,server:`${o}://${t}:${i}`,skipTLSVerify:false}];this.users=[{name:r,token:n.readFileSync(`${e}${Config.SERVICEACCOUNT_TOKEN_PATH}`).toString()}];this.contexts=[{cluster:a,name:s,user:r}];this.currentContext=s}mergeConfig(e){this.currentContext=e.currentContext;e.clusters.forEach(e=>{this.addCluster(e)});e.users.forEach(e=>{this.addUser(e)});e.contexts.forEach(e=>{this.addContext(e)})}addCluster(e){this.clusters.forEach((t,i)=>{if(t.name===e.name){throw new Error(`Duplicate cluster: ${t.name}`)}});this.clusters.push(e)}addUser(e){this.users.forEach((t,i)=>{if(t.name===e.name){throw new Error(`Duplicate user: ${t.name}`)}});this.users.push(e)}addContext(e){this.contexts.forEach((t,i)=>{if(t.name===e.name){throw new Error(`Duplicate context: ${t.name}`)}});this.contexts.push(e)}loadFromDefault(){if(process.env.KUBECONFIG&&process.env.KUBECONFIG.length>0){const e=process.env.KUBECONFIG.split(a.delimiter);this.loadFromFile(e[0]);for(let t=1;t<e.length;t++){const i=new KubeConfig;i.loadFromFile(e[t]);this.mergeConfig(i)}return}const e=findHomeDir();if(e){const t=a.join(e,".kube","config");if(fileExists(t)){this.loadFromFile(t);return}}if(process.platform==="win32"&&s.which("wsl.exe")){const e=s.exec("wsl.exe cat $HOME/.kube/config",{silent:true});if(e.code===0){this.loadFromString(e.stdout);return}}if(fileExists(Config.SERVICEACCOUNT_TOKEN_PATH)){this.loadFromCluster();return}this.loadFromClusterAndUser({name:"cluster",server:"http://localhost:8080"},{name:"user"})}makeApiClient(e){const t=this.getCurrentCluster();if(!t){throw new Error("No active cluster!")}const i=new e(t.server);i.setDefaultAuthentication(this);return i}makePathsAbsolute(e){this.clusters.forEach(t=>{if(t.caFile){t.caFile=makeAbsolutePath(e,t.caFile)}});this.users.forEach(t=>{if(t.certFile){t.certFile=makeAbsolutePath(e,t.certFile)}if(t.keyFile){t.keyFile=makeAbsolutePath(e,t.keyFile)}})}getCurrentContextObject(){return this.getContextObject(this.currentContext)}applyHTTPSOptions(e){const t=this.getCurrentCluster();const i=this.getCurrentUser();if(!i){return}if(t!=null&&t.skipTLSVerify){e.rejectUnauthorized=false}const n=t!=null?bufferFromFileOrString(t.caFile,t.caData):null;if(n){e.ca=n}const a=bufferFromFileOrString(i.certFile,i.certData);if(a){e.cert=a}const r=bufferFromFileOrString(i.keyFile,i.keyData);if(r){e.key=r}}applyAuthorizationHeader(e){const t=this.getCurrentUser();if(!t){return}let i=null;KubeConfig.authenticators.forEach(e=>{if(e.isAuthProvider(t)){i=e.getToken(t)}});if(t.token){i="Bearer "+t.token}if(i){if(!e.headers){e.headers=[]}e.headers.Authorization=i}}applyOptions(e){this.applyHTTPSOptions(e);this.applyAuthorizationHeader(e)}}KubeConfig.authenticators=[new u.CloudAuth,new c.ExecAuth];t.KubeConfig=KubeConfig;class Config{static fromFile(e){return Config.apiFromFile(e,o.CoreV1Api)}static fromCluster(){return Config.apiFromCluster(o.CoreV1Api)}static defaultClient(){return Config.apiFromDefaultClient(o.CoreV1Api)}static apiFromFile(e,t){const i=new KubeConfig;i.loadFromFile(e);return i.makeApiClient(t)}static apiFromCluster(e){const t=new KubeConfig;t.loadFromCluster();const i=t.getCurrentCluster();if(!i){throw new Error("No active cluster!")}const n=new e(i.server);n.setDefaultAuthentication(t);return n}static apiFromDefaultClient(e){const t=new KubeConfig;t.loadFromDefault();return t.makeApiClient(e)}}Config.SERVICEACCOUNT_ROOT="/var/run/secrets/kubernetes.io/serviceaccount";Config.SERVICEACCOUNT_CA_PATH=Config.SERVICEACCOUNT_ROOT+"/ca.crt";Config.SERVICEACCOUNT_TOKEN_PATH=Config.SERVICEACCOUNT_ROOT+"/token";t.Config=Config;function makeAbsolutePath(e,t){if(!e||a.isAbsolute(t)){return t}return a.join(e,t)}t.makeAbsolutePath=makeAbsolutePath;function bufferFromFileOrString(e,t){if(e){return n.readFileSync(e)}if(t){return Buffer.from(t,"base64")}return null}t.bufferFromFileOrString=bufferFromFileOrString;function findHomeDir(){if(process.env.HOME){try{n.accessSync(process.env.HOME);return process.env.HOME}catch(e){}}if(process.platform!=="win32"){return null}if(process.env.HOMEDRIVE&&process.env.HOMEPATH){const e=a.join(process.env.HOMEDRIVE,process.env.HOMEPATH);try{n.accessSync(e);return e}catch(e){}}if(process.env.USERPROFILE){try{n.accessSync(process.env.USERPROFILE);return process.env.USERPROFILE}catch(e){}}return null}t.findHomeDir=findHomeDir;function findObject(e,t,i){for(const n of e){if(n.name===t){if(n[i]){return n[i]}return n}}return null}t.findObject=findObject},,,,,function(e,t,i){const{deprecate:n}=i(669);const{createPublicKey:a,createPrivateKey:r,createSecretKey:s,KeyObject:o}=i(40);const u=i(208);const l=i(274);const{jwkToPem:c}=i(20);const d=i(466);const p=i(785);const f=i(186);const h=i(728);const m=i(847);const b=new Set(["string","buffer","object"]);const g=(e={},t={})=>{return{alg:t.alg,key_ops:t.key_ops,kid:t.kid,use:t.use,x5c:t.x5c,x5t:t.x5t,"x5t#S256":t["x5t#S256"],...e}};const y=/^[a-zA-Z0-9-]+ AAAA(?:[0-9A-Za-z+/])+(?:==|=)?(?: .*)?$/;const S=(e,t,{calculateMissingRSAPrimes:i=false}={})=>{let n,S,w;if(!b.has(typeof e)){throw new TypeError("key argument must be a string, buffer or an object")}if(t!==undefined&&!l(t)){throw new TypeError("parameters argument must be a plain object when provided")}if(e instanceof o){switch(e.type){case"private":n=e;break;case"public":S=e;break;case"secret":w=e;break}}else if(typeof e==="object"&&e&&"kty"in e&&e.kty==="oct"){try{w=s(u.decodeToBuffer(e.k))}catch(t){if(!("k"in e)){w={type:"secret"}}}t=g(t,e)}else if(typeof e==="object"&&e&&"kty"in e){({calculateMissingRSAPrimes:i=false}=t||{calculateMissingRSAPrimes:i});let s;try{s=c(e,{calculateMissingRSAPrimes:i})}catch(e){if(e instanceof d.JOSEError){throw e}}if(s&&e.d){n=r(s)}else if(s){S=a(s)}t=g({},e)}else if(e&&(typeof e==="object"||typeof e==="string")){try{n=r(e)}catch(e){if(e instanceof d.JOSEError){throw e}}try{S=a(e);if(e.startsWith("-----BEGIN CERTIFICATE-----")&&(!t||!("x5c"in t))){t=g(t,{x5c:[e.replace(/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g,"")]})}}catch(e){if(e instanceof d.JOSEError){throw e}}try{if(!e.includes("-----BEGIN")&&!y.test(e.toString("ascii").replace(/[\r\n]/g,""))){w=s(Buffer.isBuffer(e)?e:Buffer.from(e))}}catch(e){}}const v=n||S||w;if(n||S){switch(v.asymmetricKeyType){case"rsa":return new p(v,t);case"ec":return new f(v,t);case"ed25519":case"ed448":case"x25519":case"x448":return new h(v,t);default:throw new d.JOSENotSupported("only RSA, EC and OKP asymmetric keys are supported")}}else if(w){return new m(v,t)}throw new d.JWKImportFailed("key import failed")};e.exports=S;Object.defineProperty(S,"deprecated",{value:n((e,t)=>{return S(e,t,{calculateMissingRSAPrimes:true})},"JWK.importKey() is deprecated, use JWK.asKey() instead"),enumerable:false})},function(e,t,i){const n=i(16);const a=(e,t)=>e.sort((e,i)=>n(i,e,t));e.exports=a},,function(e,t,i){e.exports=minimatch;minimatch.Minimatch=Minimatch;var n={sep:"/"};try{n=i(622)}catch(e){}var a=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var r=i(306);var s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var o="[^/]";var u=o+"*?";var l="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var c="(?:(?!(?:\\/|^)\\.).)*?";var d=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce(function(e,t){e[t]=true;return e},{})}var p=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(i,n,a){return minimatch(i,e,t)}}function ext(e,t){e=e||{};t=t||{};var i={};Object.keys(t).forEach(function(e){i[e]=t[e]});Object.keys(e).forEach(function(t){i[t]=e[t]});return i}minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return minimatch;var t=minimatch;var i=function minimatch(i,n,a){return t.minimatch(i,n,ext(e,a))};i.Minimatch=function Minimatch(i,n){return new t.Minimatch(i,ext(e,n))};return i};Minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return Minimatch;return minimatch.defaults(e).Minimatch};function minimatch(e,t,i){if(typeof t!=="string"){throw new TypeError("glob pattern string required")}if(!i)i={};if(!i.nocomment&&t.charAt(0)==="#"){return false}if(t.trim()==="")return e==="";return new Minimatch(t,i).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}if(typeof e!=="string"){throw new TypeError("glob pattern string required")}if(!t)t={};e=e.trim();if(n.sep!=="/"){e=e.split(n.sep).join("/")}this.options=t;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){if(this._made)return;var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var i=this.globSet=this.braceExpand();if(t.debug)this.debug=console.error;this.debug(this.pattern,i);i=this.globParts=i.map(function(e){return e.split(p)});this.debug(this.pattern,i);i=i.map(function(e,t,i){return e.map(this.parse,this)},this);this.debug(this.pattern,i);i=i.filter(function(e){return e.indexOf(false)===-1});this.debug(this.pattern,i);this.set=i}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var i=this.options;var n=0;if(i.nonegate)return;for(var a=0,r=e.length;a<r&&e.charAt(a)==="!";a++){t=!t;n++}if(n)this.pattern=e.substr(n);this.negate=t}minimatch.braceExpand=function(e,t){return braceExpand(e,t)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(e,t){if(!t){if(this instanceof Minimatch){t=this.options}else{t={}}}e=typeof e==="undefined"?this.pattern:e;if(typeof e==="undefined"){throw new TypeError("undefined pattern")}if(t.nobrace||!e.match(/\{.*\}/)){return[e]}return r(e)}Minimatch.prototype.parse=parse;var f={};function parse(e,t){if(e.length>1024*64){throw new TypeError("pattern is too long")}var i=this.options;if(!i.noglobstar&&e==="**")return a;if(e==="")return"";var n="";var r=!!i.nocase;var l=false;var c=[];var p=[];var h;var m=false;var b=-1;var g=-1;var y=e.charAt(0)==="."?"":i.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var S=this;function clearStateChar(){if(h){switch(h){case"*":n+=u;r=true;break;case"?":n+=o;r=true;break;default:n+="\\"+h;break}S.debug("clearStateChar %j %j",h,n);h=false}}for(var w=0,v=e.length,z;w<v&&(z=e.charAt(w));w++){this.debug("%s\t%s %s %j",e,w,n,z);if(l&&d[z]){n+="\\"+z;l=false;continue}switch(z){case"/":return false;case"\\":clearStateChar();l=true;continue;case"?":case"*":case"+":case"@":case"!":this.debug("%s\t%s %s %j <-- stateChar",e,w,n,z);if(m){this.debug(" in class");if(z==="!"&&w===g+1)z="^";n+=z;continue}S.debug("call clearStateChar %j",h);clearStateChar();h=z;if(i.noext)clearStateChar();continue;case"(":if(m){n+="(";continue}if(!h){n+="\\(";continue}c.push({type:h,start:w-1,reStart:n.length,open:s[h].open,close:s[h].close});n+=h==="!"?"(?:(?!(?:":"(?:";this.debug("plType %j %j",h,n);h=false;continue;case")":if(m||!c.length){n+="\\)";continue}clearStateChar();r=true;var j=c.pop();n+=j.close;if(j.type==="!"){p.push(j)}j.reEnd=n.length;continue;case"|":if(m||!c.length||l){n+="\\|";l=false;continue}clearStateChar();n+="|";continue;case"[":clearStateChar();if(m){n+="\\"+z;continue}m=true;g=w;b=n.length;n+=z;continue;case"]":if(w===g+1||!m){n+="\\"+z;l=false;continue}if(m){var O=e.substring(g+1,w);try{RegExp("["+O+"]")}catch(e){var k=this.parse(O,f);n=n.substr(0,b)+"\\["+k[0]+"\\]";r=r||k[1];m=false;continue}}r=true;m=false;n+=z;continue;default:clearStateChar();if(l){l=false}else if(d[z]&&!(z==="^"&&m)){n+="\\"}n+=z}}if(m){O=e.substr(g+1);k=this.parse(O,f);n=n.substr(0,b)+"\\["+k[0];r=r||k[1]}for(j=c.pop();j;j=c.pop()){var C=n.slice(j.reStart+j.open.length);this.debug("setting tail",n,j);C=C.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(e,t,i){if(!i){i="\\"}return t+t+i+"|"});this.debug("tail=%j\n %s",C,C,j,n);var T=j.type==="*"?u:j.type==="?"?o:"\\"+j.type;r=true;n=n.slice(0,j.reStart)+T+"\\("+C}clearStateChar();if(l){n+="\\\\"}var R=false;switch(n.charAt(0)){case".":case"[":case"(":R=true}for(var E=p.length-1;E>-1;E--){var A=p[E];var x=n.slice(0,A.reStart);var N=n.slice(A.reStart,A.reEnd-8);var V=n.slice(A.reEnd-8,A.reEnd);var P=n.slice(A.reEnd);V+=P;var D=x.split("(").length-1;var I=P;for(w=0;w<D;w++){I=I.replace(/\)[+*?]?/,"")}P=I;var _="";if(P===""&&t!==f){_="$"}var q=x+N+P+_+V;n=q}if(n!==""&&r){n="(?=.)"+n}if(R){n=y+n}if(t===f){return[n,r]}if(!r){return globUnescape(e)}var B=i.nocase?"i":"";try{var M=new RegExp("^"+n+"$",B)}catch(e){return new RegExp("$.")}M._glob=e;M._src=n;return M}minimatch.makeRe=function(e,t){return new Minimatch(e,t||{}).makeRe()};Minimatch.prototype.makeRe=makeRe;function makeRe(){if(this.regexp||this.regexp===false)return this.regexp;var e=this.set;if(!e.length){this.regexp=false;return this.regexp}var t=this.options;var i=t.noglobstar?u:t.dot?l:c;var n=t.nocase?"i":"";var r=e.map(function(e){return e.map(function(e){return e===a?i:typeof e==="string"?regExpEscape(e):e._src}).join("\\/")}).join("|");r="^(?:"+r+")$";if(this.negate)r="^(?!"+r+").*$";try{this.regexp=new RegExp(r,n)}catch(e){this.regexp=false}return this.regexp}minimatch.match=function(e,t,i){i=i||{};var n=new Minimatch(t,i);e=e.filter(function(e){return n.match(e)});if(n.options.nonull&&!e.length){e.push(t)}return e};Minimatch.prototype.match=match;function match(e,t){this.debug("match",e,this.pattern);if(this.comment)return false;if(this.empty)return e==="";if(e==="/"&&t)return true;var i=this.options;if(n.sep!=="/"){e=e.split(n.sep).join("/")}e=e.split(p);this.debug(this.pattern,"split",e);var a=this.set;this.debug(this.pattern,"set",a);var r;var s;for(s=e.length-1;s>=0;s--){r=e[s];if(r)break}for(s=0;s<a.length;s++){var o=a[s];var u=e;if(i.matchBase&&o.length===1){u=[r]}var l=this.matchOne(u,o,t);if(l){if(i.flipNegate)return true;return!this.negate}}if(i.flipNegate)return false;return this.negate}Minimatch.prototype.matchOne=function(e,t,i){var n=this.options;this.debug("matchOne",{this:this,file:e,pattern:t});this.debug("matchOne",e.length,t.length);for(var r=0,s=0,o=e.length,u=t.length;r<o&&s<u;r++,s++){this.debug("matchOne loop");var l=t[s];var c=e[r];this.debug(t,l,c);if(l===false)return false;if(l===a){this.debug("GLOBSTAR",[t,l,c]);var d=r;var p=s+1;if(p===u){this.debug("** at the end");for(;r<o;r++){if(e[r]==="."||e[r]===".."||!n.dot&&e[r].charAt(0)===".")return false}return true}while(d<o){var f=e[d];this.debug("\nglobstar while",e,d,t,p,f);if(this.matchOne(e.slice(d),t.slice(p),i)){this.debug("globstar found match!",d,o,f);return true}else{if(f==="."||f===".."||!n.dot&&f.charAt(0)==="."){this.debug("dot detected!",e,d,t,p);break}this.debug("globstar swallow a segment, and continue");d++}}if(i){this.debug("\n>>> no match, partial?",e,d,t,p);if(d===o)return true}return false}var h;if(typeof l==="string"){if(n.nocase){h=c.toLowerCase()===l.toLowerCase()}else{h=c===l}this.debug("string match",l,c,h)}else{h=c.match(l);this.debug("pattern match",l,c,h)}if(!h)return false}if(r===o&&s===u){return true}else if(r===o){return i}else if(s===u){var m=r===o-1&&e[r]==="";return m}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},,,,,,function(e,t,i){"use strict";var n=i(567);var a=i(741);var r={brackets:function brackets(e){return e+"[]"},indices:function indices(e,t){return e+"["+t+"]"},repeat:function repeat(e){return e}};var s=Date.prototype.toISOString;var o={delimiter:"&",encode:true,encoder:n.encode,encodeValuesOnly:false,serializeDate:function serializeDate(e){return s.call(e)},skipNulls:false,strictNullHandling:false};var u=function stringify(e,t,i,a,r,s,u,l,c,d,p,f){var h=e;if(typeof u==="function"){h=u(t,h)}else if(h instanceof Date){h=d(h)}else if(h===null){if(a){return s&&!f?s(t,o.encoder):t}h=""}if(typeof h==="string"||typeof h==="number"||typeof h==="boolean"||n.isBuffer(h)){if(s){var m=f?t:s(t,o.encoder);return[p(m)+"="+p(s(h,o.encoder))]}return[p(t)+"="+p(String(h))]}var b=[];if(typeof h==="undefined"){return b}var g;if(Array.isArray(u)){g=u}else{var y=Object.keys(h);g=l?y.sort(l):y}for(var S=0;S<g.length;++S){var w=g[S];if(r&&h[w]===null){continue}if(Array.isArray(h)){b=b.concat(stringify(h[w],i(t,w),i,a,r,s,u,l,c,d,p,f))}else{b=b.concat(stringify(h[w],t+(c?"."+w:"["+w+"]"),i,a,r,s,u,l,c,d,p,f))}}return b};e.exports=function(e,t){var i=e;var s=t?n.assign({},t):{};if(s.encoder!==null&&s.encoder!==undefined&&typeof s.encoder!=="function"){throw new TypeError("Encoder has to be a function.")}var l=typeof s.delimiter==="undefined"?o.delimiter:s.delimiter;var c=typeof s.strictNullHandling==="boolean"?s.strictNullHandling:o.strictNullHandling;var d=typeof s.skipNulls==="boolean"?s.skipNulls:o.skipNulls;var p=typeof s.encode==="boolean"?s.encode:o.encode;var f=typeof s.encoder==="function"?s.encoder:o.encoder;var h=typeof s.sort==="function"?s.sort:null;var m=typeof s.allowDots==="undefined"?false:s.allowDots;var b=typeof s.serializeDate==="function"?s.serializeDate:o.serializeDate;var g=typeof s.encodeValuesOnly==="boolean"?s.encodeValuesOnly:o.encodeValuesOnly;if(typeof s.format==="undefined"){s.format=a["default"]}else if(!Object.prototype.hasOwnProperty.call(a.formatters,s.format)){throw new TypeError("Unknown format option provided.")}var y=a.formatters[s.format];var S;var w;if(typeof s.filter==="function"){w=s.filter;i=w("",i)}else if(Array.isArray(s.filter)){w=s.filter;S=w}var v=[];if(typeof i!=="object"||i===null){return""}var z;if(s.arrayFormat in r){z=s.arrayFormat}else if("indices"in s){z=s.indices?"indices":"repeat"}else{z="indices"}var j=r[z];if(!S){S=Object.keys(i)}if(h){S.sort(h)}for(var O=0;O<S.length;++O){var k=S[O];if(d&&i[k]===null){continue}v=v.concat(u(i[k],k,j,c,d,p?f:null,w,h,m,b,y,g))}var C=v.join(l);var T=s.addQueryPrefix===true?"?":"";return C.length>0?T+C:""}},function(e,t,i){"use strict";var n=i(87);var a=i(747);var r=i(402);var s=i(739);var o=Object.create(s);t.extend=Object.assign;var u=Boolean(process.versions.electron);var l={fatal:false,globOptions:{},maxdepth:255,noglob:false,silent:false,verbose:false,execPath:null,bufLength:64*1024};var c={reset:function(){Object.assign(this,l);if(!u){this.execPath=process.execPath}},resetForTesting:function(){this.reset();this.silent=true}};c.reset();t.config=c;var d={error:null,errorCode:0,currentCmd:"shell.js"};t.state=d;delete process.env.OLDPWD;function isObject(e){return typeof e==="object"&&e!==null}t.isObject=isObject;function log(){if(!c.silent){console.error.apply(console,arguments)}}t.log=log;function convertErrorOutput(e){if(typeof e!=="string"){throw new TypeError("input must be a string")}return e.replace(/\\/g,"/")}t.convertErrorOutput=convertErrorOutput;function error(e,t,i){if(typeof e!=="string")throw new Error("msg must be a string");var n={continue:false,code:1,prefix:d.currentCmd+": ",silent:false};if(typeof t==="number"&&isObject(i)){i.code=t}else if(isObject(t)){i=t}else if(typeof t==="number"){i={code:t}}else if(typeof t!=="number"){i={}}i=Object.assign({},n,i);if(!d.errorCode)d.errorCode=i.code;var a=convertErrorOutput(i.prefix+e);d.error=d.error?d.error+"\n":"";d.error+=a;if(c.fatal)throw new Error(a);if(e.length>0&&!i.silent)log(a);if(!i.continue){throw{msg:"earlyExit",retValue:new ShellString("",d.error,d.errorCode)}}}t.error=error;function ShellString(e,t,i){var n;if(e instanceof Array){n=e;n.stdout=e.join("\n");if(e.length>0)n.stdout+="\n"}else{n=new String(e);n.stdout=e}n.stderr=t;n.code=i;h.forEach(function(e){n[e]=o[e].bind(n)});return n}t.ShellString=ShellString;function parseOptions(e,t,i){if(typeof e!=="string"&&!isObject(e)){throw new Error("options must be strings or key-value pairs")}else if(!isObject(t)){throw new Error("parseOptions() internal error: map must be an object")}else if(i&&!isObject(i)){throw new Error("parseOptions() internal error: errorOptions must be object")}if(e==="--"){return{}}var n={};Object.keys(t).forEach(function(e){var i=t[e];if(i[0]!=="!"){n[i]=false}});if(e==="")return n;if(typeof e==="string"){if(e[0]!=="-"){throw new Error("Options string must start with a '-'")}var a=e.slice(1).split("");a.forEach(function(e){if(e in t){var a=t[e];if(a[0]==="!"){n[a.slice(1)]=false}else{n[a]=true}}else{error("option not recognized: "+e,i||{})}})}else{Object.keys(e).forEach(function(a){var r=a[1];if(r in t){var s=t[r];n[s]=e[a]}else{error("option not recognized: "+r,i||{})}})}return n}t.parseOptions=parseOptions;function expand(e){if(!Array.isArray(e)){throw new TypeError("must be an array")}var t=[];e.forEach(function(e){if(typeof e!=="string"){t.push(e)}else{var i;try{i=r.sync(e,c.globOptions);i=i.length>0?i:[e]}catch(t){i=[e]}t=t.concat(i)}});return t}t.expand=expand;var p=typeof Buffer.alloc==="function"?function(e){return Buffer.alloc(e||c.bufLength)}:function(e){return new Buffer(e||c.bufLength)};t.buffer=p;function unlinkSync(e){try{a.unlinkSync(e)}catch(t){if(t.code==="EPERM"){a.chmodSync(e,"0666");a.unlinkSync(e)}else{throw t}}}t.unlinkSync=unlinkSync;function statFollowLinks(){return a.statSync.apply(a,arguments)}t.statFollowLinks=statFollowLinks;function statNoFollowLinks(){return a.lstatSync.apply(a,arguments)}t.statNoFollowLinks=statNoFollowLinks;function randomFileName(){function randomHash(e){if(e===1){return parseInt(16*Math.random(),10).toString(16)}var t="";for(var i=0;i<e;i++){t+=randomHash(1)}return t}return"shelljs_"+randomHash(20)}t.randomFileName=randomFileName;function wrap(e,t,i){i=i||{};return function(){var a=null;d.currentCmd=e;d.error=null;d.errorCode=0;try{var r=[].slice.call(arguments,0);if(c.verbose){console.error.apply(console,[e].concat(r))}d.pipedValue=this&&typeof this.stdout==="string"?this.stdout:"";if(i.unix===false){a=t.apply(this,r)}else{if(isObject(r[0])&&r[0].constructor.name==="Object"){}else if(r.length===0||typeof r[0]!=="string"||r[0].length<=1||r[0][0]!=="-"){r.unshift("")}r=r.reduce(function(e,t){if(Array.isArray(t)){return e.concat(t)}e.push(t);return e},[]);r=r.map(function(e){if(isObject(e)&&e.constructor.name==="String"){return e.toString()}return e});var s=n.homedir();r=r.map(function(e){if(typeof e==="string"&&e.slice(0,2)==="~/"||e==="~"){return e.replace(/^~/,s)}return e});if(!c.noglob&&i.allowGlobbing===true){r=r.slice(0,i.globStart).concat(expand(r.slice(i.globStart)))}try{if(isObject(i.cmdOptions)){r[0]=parseOptions(r[0],i.cmdOptions)}a=t.apply(this,r)}catch(e){if(e.msg==="earlyExit"){a=e.retValue}else{throw e}}}}catch(e){if(!d.error){e.name="ShellJSInternalError";throw e}if(c.fatal)throw e}if(i.wrapOutput&&(typeof a==="string"||Array.isArray(a))){a=new ShellString(a,d.error,d.errorCode)}d.currentCmd="shell.js";return a}}t.wrap=wrap;function _readFromPipe(){return d.pipedValue}t.readFromPipe=_readFromPipe;var f={allowGlobbing:true,canReceivePipe:false,cmdOptions:null,globStart:1,pipeOnly:false,wrapOutput:true,unix:true};var h=[];function _register(e,t,i){i=i||{};Object.keys(i).forEach(function(e){if(!f.hasOwnProperty(e)){throw new Error("Unknown option '"+e+"'")}if(typeof i[e]!==typeof f[e]){throw new TypeError("Unsupported type '"+typeof i[e]+"' for option '"+e+"'")}});i=Object.assign({},f,i);if(s.hasOwnProperty(e)){throw new Error("Command `"+e+"` already exists")}if(i.pipeOnly){i.canReceivePipe=true;o[e]=wrap(e,t,i)}else{s[e]=wrap(e,t,i)}if(i.canReceivePipe){h.push(e)}}t.register=_register},function(e,t,i){e.exports={read:read,write:write};var n=i(872);var a=i(215).Buffer;var r=i(538);var s=i(270);var o=i(852);var u=i(502);var l=i(78);var c=/^([a-z0-9-]+)[ \t]+([a-zA-Z0-9+\/]+[=]*)([ \t]+([^ \t][^\n]*[\n]*)?)?$/;var d=/^([a-z0-9-]+)[ \t\n]+([a-zA-Z0-9+\/][a-zA-Z0-9+\/ \t\n=]*)([^a-zA-Z0-9+\/ \t\n=].*)?$/;function read(e,t){if(typeof e!=="string"){n.buffer(e,"buf");e=e.toString("ascii")}var i=e.trim().replace(/[\\\r]/g,"");var s=i.match(c);if(!s)s=i.match(d);n.ok(s,"key must match regex");var o=r.algToKeyType(s[1]);var u=a.from(s[2],"base64");var l;var p={};if(s[4]){try{l=r.read(u)}catch(e){s=i.match(d);n.ok(s,"key must match regex");u=a.from(s[2],"base64");l=r.readInternal(p,"public",u)}}else{l=r.readInternal(p,"public",u)}n.strictEqual(o,l.type);if(s[4]&&s[4].length>0){l.comment=s[4]}else if(p.consumed){var f=s[2]+(s[3]?s[3]:"");var h=Math.ceil(p.consumed/3)*4;f=f.slice(0,h-2).replace(/[^a-zA-Z0-9+\/=]/g,"")+f.slice(h-2);var m=p.consumed%3;if(m>0&&f.slice(h-1,h)!=="=")h--;while(f.slice(h,h+1)==="=")h++;var b=f.slice(h);b=b.replace(/[\r\n]/g," ").replace(/^\s+/,"");if(b.match(/^[a-zA-Z0-9]/))l.comment=b}return l}function write(e,t){n.object(e);if(!o.isKey(e))throw new Error("Must be a public key");var i=[];var s=r.keyTypeToAlg(e);i.push(s);var u=r.write(e);i.push(u.toString("base64"));if(e.comment)i.push(e.comment);return a.from(i.join(" "))}},function(e){e.exports=(e=>JSON.parse(JSON.stringify(e)))},function(e,t,i){var n=i(602);function error(){return n.state.error}e.exports=error},,,function(e,t,i){"use strict";const{Duplex:n}=i(413);function emitClose(e){e.emit("close")}function duplexOnEnd(){if(!this.destroyed&&this._writableState.finished){this.destroy()}}function duplexOnError(e){this.removeListener("error",duplexOnError);this.destroy();if(this.listenerCount("error")===0){this.emit("error",e)}}function createWebSocketStream(e,t){let i=true;function receiverOnDrain(){if(i)e._socket.resume()}if(e.readyState===e.CONNECTING){e.once("open",function open(){e._receiver.removeAllListeners("drain");e._receiver.on("drain",receiverOnDrain)})}else{e._receiver.removeAllListeners("drain");e._receiver.on("drain",receiverOnDrain)}const a=new n({...t,autoDestroy:false,emitClose:false,objectMode:false,writableObjectMode:false});e.on("message",function message(t){if(!a.push(t)){i=false;e._socket.pause()}});e.once("error",function error(e){if(a.destroyed)return;a.destroy(e)});e.once("close",function close(){if(a.destroyed)return;a.push(null)});a._destroy=function(t,i){if(e.readyState===e.CLOSED){i(t);process.nextTick(emitClose,a);return}let n=false;e.once("error",function error(e){n=true;i(e)});e.once("close",function close(){if(!n)i(t);process.nextTick(emitClose,a)});e.terminate()};a._final=function(t){if(e.readyState===e.CONNECTING){e.once("open",function open(){a._final(t)});return}if(e._socket===null)return;if(e._socket._writableState.finished){t();if(a._readableState.endEmitted)a.destroy()}else{e._socket.once("finish",function finish(){t()});e.close()}};a._read=function(){if(e.readyState===e.OPEN&&!i){i=true;if(!e._receiver._writableState.needDrain)e._socket.resume()}};a._write=function(t,i,n){if(e.readyState===e.CONNECTING){e.once("open",function open(){a._write(t,i,n)});return}e.send(t,n)};a.on("end",duplexOnEnd);a.on("error",duplexOnError);return a}e.exports=createWebSocketStream},,function(e,t,i){const n=i(320);n.config=i(264);e.exports=n},function(e,t,i){"use strict";var n=i(43);e.exports=new n({include:[i(23)]})},function(e,t,i){"use strict";e.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(e){var t=this;if(!(t instanceof Yallist)){t=new Yallist}t.tail=null;t.head=null;t.length=0;if(e&&typeof e.forEach==="function"){e.forEach(function(e){t.push(e)})}else if(arguments.length>0){for(var i=0,n=arguments.length;i<n;i++){t.push(arguments[i])}}return t}Yallist.prototype.removeNode=function(e){if(e.list!==this){throw new Error("removing node which does not belong to this list")}var t=e.next;var i=e.prev;if(t){t.prev=i}if(i){i.next=t}if(e===this.head){this.head=t}if(e===this.tail){this.tail=i}e.list.length--;e.next=null;e.prev=null;e.list=null;return t};Yallist.prototype.unshiftNode=function(e){if(e===this.head){return}if(e.list){e.list.removeNode(e)}var t=this.head;e.list=this;e.next=t;if(t){t.prev=e}this.head=e;if(!this.tail){this.tail=e}this.length++};Yallist.prototype.pushNode=function(e){if(e===this.tail){return}if(e.list){e.list.removeNode(e)}var t=this.tail;e.list=this;e.prev=t;if(t){t.next=e}this.tail=e;if(!this.head){this.head=e}this.length++};Yallist.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++){push(this,arguments[e])}return this.length};Yallist.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++){unshift(this,arguments[e])}return this.length};Yallist.prototype.pop=function(){if(!this.tail){return undefined}var e=this.tail.value;this.tail=this.tail.prev;if(this.tail){this.tail.next=null}else{this.head=null}this.length--;return e};Yallist.prototype.shift=function(){if(!this.head){return undefined}var e=this.head.value;this.head=this.head.next;if(this.head){this.head.prev=null}else{this.tail=null}this.length--;return e};Yallist.prototype.forEach=function(e,t){t=t||this;for(var i=this.head,n=0;i!==null;n++){e.call(t,i.value,n,this);i=i.next}};Yallist.prototype.forEachReverse=function(e,t){t=t||this;for(var i=this.tail,n=this.length-1;i!==null;n--){e.call(t,i.value,n,this);i=i.prev}};Yallist.prototype.get=function(e){for(var t=0,i=this.head;i!==null&&t<e;t++){i=i.next}if(t===e&&i!==null){return i.value}};Yallist.prototype.getReverse=function(e){for(var t=0,i=this.tail;i!==null&&t<e;t++){i=i.prev}if(t===e&&i!==null){return i.value}};Yallist.prototype.map=function(e,t){t=t||this;var i=new Yallist;for(var n=this.head;n!==null;){i.push(e.call(t,n.value,this));n=n.next}return i};Yallist.prototype.mapReverse=function(e,t){t=t||this;var i=new Yallist;for(var n=this.tail;n!==null;){i.push(e.call(t,n.value,this));n=n.prev}return i};Yallist.prototype.reduce=function(e,t){var i;var n=this.head;if(arguments.length>1){i=t}else if(this.head){n=this.head.next;i=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var a=0;n!==null;a++){i=e(i,n.value,a);n=n.next}return i};Yallist.prototype.reduceReverse=function(e,t){var i;var n=this.tail;if(arguments.length>1){i=t}else if(this.tail){n=this.tail.prev;i=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var a=this.length-1;n!==null;a--){i=e(i,n.value,a);n=n.prev}return i};Yallist.prototype.toArray=function(){var e=new Array(this.length);for(var t=0,i=this.head;i!==null;t++){e[t]=i.value;i=i.next}return e};Yallist.prototype.toArrayReverse=function(){var e=new Array(this.length);for(var t=0,i=this.tail;i!==null;t++){e[t]=i.value;i=i.prev}return e};Yallist.prototype.slice=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var i=new Yallist;if(t<e||t<0){return i}if(e<0){e=0}if(t>this.length){t=this.length}for(var n=0,a=this.head;a!==null&&n<e;n++){a=a.next}for(;a!==null&&n<t;n++,a=a.next){i.push(a.value)}return i};Yallist.prototype.sliceReverse=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var i=new Yallist;if(t<e||t<0){return i}if(e<0){e=0}if(t>this.length){t=this.length}for(var n=this.length,a=this.tail;a!==null&&n>t;n--){a=a.prev}for(;a!==null&&n>e;n--,a=a.prev){i.push(a.value)}return i};Yallist.prototype.splice=function(e,t,...i){if(e>this.length){e=this.length-1}if(e<0){e=this.length+e}for(var n=0,a=this.head;a!==null&&n<e;n++){a=a.next}var r=[];for(var n=0;a&&n<t;n++){r.push(a.value);a=this.removeNode(a)}if(a===null){a=this.tail}if(a!==this.head&&a!==this.tail){a=a.prev}for(var n=0;n<i.length;n++){a=insert(this,a,i[n])}return r};Yallist.prototype.reverse=function(){var e=this.head;var t=this.tail;for(var i=e;i!==null;i=i.prev){var n=i.prev;i.prev=i.next;i.next=n}this.head=t;this.tail=e;return this};function insert(e,t,i){var n=t===e.head?new Node(i,null,t,e):new Node(i,t,t.next,e);if(n.next===null){e.tail=n}if(n.prev===null){e.head=n}e.length++;return n}function push(e,t){e.tail=new Node(t,e.tail,null,e);if(!e.head){e.head=e.tail}e.length++}function unshift(e,t){e.head=new Node(t,null,e.head,e);if(!e.tail){e.tail=e.head}e.length++}function Node(e,t,i,n){if(!(this instanceof Node)){return new Node(e,t,i,n)}this.list=n;this.value=e;if(t){t.next=this;this.prev=t}else{this.prev=null}if(i){i.prev=this;this.next=i}else{this.next=null}}try{i(396)(Yallist)}catch(e){}},function(e,t,i){"use strict";const n=i(614);const a=i(373);const r=i(363);const s=i(301);const o=i(330);const u=i(21);const{GUID:l}=i(799);const c=/^[+/0-9A-Za-z]{22}==$/;class WebSocketServer extends n{constructor(e,t){super();e=Object.assign({maxPayload:100*1024*1024,perMessageDeflate:false,handleProtocols:null,clientTracking:true,verifyClient:null,noServer:false,backlog:null,server:null,host:null,path:null,port:null},e);if(e.port==null&&!e.server&&!e.noServer){throw new TypeError('One of the "port", "server", or "noServer" options must be specified')}if(e.port!=null){this._server=r.createServer((e,t)=>{const i=r.STATUS_CODES[426];t.writeHead(426,{"Content-Length":i.length,"Content-Type":"text/plain"});t.end(i)});this._server.listen(e.port,e.host,e.backlog,t)}else if(e.server){this._server=e.server}if(this._server){this._removeListeners=addListeners(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(e,t,i)=>{this.handleUpgrade(e,t,i,t=>{this.emit("connection",t,e)})}})}if(e.perMessageDeflate===true)e.perMessageDeflate={};if(e.clientTracking)this.clients=new Set;this.options=e}address(){if(this.options.noServer){throw new Error('The server is operating in "noServer" mode')}if(!this._server)return null;return this._server.address()}close(e){if(e)this.once("close",e);if(this.clients){for(const e of this.clients)e.terminate()}const t=this._server;if(t){this._removeListeners();this._removeListeners=this._server=null;if(this.options.port!=null){t.close(()=>this.emit("close"));return}}process.nextTick(emitClose,this)}shouldHandle(e){if(this.options.path){const t=e.url.indexOf("?");const i=t!==-1?e.url.slice(0,t):e.url;if(i!==this.options.path)return false}return true}handleUpgrade(e,t,i,n){t.on("error",socketOnError);const a=e.headers["sec-websocket-key"]!==undefined?e.headers["sec-websocket-key"].trim():false;const r=+e.headers["sec-websocket-version"];const u={};if(e.method!=="GET"||e.headers.upgrade.toLowerCase()!=="websocket"||!a||!c.test(a)||r!==8&&r!==13||!this.shouldHandle(e)){return abortHandshake(t,400)}if(this.options.perMessageDeflate){const i=new s(this.options.perMessageDeflate,true,this.options.maxPayload);try{const n=o.parse(e.headers["sec-websocket-extensions"]);if(n[s.extensionName]){i.accept(n[s.extensionName]);u[s.extensionName]=i}}catch(e){return abortHandshake(t,400)}}if(this.options.verifyClient){const s={origin:e.headers[`${r===8?"sec-websocket-origin":"origin"}`],secure:!!(e.connection.authorized||e.connection.encrypted),req:e};if(this.options.verifyClient.length===2){this.options.verifyClient(s,(r,s,o,l)=>{if(!r){return abortHandshake(t,s||401,o,l)}this.completeUpgrade(a,u,e,t,i,n)});return}if(!this.options.verifyClient(s))return abortHandshake(t,401)}this.completeUpgrade(a,u,e,t,i,n)}completeUpgrade(e,t,i,n,r,c){if(!n.readable||!n.writable)return n.destroy();const d=a.createHash("sha1").update(e+l).digest("base64");const p=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${d}`];const f=new u(null);var h=i.headers["sec-websocket-protocol"];if(h){h=h.trim().split(/ *, */);if(this.options.handleProtocols){h=this.options.handleProtocols(h,i)}else{h=h[0]}if(h){p.push(`Sec-WebSocket-Protocol: ${h}`);f.protocol=h}}if(t[s.extensionName]){const e=t[s.extensionName].params;const i=o.format({[s.extensionName]:[e]});p.push(`Sec-WebSocket-Extensions: ${i}`);f._extensions=t}this.emit("headers",p,i);n.write(p.concat("\r\n").join("\r\n"));n.removeListener("error",socketOnError);f.setSocket(n,r,this.options.maxPayload);if(this.clients){this.clients.add(f);f.on("close",()=>this.clients.delete(f))}c(f)}}e.exports=WebSocketServer;function addListeners(e,t){for(const i of Object.keys(t))e.on(i,t[i]);return function removeListeners(){for(const i of Object.keys(t)){e.removeListener(i,t[i])}}}function emitClose(e){e.emit("close")}function socketOnError(){this.destroy()}function abortHandshake(e,t,i,n){if(e.writable){i=i||r.STATUS_CODES[t];n=Object.assign({Connection:"close","Content-type":"text/html","Content-Length":Buffer.byteLength(i)},n);e.write(`HTTP/1.1 ${t} ${r.STATUS_CODES[t]}\r\n`+Object.keys(n).map(e=>`${e}: ${n[e]}`).join("\r\n")+"\r\n\r\n"+i)}e.removeListener("error",socketOnError);e.destroy()}},function(e){e.exports=require("events")},function(e,t,i){const{strict:n}=i(357);const{createHash:a}=i(373);const{format:r}=i(669);const s=i(682);const o=e=>e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");const u=e=>o(e.toString("base64"));function getHash(e,t){switch(e){case"HS256":case"RS256":case"PS256":case"ES256":case"ES256K":return a("sha256");case"HS384":case"RS384":case"PS384":case"ES384":return a("sha384");case"HS512":case"RS512":case"PS512":case"ES512":return a("sha512");case"EdDSA":switch(t){case"Ed25519":return a("sha512");case"Ed448":if(!s){throw new TypeError("Ed448 *_hash calculation is not supported in your Node.js runtime version")}return a("shake256",{outputLength:114});default:throw new TypeError("unrecognized or invalid EdDSA curve provided")}default:throw new TypeError("unrecognized or invalid JWS algorithm provided")}}function generate(e,t,i){const n=getHash(t,i).update(e).digest();return u(n.slice(0,n.length/2))}function validate(e,t,i,a,s){if(typeof e.claim!=="string"||!e.claim){throw new TypeError("names.claim must be a non-empty string")}if(typeof e.source!=="string"||!e.source){throw new TypeError("names.source must be a non-empty string")}n(typeof t==="string"&&t,`${e.claim} must be a non-empty string`);n(typeof i==="string"&&i,`${e.source} must be a non-empty string`);let o;let u;try{o=generate(i,a,s)}catch(t){u=r("%s could not be validated (%s)",e.claim,t.message)}u=u||r("%s mismatch, expected %s, got: %s",e.claim,o,t);n.equal(o,t,u)}e.exports={validate:validate,generate:generate}},,,,,,function(e){"use strict";e.exports=balanced;function balanced(e,t,i){if(e instanceof RegExp)e=maybeMatch(e,i);if(t instanceof RegExp)t=maybeMatch(t,i);var n=range(e,t,i);return n&&{start:n[0],end:n[1],pre:i.slice(0,n[0]),body:i.slice(n[0]+e.length,n[1]),post:i.slice(n[1]+t.length)}}function maybeMatch(e,t){var i=t.match(e);return i?i[0]:null}balanced.range=range;function range(e,t,i){var n,a,r,s,o;var u=i.indexOf(e);var l=i.indexOf(t,u+1);var c=u;if(u>=0&&l>0){n=[];r=i.length;while(c>=0&&!o){if(c==u){n.push(c);u=i.indexOf(e,c+1)}else if(n.length==1){o=[n.pop(),l]}else{a=n.pop();if(a<r){r=a;s=l}l=i.indexOf(t,c+1)}c=u<l&&u>=0?u:l}if(n.length){o=[r,s]}}return o}},function(e){e.exports=require("path")},function(e,t,i){"use strict";var n=i(601);var a=i(267);var r=i(741);e.exports={formats:r,parse:a,stringify:n}},function(e,t,i){e.exports={read:read,write:write};var n=i(872);var a=i(215).Buffer;var r=i(538);var s=i(852);var o=i(753);function read(e,t){var i=e.toString("ascii").split(/[\r\n]+/);var s=false;var o;var u=0;while(u<i.length){o=splitHeader(i[u++]);if(o&&o[0].toLowerCase()==="putty-user-key-file-2"){s=true;break}}if(!s){throw new Error("No PuTTY format first line found")}var l=o[1];o=splitHeader(i[u++]);n.equal(o[0].toLowerCase(),"encryption");o=splitHeader(i[u++]);n.equal(o[0].toLowerCase(),"comment");var c=o[1];o=splitHeader(i[u++]);n.equal(o[0].toLowerCase(),"public-lines");var d=parseInt(o[1],10);if(!isFinite(d)||d<0||d>i.length){throw new Error("Invalid public-lines count")}var p=a.from(i.slice(u,u+d).join(""),"base64");var f=r.algToKeyType(l);var h=r.read(p);if(h.type!==f){throw new Error("Outer key algorithm mismatch")}h.comment=c;return h}function splitHeader(e){var t=e.indexOf(":");if(t===-1)return null;var i=e.slice(0,t);++t;while(e[t]===" ")++t;var n=e.slice(t);return[i,n]}function write(e,t){n.object(e);if(!s.isKey(e))throw new Error("Must be a public key");var i=r.keyTypeToAlg(e);var o=r.write(e);var u=e.comment||"";var l=o.toString("base64");var c=wrap(l,64);c.unshift("Public-Lines: "+c.length);c.unshift("Comment: "+u);c.unshift("Encryption: none");c.unshift("PuTTY-User-Key-File-2: "+i);return a.from(c.join("\n")+"\n")}function wrap(e,t){var i=[];var n=0;while(n<e.length){i.push(e.slice(n,n+64));n+=64}return i}},,function(e,t,i){const n=i(466);const a=i(592);const r=i(785);const s=i(186);const o=i(728);const u=i(847);const l=async(e,t,i,l=true)=>{switch(e){case"RSA":return a(await r.generate(t,l),i);case"EC":return a(await s.generate(t,l),i);case"OKP":return a(await o.generate(t,l),i);case"oct":return a(await u.generate(t,l),i);default:throw new n.JOSENotSupported(`unsupported key type: ${e}`)}};const c=(e,t,i,l=true)=>{switch(e){case"RSA":return a(r.generateSync(t,l),i);case"EC":return a(s.generateSync(t,l),i);case"OKP":return a(o.generateSync(t,l),i);case"oct":return a(u.generateSync(t,l),i);default:throw new n.JOSENotSupported(`unsupported key type: ${e}`)}};e.exports.generate=l;e.exports.generateSync=c},function(e,t){"use strict";function Store(){}t.Store=Store;Store.prototype.synchronous=false;Store.prototype.findCookie=function(e,t,i,n){throw new Error("findCookie is not implemented")};Store.prototype.findCookies=function(e,t,i){throw new Error("findCookies is not implemented")};Store.prototype.putCookie=function(e,t){throw new Error("putCookie is not implemented")};Store.prototype.updateCookie=function(e,t,i){throw new Error("updateCookie is not implemented")};Store.prototype.removeCookie=function(e,t,i,n){throw new Error("removeCookie is not implemented")};Store.prototype.removeCookies=function(e,t,i){throw new Error("removeCookies is not implemented")};Store.prototype.removeAllCookies=function(e){throw new Error("removeAllCookies is not implemented")};Store.prototype.getAllCookies=function(e){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}},function(e){"use strict";var t=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];e.exports=function(e,i){for(var n=0;n<i.length;n++){e=JSON.parse(JSON.stringify(e));var a=i[n].split("/");var r=e;var s;for(s=1;s<a.length;s++)r=r[a[s]];for(s=0;s<t.length;s++){var o=t[s];var u=r[o];if(u){r[o]={anyOf:[u,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}}}}return e}},function(e,t,i){"use strict";var n=i(945);function resolveJavascriptRegExp(e){if(e===null)return false;if(e.length===0)return false;var t=e,i=/\/([gim]*)$/.exec(e),n="";if(t[0]==="/"){if(i)n=i[1];if(n.length>3)return false;if(t[t.length-n.length-1]!=="/")return false}return true}function constructJavascriptRegExp(e){var t=e,i=/\/([gim]*)$/.exec(e),n="";if(t[0]==="/"){if(i)n=i[1];t=t.slice(1,t.length-n.length-1)}return new RegExp(t,n)}function representJavascriptRegExp(e){var t="/"+e.source+"/";if(e.global)t+="g";if(e.multiline)t+="m";if(e.ignoreCase)t+="i";return t}function isRegExp(e){return Object.prototype.toString.call(e)==="[object RegExp]"}e.exports=new n("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:resolveJavascriptRegExp,construct:constructJavascriptRegExp,predicate:isRegExp,represent:representJavascriptRegExp})},function(e,t,i){const n=i(874);const a=(e,t,i)=>n(t,e,i);e.exports=a},function(e){e.exports=require("net")},function(e){"use strict";const t=new Set([200,203,204,206,300,301,404,405,410,414,501]);const i=new Set([200,203,204,300,301,302,303,307,308,404,405,410,414,501]);const n=new Set([500,502,503,504]);const a={date:true,connection:true,"keep-alive":true,"proxy-authenticate":true,"proxy-authorization":true,te:true,trailer:true,"transfer-encoding":true,upgrade:true};const r={"content-length":true,"content-encoding":true,"transfer-encoding":true,"content-range":true};function toNumberOrZero(e){const t=parseInt(e,10);return isFinite(t)?t:0}function isErrorResponse(e){if(!e){return true}return n.has(e.status)}function parseCacheControl(e){const t={};if(!e)return t;const i=e.trim().split(/\s*,\s*/);for(const e of i){const[i,n]=e.split(/\s*=\s*/,2);t[i]=n===undefined?true:n.replace(/^"|"$/g,"")}return t}function formatCacheControl(e){let t=[];for(const i in e){const n=e[i];t.push(n===true?i:i+"="+n)}if(!t.length){return undefined}return t.join(", ")}e.exports=class CachePolicy{constructor(e,t,{shared:i,cacheHeuristic:n,immutableMinTimeToLive:a,ignoreCargoCult:r,_fromObject:s}={}){if(s){this._fromObject(s);return}if(!t||!t.headers){throw Error("Response headers missing")}this._assertRequestHasHeaders(e);this._responseTime=this.now();this._isShared=i!==false;this._cacheHeuristic=undefined!==n?n:.1;this._immutableMinTtl=undefined!==a?a:24*3600*1e3;this._status="status"in t?t.status:200;this._resHeaders=t.headers;this._rescc=parseCacheControl(t.headers["cache-control"]);this._method="method"in e?e.method:"GET";this._url=e.url;this._host=e.headers.host;this._noAuthorization=!e.headers.authorization;this._reqHeaders=t.headers.vary?e.headers:null;this._reqcc=parseCacheControl(e.headers["cache-control"]);if(r&&"pre-check"in this._rescc&&"post-check"in this._rescc){delete this._rescc["pre-check"];delete this._rescc["post-check"];delete this._rescc["no-cache"];delete this._rescc["no-store"];delete this._rescc["must-revalidate"];this._resHeaders=Object.assign({},this._resHeaders,{"cache-control":formatCacheControl(this._rescc)});delete this._resHeaders.expires;delete this._resHeaders.pragma}if(t.headers["cache-control"]==null&&/no-cache/.test(t.headers.pragma)){this._rescc["no-cache"]=true}}now(){return Date.now()}storable(){return!!(!this._reqcc["no-store"]&&("GET"===this._method||"HEAD"===this._method||"POST"===this._method&&this._hasExplicitExpiration())&&i.has(this._status)&&!this._rescc["no-store"]&&(!this._isShared||!this._rescc.private)&&(!this._isShared||this._noAuthorization||this._allowsStoringAuthenticated())&&(this._resHeaders.expires||this._rescc["max-age"]||this._isShared&&this._rescc["s-maxage"]||this._rescc.public||t.has(this._status)))}_hasExplicitExpiration(){return this._isShared&&this._rescc["s-maxage"]||this._rescc["max-age"]||this._resHeaders.expires}_assertRequestHasHeaders(e){if(!e||!e.headers){throw Error("Request headers missing")}}satisfiesWithoutRevalidation(e){this._assertRequestHasHeaders(e);const t=parseCacheControl(e.headers["cache-control"]);if(t["no-cache"]||/no-cache/.test(e.headers.pragma)){return false}if(t["max-age"]&&this.age()>t["max-age"]){return false}if(t["min-fresh"]&&this.timeToLive()<1e3*t["min-fresh"]){return false}if(this.stale()){const e=t["max-stale"]&&!this._rescc["must-revalidate"]&&(true===t["max-stale"]||t["max-stale"]>this.age()-this.maxAge());if(!e){return false}}return this._requestMatches(e,false)}_requestMatches(e,t){return(!this._url||this._url===e.url)&&this._host===e.headers.host&&(!e.method||this._method===e.method||t&&"HEAD"===e.method)&&this._varyMatches(e)}_allowsStoringAuthenticated(){return this._rescc["must-revalidate"]||this._rescc.public||this._rescc["s-maxage"]}_varyMatches(e){if(!this._resHeaders.vary){return true}if(this._resHeaders.vary==="*"){return false}const t=this._resHeaders.vary.trim().toLowerCase().split(/\s*,\s*/);for(const i of t){if(e.headers[i]!==this._reqHeaders[i])return false}return true}_copyWithoutHopByHopHeaders(e){const t={};for(const i in e){if(a[i])continue;t[i]=e[i]}if(e.connection){const i=e.connection.trim().split(/\s*,\s*/);for(const e of i){delete t[e]}}if(t.warning){const e=t.warning.split(/,/).filter(e=>{return!/^\s*1[0-9][0-9]/.test(e)});if(!e.length){delete t.warning}else{t.warning=e.join(",").trim()}}return t}responseHeaders(){const e=this._copyWithoutHopByHopHeaders(this._resHeaders);const t=this.age();if(t>3600*24&&!this._hasExplicitExpiration()&&this.maxAge()>3600*24){e.warning=(e.warning?`${e.warning}, `:"")+'113 - "rfc7234 5.5.4"'}e.age=`${Math.round(t)}`;e.date=new Date(this.now()).toUTCString();return e}date(){const e=Date.parse(this._resHeaders.date);if(isFinite(e)){return e}return this._responseTime}age(){let e=this._ageValue();const t=(this.now()-this._responseTime)/1e3;return e+t}_ageValue(){return toNumberOrZero(this._resHeaders.age)}maxAge(){if(!this.storable()||this._rescc["no-cache"]){return 0}if(this._isShared&&(this._resHeaders["set-cookie"]&&!this._rescc.public&&!this._rescc.immutable)){return 0}if(this._resHeaders.vary==="*"){return 0}if(this._isShared){if(this._rescc["proxy-revalidate"]){return 0}if(this._rescc["s-maxage"]){return toNumberOrZero(this._rescc["s-maxage"])}}if(this._rescc["max-age"]){return toNumberOrZero(this._rescc["max-age"])}const e=this._rescc.immutable?this._immutableMinTtl:0;const t=this.date();if(this._resHeaders.expires){const i=Date.parse(this._resHeaders.expires);if(Number.isNaN(i)||i<t){return 0}return Math.max(e,(i-t)/1e3)}if(this._resHeaders["last-modified"]){const i=Date.parse(this._resHeaders["last-modified"]);if(isFinite(i)&&t>i){return Math.max(e,(t-i)/1e3*this._cacheHeuristic)}}return e}timeToLive(){const e=this.maxAge()-this.age();const t=e+toNumberOrZero(this._rescc["stale-if-error"]);const i=e+toNumberOrZero(this._rescc["stale-while-revalidate"]);return Math.max(0,e,t,i)*1e3}stale(){return this.maxAge()<=this.age()}_useStaleIfError(){return this.maxAge()+toNumberOrZero(this._rescc["stale-if-error"])>this.age()}useStaleWhileRevalidate(){return this.maxAge()+toNumberOrZero(this._rescc["stale-while-revalidate"])>this.age()}static fromObject(e){return new this(undefined,undefined,{_fromObject:e})}_fromObject(e){if(this._responseTime)throw Error("Reinitialized");if(!e||e.v!==1)throw Error("Invalid serialization");this._responseTime=e.t;this._isShared=e.sh;this._cacheHeuristic=e.ch;this._immutableMinTtl=e.imm!==undefined?e.imm:24*3600*1e3;this._status=e.st;this._resHeaders=e.resh;this._rescc=e.rescc;this._method=e.m;this._url=e.u;this._host=e.h;this._noAuthorization=e.a;this._reqHeaders=e.reqh;this._reqcc=e.reqcc}toObject(){return{v:1,t:this._responseTime,sh:this._isShared,ch:this._cacheHeuristic,imm:this._immutableMinTtl,st:this._status,resh:this._resHeaders,rescc:this._rescc,m:this._method,u:this._url,h:this._host,a:this._noAuthorization,reqh:this._reqHeaders,reqcc:this._reqcc}}revalidationHeaders(e){this._assertRequestHasHeaders(e);const t=this._copyWithoutHopByHopHeaders(e.headers);delete t["if-range"];if(!this._requestMatches(e,true)||!this.storable()){delete t["if-none-match"];delete t["if-modified-since"];return t}if(this._resHeaders.etag){t["if-none-match"]=t["if-none-match"]?`${t["if-none-match"]}, ${this._resHeaders.etag}`:this._resHeaders.etag}const i=t["accept-ranges"]||t["if-match"]||t["if-unmodified-since"]||this._method&&this._method!="GET";if(i){delete t["if-modified-since"];if(t["if-none-match"]){const e=t["if-none-match"].split(/,/).filter(e=>{return!/^\s*W\//.test(e)});if(!e.length){delete t["if-none-match"]}else{t["if-none-match"]=e.join(",").trim()}}}else if(this._resHeaders["last-modified"]&&!t["if-modified-since"]){t["if-modified-since"]=this._resHeaders["last-modified"]}return t}revalidatedPolicy(e,t){this._assertRequestHasHeaders(e);if(this._useStaleIfError()&&isErrorResponse(t)){return{modified:false,matches:false,policy:this}}if(!t||!t.headers){throw Error("Response headers missing")}let i=false;if(t.status!==undefined&&t.status!=304){i=false}else if(t.headers.etag&&!/^\s*W\//.test(t.headers.etag)){i=this._resHeaders.etag&&this._resHeaders.etag.replace(/^\s*W\//,"")===t.headers.etag}else if(this._resHeaders.etag&&t.headers.etag){i=this._resHeaders.etag.replace(/^\s*W\//,"")===t.headers.etag.replace(/^\s*W\//,"")}else if(this._resHeaders["last-modified"]){i=this._resHeaders["last-modified"]===t.headers["last-modified"]}else{if(!this._resHeaders.etag&&!this._resHeaders["last-modified"]&&!t.headers.etag&&!t.headers["last-modified"]){i=true}}if(!i){return{policy:new this.constructor(e,t),modified:t.status!=304,matches:false}}const n={};for(const e in this._resHeaders){n[e]=e in t.headers&&!r[e]?t.headers[e]:this._resHeaders[e]}const a=Object.assign({},t,{status:this._status,method:this._method,headers:n});return{policy:new this.constructor(e,a,{shared:this._isShared,cacheHeuristic:this._cacheHeuristic,immutableMinTimeToLive:this._immutableMinTtl}),modified:false,matches:true}}}},function(e,t,i){"use strict";var n=i(945);function resolveYamlMerge(e){return e==="<<"||e===null}e.exports=new n("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge})},,function(e,t,i){e.exports={Verifier:Verifier,Signer:Signer};var n=i(196);var a=i(413);var r=i(669);var s=i(872);var o=i(215).Buffer;var u=i(575);function Verifier(e,t){if(t.toLowerCase()!=="sha512")throw new Error("ED25519 only supports the use of "+"SHA-512 hashes");this.key=e;this.chunks=[];a.Writable.call(this,{})}r.inherits(Verifier,a.Writable);Verifier.prototype._write=function(e,t,i){this.chunks.push(e);i()};Verifier.prototype.update=function(e){if(typeof e==="string")e=o.from(e,"binary");this.chunks.push(e)};Verifier.prototype.verify=function(e,t){var i;if(u.isSignature(e,[2,0])){if(e.type!=="ed25519")return false;i=e.toBuffer("raw")}else if(typeof e==="string"){i=o.from(e,"base64")}else if(u.isSignature(e,[1,0])){throw new Error("signature was created by too old "+"a version of sshpk and cannot be verified")}s.buffer(i);return n.sign.detached.verify(new Uint8Array(o.concat(this.chunks)),new Uint8Array(i),new Uint8Array(this.key.part.A.data))};function Signer(e,t){if(t.toLowerCase()!=="sha512")throw new Error("ED25519 only supports the use of "+"SHA-512 hashes");this.key=e;this.chunks=[];a.Writable.call(this,{})}r.inherits(Signer,a.Writable);Signer.prototype._write=function(e,t,i){this.chunks.push(e);i()};Signer.prototype.update=function(e){if(typeof e==="string")e=o.from(e,"binary");this.chunks.push(e)};Signer.prototype.sign=function(){var e=n.sign.detached(new Uint8Array(o.concat(this.chunks)),new Uint8Array(o.concat([this.key.part.k.data,this.key.part.A.data])));var t=o.from(e);var i=u.parse(t,"ed25519","raw");i.hashAlgorithm="sha512";return i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(878);class Log{constructor(e){this.config=e}log(e,t,i,a,r,s={}){const o=`/api/v1/namespaces/${e}/pods/${t}/log`;const u=this.config.getCurrentCluster();if(!u){throw new Error("No currently active cluster")}const l=u.server+o;const c={method:"GET",qs:Object.assign({},s,{container:i}),uri:l};this.config.applyToRequest(c);const d=n(c,(e,t,i)=>{if(e){r(e)}else if(t&&t.statusCode!==200){r(i)}else{r(null)}}).on("response",e=>{if(e.statusCode===200){d.pipe(a)}});return d}}t.Log=Log},,,,,function(e,t,i){"use strict";var n=i(196).lowlevel.crypto_hash;var a=0;var r=function(){this.S=[new Uint32Array([3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946]),new Uint32Array([1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055]),new Uint32Array([3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504]),new Uint32Array([976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462])];this.P=new Uint32Array([608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731])};function F(e,t,i){return(e[0][t[i+3]]+e[1][t[i+2]]^e[2][t[i+1]])+e[3][t[i]]}r.prototype.encipher=function(e,t){if(t===undefined){t=new Uint8Array(e.buffer);if(e.byteOffset!==0)t=t.subarray(e.byteOffset)}e[0]^=this.P[0];for(var i=1;i<16;i+=2){e[1]^=F(this.S,t,0)^this.P[i];e[0]^=F(this.S,t,4)^this.P[i+1]}var n=e[0];e[0]=e[1]^this.P[17];e[1]=n};r.prototype.decipher=function(e){var t=new Uint8Array(e.buffer);if(e.byteOffset!==0)t=t.subarray(e.byteOffset);e[0]^=this.P[17];for(var i=16;i>0;i-=2){e[1]^=F(this.S,t,0)^this.P[i];e[0]^=F(this.S,t,4)^this.P[i-1]}var n=e[0];e[0]=e[1]^this.P[0];e[1]=n};function stream2word(e,t){var i,n=0;for(i=0;i<4;i++,a++){if(a>=t)a=0;n=n<<8|e[a]}return n}r.prototype.expand0state=function(e,t){var i=new Uint32Array(2),n,r;var s=new Uint8Array(i.buffer);for(n=0,a=0;n<18;n++){this.P[n]^=stream2word(e,t)}a=0;for(n=0;n<18;n+=2){this.encipher(i,s);this.P[n]=i[0];this.P[n+1]=i[1]}for(n=0;n<4;n++){for(r=0;r<256;r+=2){this.encipher(i,s);this.S[n][r]=i[0];this.S[n][r+1]=i[1]}}};r.prototype.expandstate=function(e,t,i,n){var r=new Uint32Array(2),s,o;for(s=0,a=0;s<18;s++){this.P[s]^=stream2word(i,n)}for(s=0,a=0;s<18;s+=2){r[0]^=stream2word(e,t);r[1]^=stream2word(e,t);this.encipher(r);this.P[s]=r[0];this.P[s+1]=r[1]}for(s=0;s<4;s++){for(o=0;o<256;o+=2){r[0]^=stream2word(e,t);r[1]^=stream2word(e,t);this.encipher(r);this.S[s][o]=r[0];this.S[s][o+1]=r[1]}}a=0};r.prototype.enc=function(e,t){for(var i=0;i<t;i++){this.encipher(e.subarray(i*2))}};r.prototype.dec=function(e,t){for(var i=0;i<t;i++){this.decipher(e.subarray(i*2))}};var s=8,o=32;function bcrypt_hash(e,t,i){var n=new r,a=new Uint32Array(s),o,u=new Uint8Array([79,120,121,99,104,114,111,109,97,116,105,99,66,108,111,119,102,105,115,104,83,119,97,116,68,121,110,97,109,105,116,101]);n.expandstate(t,64,e,64);for(o=0;o<64;o++){n.expand0state(t,64);n.expand0state(e,64)}for(o=0;o<s;o++)a[o]=stream2word(u,u.byteLength);for(o=0;o<64;o++)n.enc(a,a.byteLength/8);for(o=0;o<s;o++){i[4*o+3]=a[o]>>>24;i[4*o+2]=a[o]>>>16;i[4*o+1]=a[o]>>>8;i[4*o+0]=a[o]}}function bcrypt_pbkdf(e,t,i,a,r,s,u){var l=new Uint8Array(64),c=new Uint8Array(64),d=new Uint8Array(o),p=new Uint8Array(o),f=new Uint8Array(a+4),h,m,b,g,y,S,w=s;if(u<1)return-1;if(t===0||a===0||s===0||s>d.byteLength*d.byteLength||a>1<<20)return-1;g=Math.floor((s+d.byteLength-1)/d.byteLength);b=Math.floor((s+g-1)/g);for(h=0;h<a;h++)f[h]=i[h];n(l,e,t);for(S=1;s>0;S++){f[a+0]=S>>>24;f[a+1]=S>>>16;f[a+2]=S>>>8;f[a+3]=S;n(c,f,a+4);bcrypt_hash(l,c,p);for(h=d.byteLength;h--;)d[h]=p[h];for(h=1;h<u;h++){n(c,p,p.byteLength);bcrypt_hash(l,c,p);for(m=0;m<d.byteLength;m++)d[m]^=p[m]}b=Math.min(b,s);for(h=0;h<b;h++){y=h*g+(S-1);if(y>=w)break;r[y]=d[h]}s-=h}return 0}e.exports={BLOCKS:s,HASHSIZE:o,hash:bcrypt_hash,pbkdf:bcrypt_pbkdf}},,function(e){"use strict";e.exports=function generate_items(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;n+="var "+p+" = errors;var "+d+";";if(Array.isArray(s)){var w=e.schema.additionalItems;if(w===false){n+=" "+d+" = "+c+".length <= "+s.length+"; ";var v=u;u=e.errSchemaPath+"/additionalItems";n+=" if (!"+d+") { ";var z=z||[];z.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+s.length+" } ";if(e.opts.messages!==false){n+=" , message: 'should NOT have more than "+s.length+" items' "}if(e.opts.verbose){n+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}var j=n;n=z.pop();if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(["+j+"]); "}else{n+=" validate.errors = ["+j+"]; return false; "}}else{n+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } ";u=v;if(l){h+="}";n+=" else { "}}var O=s;if(O){var k,C=-1,T=O.length-1;while(C<T){k=O[C+=1];if(e.opts.strictKeywords?typeof k=="object"&&Object.keys(k).length>0:e.util.schemaHasRules(k,e.RULES.all)){n+=" "+m+" = true; if ("+c+".length > "+C+") { ";var R=c+"["+C+"]";f.schema=k;f.schemaPath=o+"["+C+"]";f.errSchemaPath=u+"/"+C;f.errorPath=e.util.getPathExpr(e.errorPath,C,e.opts.jsonPointers,true);f.dataPathArr[g]=C;var E=e.validate(f);f.baseId=S;if(e.util.varOccurences(E,y)<2){n+=" "+e.util.varReplace(E,y,R)+" "}else{n+=" var "+y+" = "+R+"; "+E+" "}n+=" } ";if(l){n+=" if ("+m+") { ";h+="}"}}}}if(typeof w=="object"&&(e.opts.strictKeywords?typeof w=="object"&&Object.keys(w).length>0:e.util.schemaHasRules(w,e.RULES.all))){f.schema=w;f.schemaPath=e.schemaPath+".additionalItems";f.errSchemaPath=e.errSchemaPath+"/additionalItems";n+=" "+m+" = true; if ("+c+".length > "+s.length+") { for (var "+b+" = "+s.length+"; "+b+" < "+c+".length; "+b+"++) { ";f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,true);var R=c+"["+b+"]";f.dataPathArr[g]=b;var E=e.validate(f);f.baseId=S;if(e.util.varOccurences(E,y)<2){n+=" "+e.util.varReplace(E,y,R)+" "}else{n+=" var "+y+" = "+R+"; "+E+" "}if(l){n+=" if (!"+m+") break; "}n+=" } } ";if(l){n+=" if ("+m+") { ";h+="}"}}}else if(e.opts.strictKeywords?typeof s=="object"&&Object.keys(s).length>0:e.util.schemaHasRules(s,e.RULES.all)){f.schema=s;f.schemaPath=o;f.errSchemaPath=u;n+=" for (var "+b+" = "+0+"; "+b+" < "+c+".length; "+b+"++) { ";f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,true);var R=c+"["+b+"]";f.dataPathArr[g]=b;var E=e.validate(f);f.baseId=S;if(e.util.varOccurences(E,y)<2){n+=" "+e.util.varReplace(E,y,R)+" "}else{n+=" var "+y+" = "+R+"; "+E+" "}if(l){n+=" if (!"+m+") break; "}n+=" }"}if(l){n+=" "+h+" if ("+p+" == errors) {"}return n}},,function(e,t,i){(function(e,i){true?i(t):undefined})(this,function(t){"use strict";function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function(e){return typeof e}}else{_typeof=function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _inherits(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function")}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}});if(t)_setPrototypeOf(e,t)}function _getPrototypeOf(e){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(e){return e.__proto__||Object.getPrototypeOf(e)};return _getPrototypeOf(e)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}function isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Date.prototype.toString.call(Reflect.construct(Date,[],function(){}));return true}catch(e){return false}}function _construct(e,t,i){if(isNativeReflectConstruct()){_construct=Reflect.construct}else{_construct=function _construct(e,t,i){var n=[null];n.push.apply(n,t);var a=Function.bind.apply(e,n);var r=new a;if(i)_setPrototypeOf(r,i.prototype);return r}}return _construct.apply(null,arguments)}function _isNativeFunction(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function _wrapNativeSuper(e){var t=typeof Map==="function"?new Map:undefined;_wrapNativeSuper=function _wrapNativeSuper(e){if(e===null||!_isNativeFunction(e))return e;if(typeof e!=="function"){throw new TypeError("Super expression must either be null or a function")}if(typeof t!=="undefined"){if(t.has(e))return t.get(e);t.set(e,Wrapper)}function Wrapper(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}Wrapper.prototype=Object.create(e.prototype,{constructor:{value:Wrapper,enumerable:false,writable:true,configurable:true}});return _setPrototypeOf(Wrapper,e)};return _wrapNativeSuper(e)}function _assertThisInitialized(e){if(e===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function _possibleConstructorReturn(e,t){if(t&&(typeof t==="object"||typeof t==="function")){return t}return _assertThisInitialized(e)}var n=eval;var a=true&&Boolean(e.exports)&&!(typeof navigator!=="undefined"&&navigator.product==="ReactNative");var r=["value","path","pointer","parent","parentProperty","all"];var s=Object.prototype.hasOwnProperty;var o=function moveToAnotherArray(e,t,i){var n=e.length;for(var a=0;a<n;a++){var r=e[a];if(i(r)){t.push(e.splice(a--,1)[0])}}};var u=a?i(184):{runInNewContext:function runInNewContext(e,t){var i=Object.keys(t);var a=[];o(i,a,function(e){return typeof t[e]==="function"});var r=a.reduce(function(e,i){var n=t[i].toString();if(!/function/.exec(n)){n="function "+n}return"var "+i+"="+n+";"+e},"")+i.reduce(function(e,i){return"var "+i+"="+JSON.stringify(t[i]).replace(/\u2028|\u2029/g,function(e){return"\\u202"+(e==="\u2028"?"8":"9")})+";"+e},e);return n(r)}};function push(e,t){e=e.slice();e.push(t);return e}function unshift(e,t){t=t.slice();t.unshift(e);return t}var l=function(e){_inherits(NewError,e);function NewError(e){var t;_classCallCheck(this,NewError);t=_possibleConstructorReturn(this,_getPrototypeOf(NewError).call(this,'JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)'));t.avoidNew=true;t.value=e;t.name="NewError";return t}return NewError}(_wrapNativeSuper(Error));function JSONPath(e,t,i,n,a){if(!(this instanceof JSONPath)){try{return new JSONPath(e,t,i,n,a)}catch(e){if(!e.avoidNew){throw e}return e.value}}if(typeof e==="string"){a=n;n=i;i=t;t=e;e={}}e=e||{};var r=s.call(e,"json")&&s.call(e,"path");this.json=e.json||i;this.path=e.path||t;this.resultType=e.resultType&&e.resultType.toLowerCase()||"value";this.flatten=e.flatten||false;this.wrap=s.call(e,"wrap")?e.wrap:true;this.sandbox=e.sandbox||{};this.preventEval=e.preventEval||false;this.parent=e.parent||null;this.parentProperty=e.parentProperty||null;this.callback=e.callback||n||null;this.otherTypeCallback=e.otherTypeCallback||a||function(){throw new Error("You must supply an otherTypeCallback callback option with the @other() operator.")};if(e.autostart!==false){var o=this.evaluate({path:r?e.path:t,json:r?e.json:i});if(!o||_typeof(o)!=="object"){throw new l(o)}return o}}JSONPath.prototype.evaluate=function(e,t,i,n){var a=this;var o=this.parent,u=this.parentProperty;var l=this.flatten,c=this.wrap;this.currResultType=this.resultType;this.currPreventEval=this.preventEval;this.currSandbox=this.sandbox;i=i||this.callback;this.currOtherTypeCallback=n||this.otherTypeCallback;t=t||this.json;e=e||this.path;if(e&&_typeof(e)==="object"){if(!e.path){throw new Error('You must supply a "path" property when providing an object argument to JSONPath.evaluate().')}t=s.call(e,"json")?e.json:t;l=s.call(e,"flatten")?e.flatten:l;this.currResultType=s.call(e,"resultType")?e.resultType:this.currResultType;this.currSandbox=s.call(e,"sandbox")?e.sandbox:this.currSandbox;c=s.call(e,"wrap")?e.wrap:c;this.currPreventEval=s.call(e,"preventEval")?e.preventEval:this.currPreventEval;i=s.call(e,"callback")?e.callback:i;this.currOtherTypeCallback=s.call(e,"otherTypeCallback")?e.otherTypeCallback:this.currOtherTypeCallback;o=s.call(e,"parent")?e.parent:o;u=s.call(e,"parentProperty")?e.parentProperty:u;e=e.path}o=o||null;u=u||null;if(Array.isArray(e)){e=JSONPath.toPathString(e)}if(!e||!t||!r.includes(this.currResultType)){return undefined}this._obj=t;var d=JSONPath.toPathArray(e);if(d[0]==="$"&&d.length>1){d.shift()}this._hasParentSelector=null;var p=this._trace(d,t,["$"],o,u,i).filter(function(e){return e&&!e.isParentSelector});if(!p.length){return c?[]:undefined}if(p.length===1&&!c&&!Array.isArray(p[0].value)){return this._getPreferredOutput(p[0])}return p.reduce(function(e,t){var i=a._getPreferredOutput(t);if(l&&Array.isArray(i)){e=e.concat(i)}else{e.push(i)}return e},[])};JSONPath.prototype._getPreferredOutput=function(e){var t=this.currResultType;switch(t){default:throw new TypeError("Unknown result type");case"all":e.pointer=JSONPath.toPointer(e.path);e.path=typeof e.path==="string"?e.path:JSONPath.toPathString(e.path);return e;case"value":case"parent":case"parentProperty":return e[t];case"path":return JSONPath.toPathString(e[t]);case"pointer":return JSONPath.toPointer(e.path)}};JSONPath.prototype._handleCallback=function(e,t,i){if(t){var n=this._getPreferredOutput(e);e.path=typeof e.path==="string"?e.path:JSONPath.toPathString(e.path);t(n,i,e)}};JSONPath.prototype._trace=function(e,t,i,n,a,r,o){var u;var l=this;if(!e.length){u={path:i,value:t,parent:n,parentProperty:a};this._handleCallback(u,r,"value");return u}var c=e[0],d=e.slice(1);var p=[];function addRet(e){if(Array.isArray(e)){e.forEach(function(e){p.push(e)})}else{p.push(e)}}if((typeof c!=="string"||o)&&t&&s.call(t,c)){addRet(this._trace(d,t[c],push(i,c),t,c,r))}else if(c==="*"){this._walk(c,d,t,i,n,a,r,function(e,t,i,n,a,r,s,o){addRet(l._trace(unshift(e,i),n,a,r,s,o,true))})}else if(c===".."){addRet(this._trace(d,t,i,n,a,r));this._walk(c,d,t,i,n,a,r,function(e,t,i,n,a,r,s,o){if(_typeof(n[e])==="object"){addRet(l._trace(unshift(t,i),n[e],push(a,e),n,e,o))}})}else if(c==="^"){this._hasParentSelector=true;return i.length?{path:i.slice(0,-1),expr:d,isParentSelector:true}:[]}else if(c==="~"){u={path:push(i,c),value:a,parent:n,parentProperty:null};this._handleCallback(u,r,"property");return u}else if(c==="$"){addRet(this._trace(d,t,i,null,null,r))}else if(/^(-?\d*):(-?\d*):?(\d*)$/.test(c)){addRet(this._slice(c,d,t,i,n,a,r))}else if(c.indexOf("?(")===0){if(this.currPreventEval){throw new Error("Eval [?(expr)] prevented in JSONPath expression.")}this._walk(c,d,t,i,n,a,r,function(e,t,i,n,a,r,s,o){if(l._eval(t.replace(/^\?\((.*?)\)$/,"$1"),n[e],e,a,r,s)){addRet(l._trace(unshift(e,i),n,a,r,s,o))}})}else if(c[0]==="("){if(this.currPreventEval){throw new Error("Eval [(expr)] prevented in JSONPath expression.")}addRet(this._trace(unshift(this._eval(c,t,i[i.length-1],i.slice(0,-1),n,a),d),t,i,n,a,r))}else if(c[0]==="@"){var f=false;var h=c.slice(1,-2);switch(h){default:throw new TypeError("Unknown value type "+h);case"scalar":if(!t||!["object","function"].includes(_typeof(t))){f=true}break;case"boolean":case"string":case"undefined":case"function":if(_typeof(t)===h){f=true}break;case"number":if(_typeof(t)===h&&isFinite(t)){f=true}break;case"nonFinite":if(typeof t==="number"&&!isFinite(t)){f=true}break;case"object":if(t&&_typeof(t)===h){f=true}break;case"array":if(Array.isArray(t)){f=true}break;case"other":f=this.currOtherTypeCallback(t,i,n,a);break;case"integer":if(t===Number(t)&&isFinite(t)&&!(t%1)){f=true}break;case"null":if(t===null){f=true}break}if(f){u={path:i,value:t,parent:n,parentProperty:a};this._handleCallback(u,r,"value");return u}}else if(c[0]==="`"&&t&&s.call(t,c.slice(1))){var m=c.slice(1);addRet(this._trace(d,t[m],push(i,m),t,m,r,true))}else if(c.includes(",")){var b=c.split(",");var g=true;var y=false;var S=undefined;try{for(var w=b[Symbol.iterator](),v;!(g=(v=w.next()).done);g=true){var z=v.value;addRet(this._trace(unshift(z,d),t,i,n,a,r))}}catch(e){y=true;S=e}finally{try{if(!g&&w["return"]!=null){w["return"]()}}finally{if(y){throw S}}}}else if(!o&&t&&s.call(t,c)){addRet(this._trace(d,t[c],push(i,c),t,c,r,true))}if(this._hasParentSelector){for(var j=0;j<p.length;j++){var O=p[j];if(O.isParentSelector){var k=l._trace(O.expr,t,O.path,n,a,r);if(Array.isArray(k)){p[j]=k[0];var C=k.length;for(var T=1;T<C;T++){j++;p.splice(j,0,k[T])}}else{p[j]=k}}}}return p};JSONPath.prototype._walk=function(e,t,i,n,a,r,o,u){if(Array.isArray(i)){var l=i.length;for(var c=0;c<l;c++){u(c,e,t,i,n,a,r,o)}}else if(_typeof(i)==="object"){for(var d in i){if(s.call(i,d)){u(d,e,t,i,n,a,r,o)}}}};JSONPath.prototype._slice=function(e,t,i,n,a,r,s){if(!Array.isArray(i)){return undefined}var o=i.length,u=e.split(":"),l=u[2]&&parseInt(u[2])||1;var c=u[0]&&parseInt(u[0])||0,d=u[1]&&parseInt(u[1])||o;c=c<0?Math.max(0,c+o):Math.min(o,c);d=d<0?Math.max(0,d+o):Math.min(o,d);var p=[];for(var f=c;f<d;f+=l){var h=this._trace(unshift(f,t),i,n,a,r,s);if(Array.isArray(h)){h.forEach(function(e){p.push(e)})}else{p.push(h)}}return p};JSONPath.prototype._eval=function(e,t,i,n,a,r){if(!this._obj||!t){return false}if(e.includes("@parentProperty")){this.currSandbox._$_parentProperty=r;e=e.replace(/@parentProperty/g,"_$_parentProperty")}if(e.includes("@parent")){this.currSandbox._$_parent=a;e=e.replace(/@parent/g,"_$_parent")}if(e.includes("@property")){this.currSandbox._$_property=i;e=e.replace(/@property/g,"_$_property")}if(e.includes("@path")){this.currSandbox._$_path=JSONPath.toPathString(n.concat([i]));e=e.replace(/@path/g,"_$_path")}if(e.match(/@([.\s)[])/)){this.currSandbox._$_v=t;e=e.replace(/@([.\s)[])/g,"_$_v$1")}try{return u.runInNewContext(e,this.currSandbox)}catch(t){console.log(t);throw new Error("jsonPath: "+t.message+": "+e)}};JSONPath.cache={};JSONPath.toPathString=function(e){var t=e,i=t.length;var n="$";for(var a=1;a<i;a++){if(!/^(~|\^|@.*?\(\))$/.test(t[a])){n+=/^[0-9*]+$/.test(t[a])?"["+t[a]+"]":"['"+t[a]+"']"}}return n};JSONPath.toPointer=function(e){var t=e,i=t.length;var n="";for(var a=1;a<i;a++){if(!/^(~|\^|@.*?\(\))$/.test(t[a])){n+="/"+t[a].toString().replace(/~/g,"~0").replace(/\//g,"~1")}}return n};JSONPath.toPathArray=function(e){var t=JSONPath.cache;if(t[e]){return t[e].concat()}var i=[];var n=e.replace(/@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\(\)/g,";$&;").replace(/[['](\??\(.*?\))[\]']/g,function(e,t){return"[#"+(i.push(t)-1)+"]"}).replace(/\['([^'\]]*)'\]/g,function(e,t){return"['"+t.replace(/\./g,"%@%").replace(/~/g,"%%@@%%")+"']"}).replace(/~/g,";~;").replace(/'?\.'?(?![^[]*\])|\['?/g,";").replace(/%@%/g,".").replace(/%%@@%%/g,"~").replace(/(?:;)?(\^+)(?:;)?/g,function(e,t){return";"+t.split("").join(";")+";"}).replace(/;;;|;;/g,";..;").replace(/;$|'?\]|'$/g,"");var a=n.split(";").map(function(e){var t=e.match(/#(\d+)/);return!t||!t[1]?e:i[t[1]]});t[e]=a;return t[e]};t.JSONPath=JSONPath;Object.defineProperty(t,"__esModule",{value:true})})},function(e){"use strict";class Event{constructor(e,t){this.target=t;this.type=e}}class MessageEvent extends Event{constructor(e,t){super("message",t);this.data=e}}class CloseEvent extends Event{constructor(e,t,i){super("close",i);this.wasClean=i._closeFrameReceived&&i._closeFrameSent;this.reason=t;this.code=e}}class OpenEvent extends Event{constructor(e){super("open",e)}}class ErrorEvent extends Event{constructor(e,t){super("error",t);this.message=e.message;this.error=e}}const t={addEventListener(e,t){if(typeof t!=="function")return;function onMessage(e){t.call(this,new MessageEvent(e,this))}function onClose(e,i){t.call(this,new CloseEvent(e,i,this))}function onError(e){t.call(this,new ErrorEvent(e,this))}function onOpen(){t.call(this,new OpenEvent(this))}if(e==="message"){onMessage._listener=t;this.on(e,onMessage)}else if(e==="close"){onClose._listener=t;this.on(e,onClose)}else if(e==="error"){onError._listener=t;this.on(e,onError)}else if(e==="open"){onOpen._listener=t;this.on(e,onOpen)}else{this.on(e,t)}},removeEventListener(e,t){const i=this.listeners(e);for(var n=0;n<i.length;n++){if(i[n]===t||i[n]._listener===t){this.removeListener(e,i[n])}}}};e.exports=t},,,,function(e,t,i){var n=i(852);var a=i(400);var r=i(575);var s=i(502);var o=i(966);var u=i(378);var l=i(753);e.exports={Key:n,parseKey:n.parse,Fingerprint:a,parseFingerprint:a.parse,Signature:r,parseSignature:r.parse,PrivateKey:s,parsePrivateKey:s.parse,generatePrivateKey:s.generate,Certificate:o,parseCertificate:o.parse,createSelfSignedCertificate:o.createSelfSigned,createCertificate:o.create,Identity:u,identityFromDN:u.parseDN,identityForHost:u.forHost,identityForUser:u.forUser,identityForEmail:u.forEmail,identityFromArray:u.fromArray,FingerprintFormatError:l.FingerprintFormatError,InvalidAlgorithmError:l.InvalidAlgorithmError,KeyParseError:l.KeyParseError,SignatureParseError:l.SignatureParseError,KeyEncryptedError:l.KeyEncryptedError,CertificateParseError:l.CertificateParseError}},function(e){e.exports=new Map([["A128CBC-HS256",128],["A128GCM",96],["A128GCMKW",96],["A192CBC-HS384",128],["A192GCM",96],["A192GCMKW",96],["A256CBC-HS512",128],["A256GCM",96],["A256GCMKW",96]])},,function(e){"use strict";e.exports=function generate_oneOf(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=f.baseId,g="prevValid"+a,y="passingSchemas"+a;n+="var "+p+" = errors , "+g+" = false , "+d+" = false , "+y+" = null; ";var S=e.compositeRule;e.compositeRule=f.compositeRule=true;var w=s;if(w){var v,z=-1,j=w.length-1;while(z<j){v=w[z+=1];if(e.opts.strictKeywords?typeof v=="object"&&Object.keys(v).length>0:e.util.schemaHasRules(v,e.RULES.all)){f.schema=v;f.schemaPath=o+"["+z+"]";f.errSchemaPath=u+"/"+z;n+=" "+e.validate(f)+" ";f.baseId=b}else{n+=" var "+m+" = true; "}if(z){n+=" if ("+m+" && "+g+") { "+d+" = false; "+y+" = ["+y+", "+z+"]; } else { ";h+="}"}n+=" if ("+m+") { "+d+" = "+g+" = true; "+y+" = "+z+"; }"}}e.compositeRule=f.compositeRule=S;n+=""+h+"if (!"+d+") { var err = ";if(e.createErrors!==false){n+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { passingSchemas: "+y+" } ";if(e.opts.messages!==false){n+=" , message: 'should match exactly one schema in oneOf' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(vErrors); "}else{n+=" validate.errors = vErrors; return false; "}}n+="} else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; }";if(e.opts.allErrors){n+=" } "}return n}},,,,function(e){"use strict";class CancelError extends Error{constructor(e){super(e||"Promise was canceled");this.name="CancelError"}get isCanceled(){return true}}class PCancelable{static fn(e){return(...t)=>{return new PCancelable((i,n,a)=>{t.push(a);e(...t).then(i,n)})}}constructor(e){this._cancelHandlers=[];this._isPending=true;this._isCanceled=false;this._rejectOnCancel=true;this._promise=new Promise((t,i)=>{this._reject=i;const n=e=>{this._isPending=false;t(e)};const a=e=>{this._isPending=false;i(e)};const r=e=>{this._cancelHandlers.push(e)};Object.defineProperties(r,{shouldReject:{get:()=>this._rejectOnCancel,set:e=>{this._rejectOnCancel=e}}});return e(n,a,r)})}then(e,t){return this._promise.then(e,t)}catch(e){return this._promise.catch(e)}finally(e){return this._promise.finally(e)}cancel(e){if(!this._isPending||this._isCanceled){return}if(this._cancelHandlers.length>0){try{for(const e of this._cancelHandlers){e()}}catch(e){this._reject(e)}}this._isCanceled=true;if(this._rejectOnCancel){this._reject(new CancelError(e))}}get isCanceled(){return this._isCanceled}}Object.setPrototypeOf(PCancelable.prototype,Promise.prototype);e.exports=PCancelable;e.exports.default=PCancelable;e.exports.CancelError=CancelError},function(e,t,i){var n=t,a=i(835),r=i(191),s=i(373),o=i(178),u=o(1e3);function hmac(e,t,i){return s.createHmac("sha256",e).update(t,"utf8").digest(i)}function hash(e,t){return s.createHash("sha256").update(e,"utf8").digest(t)}function encodeRfc3986(e){return e.replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function encodeRfc3986Full(e){return encodeRfc3986(encodeURIComponent(e))}function RequestSigner(e,t){if(typeof e==="string")e=a.parse(e);var i=e.headers=e.headers||{},n=(!this.service||!this.region)&&this.matchHost(e.hostname||e.host||i.Host||i.host);this.request=e;this.credentials=t||this.defaultCredentials();this.service=e.service||n[0]||"";this.region=e.region||n[1]||"us-east-1";if(this.service==="email")this.service="ses";if(!e.method&&e.body)e.method="POST";if(!i.Host&&!i.host){i.Host=e.hostname||e.host||this.createHost();if(e.port)i.Host+=":"+e.port}if(!e.hostname&&!e.host)e.hostname=i.Host||i.host;this.isCodeCommitGit=this.service==="codecommit"&&e.method==="GIT"}RequestSigner.prototype.matchHost=function(e){var t=(e||"").match(/([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com(\.cn)?$/);var i=(t||[]).slice(1,3);if(i[1]==="es")i=i.reverse();if(i[1]=="s3"){i[0]="s3";i[1]="us-east-1"}else{for(var n=0;n<2;n++){if(/^s3-/.test(i[n])){i[1]=i[n].slice(3);i[0]="s3";break}}}return i};RequestSigner.prototype.isSingleRegion=function(){if(["s3","sdb"].indexOf(this.service)>=0&&this.region==="us-east-1")return true;return["cloudfront","ls","route53","iam","importexport","sts"].indexOf(this.service)>=0};RequestSigner.prototype.createHost=function(){var e=this.isSingleRegion()?"":"."+this.region,t=this.service==="ses"?"email":this.service;return t+e+".amazonaws.com"};RequestSigner.prototype.prepareRequest=function(){this.parsePath();var e=this.request,t=e.headers,i;if(e.signQuery){this.parsedPath.query=i=this.parsedPath.query||{};if(this.credentials.sessionToken)i["X-Amz-Security-Token"]=this.credentials.sessionToken;if(this.service==="s3"&&!i["X-Amz-Expires"])i["X-Amz-Expires"]=86400;if(i["X-Amz-Date"])this.datetime=i["X-Amz-Date"];else i["X-Amz-Date"]=this.getDateTime();i["X-Amz-Algorithm"]="AWS4-HMAC-SHA256";i["X-Amz-Credential"]=this.credentials.accessKeyId+"/"+this.credentialString();i["X-Amz-SignedHeaders"]=this.signedHeaders()}else{if(!e.doNotModifyHeaders&&!this.isCodeCommitGit){if(e.body&&!t["Content-Type"]&&!t["content-type"])t["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8";if(e.body&&!t["Content-Length"]&&!t["content-length"])t["Content-Length"]=Buffer.byteLength(e.body);if(this.credentials.sessionToken&&!t["X-Amz-Security-Token"]&&!t["x-amz-security-token"])t["X-Amz-Security-Token"]=this.credentials.sessionToken;if(this.service==="s3"&&!t["X-Amz-Content-Sha256"]&&!t["x-amz-content-sha256"])t["X-Amz-Content-Sha256"]=hash(this.request.body||"","hex");if(t["X-Amz-Date"]||t["x-amz-date"])this.datetime=t["X-Amz-Date"]||t["x-amz-date"];else t["X-Amz-Date"]=this.getDateTime()}delete t.Authorization;delete t.authorization}};RequestSigner.prototype.sign=function(){if(!this.parsedPath)this.prepareRequest();if(this.request.signQuery){this.parsedPath.query["X-Amz-Signature"]=this.signature()}else{this.request.headers.Authorization=this.authHeader()}this.request.path=this.formatPath();return this.request};RequestSigner.prototype.getDateTime=function(){if(!this.datetime){var e=this.request.headers,t=new Date(e.Date||e.date||new Date);this.datetime=t.toISOString().replace(/[:\-]|\.\d{3}/g,"");if(this.isCodeCommitGit)this.datetime=this.datetime.slice(0,-1)}return this.datetime};RequestSigner.prototype.getDate=function(){return this.getDateTime().substr(0,8)};RequestSigner.prototype.authHeader=function(){return["AWS4-HMAC-SHA256 Credential="+this.credentials.accessKeyId+"/"+this.credentialString(),"SignedHeaders="+this.signedHeaders(),"Signature="+this.signature()].join(", ")};RequestSigner.prototype.signature=function(){var e=this.getDate(),t=[this.credentials.secretAccessKey,e,this.region,this.service].join(),i,n,a,r=u.get(t);if(!r){i=hmac("AWS4"+this.credentials.secretAccessKey,e);n=hmac(i,this.region);a=hmac(n,this.service);r=hmac(a,"aws4_request");u.set(t,r)}return hmac(r,this.stringToSign(),"hex")};RequestSigner.prototype.stringToSign=function(){return["AWS4-HMAC-SHA256",this.getDateTime(),this.credentialString(),hash(this.canonicalString(),"hex")].join("\n")};RequestSigner.prototype.canonicalString=function(){if(!this.parsedPath)this.prepareRequest();var e=this.parsedPath.path,t=this.parsedPath.query,i=this.request.headers,n="",a=this.service!=="s3",r=this.service==="s3"||this.request.doNotEncodePath,s=this.service==="s3",o=this.service==="s3",u;if(this.service==="s3"&&this.request.signQuery){u="UNSIGNED-PAYLOAD"}else if(this.isCodeCommitGit){u=""}else{u=i["X-Amz-Content-Sha256"]||i["x-amz-content-sha256"]||hash(this.request.body||"","hex")}if(t){var l=Object.keys(t).reduce(function(e,i){if(!i)return e;e[encodeRfc3986Full(i)]=!Array.isArray(t[i])?t[i]:o?t[i][0]:t[i];return e},{});var c=[];Object.keys(l).sort().forEach(function(e){if(!Array.isArray(l[e])){c.push(e+"="+encodeRfc3986Full(l[e]))}else{l[e].map(encodeRfc3986Full).sort().forEach(function(t){c.push(e+"="+t)})}});n=c.join("&")}if(e!=="/"){if(a)e=e.replace(/\/{2,}/g,"/");e=e.split("/").reduce(function(e,t){if(a&&t===".."){e.pop()}else if(!a||t!=="."){if(r)t=decodeURIComponent(t.replace(/\+/g," "));e.push(encodeRfc3986Full(t))}return e},[]).join("/");if(e[0]!=="/")e="/"+e;if(s)e=e.replace(/%2F/g,"/")}return[this.request.method||"GET",e,n,this.canonicalHeaders()+"\n",this.signedHeaders(),u].join("\n")};RequestSigner.prototype.canonicalHeaders=function(){var e=this.request.headers;function trimAll(e){return e.toString().trim().replace(/\s+/g," ")}return Object.keys(e).sort(function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:1}).map(function(t){return t.toLowerCase()+":"+trimAll(e[t])}).join("\n")};RequestSigner.prototype.signedHeaders=function(){return Object.keys(this.request.headers).map(function(e){return e.toLowerCase()}).sort().join(";")};RequestSigner.prototype.credentialString=function(){return[this.getDate(),this.region,this.service,"aws4_request"].join("/")};RequestSigner.prototype.defaultCredentials=function(){var e=process.env;return{accessKeyId:e.AWS_ACCESS_KEY_ID||e.AWS_ACCESS_KEY,secretAccessKey:e.AWS_SECRET_ACCESS_KEY||e.AWS_SECRET_KEY,sessionToken:e.AWS_SESSION_TOKEN}};RequestSigner.prototype.parsePath=function(){var e=this.request.path||"/";if(/[^0-9A-Za-z;,/?:@&=+$\-_.!~*'()#%]/.test(e)){e=encodeURI(decodeURI(e))}var t=e.indexOf("?"),i=null;if(t>=0){i=r.parse(e.slice(t+1));e=e.slice(0,t)}this.parsedPath={path:e,query:i}};RequestSigner.prototype.formatPath=function(){var e=this.parsedPath.path,t=this.parsedPath.query;if(!t)return e;if(t[""]!=null)delete t[""];return e+"?"+encodeRfc3986(r.stringify(t))};n.RequestSigner=RequestSigner;n.sign=function(e,t){return new RequestSigner(e,t).sign()}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});function padString(e){var t=4;var i=e.length;var n=i%t;if(!n){return e}var a=i;var r=t-n;var s=i+r;var o=Buffer.alloc(s);o.write(e);while(r--){o.write("=",a++)}return o.toString()}t.default=padString},,function(e,t,i){var n=i(602);var a=i(747);var r=i(622);n.register("mkdir",_mkdir,{cmdOptions:{p:"fullpath"}});function mkdirSyncRecursive(e){var t=r.dirname(e);if(t===e){n.error("dirname() failed: ["+e+"]")}if(a.existsSync(t)){a.mkdirSync(e,parseInt("0777",8));return}mkdirSyncRecursive(t);a.mkdirSync(e,parseInt("0777",8))}function _mkdir(e,t){if(!t)n.error("no paths given");if(typeof t==="string"){t=[].slice.call(arguments,1)}t.forEach(function(t){try{var i=n.statNoFollowLinks(t);if(!e.fullpath){n.error("path already exists: "+t,{continue:true})}else if(i.isFile()){n.error("cannot create directory "+t+": File exists",{continue:true})}return}catch(e){}var s=r.dirname(t);if(!a.existsSync(s)&&!e.fullpath){n.error("no such file or directory: "+s,{continue:true});return}try{if(e.fullpath){mkdirSyncRecursive(r.resolve(t))}else{a.mkdirSync(t,parseInt("0777",8))}}catch(e){var o;if(e.code==="EACCES"){o="Permission denied"}else if(e.code==="ENOTDIR"||e.code==="ENOENT"){o="Not a directory"}else{throw e}n.error("cannot create directory "+t+": "+o,{continue:true})}});return""}e.exports=_mkdir},function(e){"use strict";e.exports=function generate_const(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}if(!p){n+=" var schema"+a+" = validate.schema"+o+";"}n+="var "+d+" = equal("+c+", schema"+a+"); if (!"+d+") { ";var h=h||[];h.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"const"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValue: schema"+a+" } ";if(e.opts.messages!==false){n+=" , message: 'should be equal to constant' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}var m=n;n=h.pop();if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(["+m+"]); "}else{n+=" validate.errors = ["+m+"]; return false; "}}else{n+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" }";if(l){n+=" else { "}return n}},function(e,t,i){const{define:n}=i(135);const a=i(766);const r=i(84);const s=i(474);const o=i(960);e.exports={base:a,constants:r,decoders:s,define:n,encoders:o}},,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(739);class ExecAuth{constructor(){this.tokenCache={};this.execFn=n.exec}isAuthProvider(e){if(!e){return false}if(e.exec){return true}if(!e.authProvider){return false}return e.authProvider.name==="exec"||e.authProvider.config&&e.authProvider.config.exec}getToken(e){const t=this.tokenCache[e.name];if(t){const i=Date.parse(t.status.expirationTimestamp);if(i>Date.now()){return`Bearer ${t.status.token}`}this.tokenCache[e.name]=null}let i=null;if(e.authProvider&&e.authProvider.config){i=e.authProvider.config.exec}if(e.exec){i=e.exec}if(!i){return null}if(!i.command){throw new Error("No command was specified for exec authProvider!")}let n=i.command;if(i.args){n=`${n} ${i.args.join(" ")}`}let a={silent:true};if(i.env){const e=process.env;i.env.forEach(t=>e[t.name]=t.value);a=Object.assign({},a,{env:e})}const r=this.execFn(n,a);if(r.code===0){const t=JSON.parse(r.stdout);this.tokenCache[e.name]=t;return`Bearer ${t.status.token}`}throw new Error(r.stderr)}}t.ExecAuth=ExecAuth},,function(e,t,i){"use strict";const n=i(925);n.createWebSocketStream=i(608);n.Server=i(509);n.Receiver=i(954);n.Sender=i(118);e.exports=n},,function(e){e.exports=require("util")},,function(e,t,i){"use strict";e.exports={afterRequest:i(140),beforeRequest:i(820),browser:i(222),cache:i(993),content:i(162),cookie:i(326),creator:i(776),entry:i(919),har:i(41),header:i(883),log:i(319),page:i(230),pageTimings:i(257),postData:i(904),query:i(813),request:i(133),response:i(226),timings:i(758)}},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())})};var a;Object.defineProperty(t,"__esModule",{value:true});const r=i(357);const s=i(747);const o=i(622);a=s.promises,t.chmod=a.chmod,t.copyFile=a.copyFile,t.lstat=a.lstat,t.mkdir=a.mkdir,t.readdir=a.readdir,t.readlink=a.readlink,t.rename=a.rename,t.rmdir=a.rmdir,t.stat=a.stat,t.symlink=a.symlink,t.unlink=a.unlink;t.IS_WINDOWS=process.platform==="win32";function exists(e){return n(this,void 0,void 0,function*(){try{yield t.stat(e)}catch(e){if(e.code==="ENOENT"){return false}throw e}return true})}t.exists=exists;function isDirectory(e,i=false){return n(this,void 0,void 0,function*(){const n=i?yield t.stat(e):yield t.lstat(e);return n.isDirectory()})}t.isDirectory=isDirectory;function isRooted(e){e=normalizeSeparators(e);if(!e){throw new Error('isRooted() parameter "p" cannot be empty')}if(t.IS_WINDOWS){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}t.isRooted=isRooted;function mkdirP(e,i=1e3,a=1){return n(this,void 0,void 0,function*(){r.ok(e,"a path argument must be provided");e=o.resolve(e);if(a>=i)return t.mkdir(e);try{yield t.mkdir(e);return}catch(n){switch(n.code){case"ENOENT":{yield mkdirP(o.dirname(e),i,a+1);yield t.mkdir(e);return}default:{let i;try{i=yield t.stat(e)}catch(e){throw n}if(!i.isDirectory())throw n}}}})}t.mkdirP=mkdirP;function tryGetExecutablePath(e,i){return n(this,void 0,void 0,function*(){let n=undefined;try{n=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(n&&n.isFile()){if(t.IS_WINDOWS){const t=o.extname(e).toUpperCase();if(i.some(e=>e.toUpperCase()===t)){return e}}else{if(isUnixExecutable(n)){return e}}}const a=e;for(const r of i){e=a+r;n=undefined;try{n=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(n&&n.isFile()){if(t.IS_WINDOWS){try{const i=o.dirname(e);const n=o.basename(e).toUpperCase();for(const a of yield t.readdir(i)){if(n===a.toUpperCase()){e=o.join(i,a);break}}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else{if(isUnixExecutable(n)){return e}}}}return""})}t.tryGetExecutablePath=tryGetExecutablePath;function normalizeSeparators(e){e=e||"";if(t.IS_WINDOWS){e=e.replace(/\//g,"\\");return e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function isUnixExecutable(e){return(e.mode&1)>0||(e.mode&8)>0&&e.gid===process.getgid()||(e.mode&64)>0&&e.uid===process.getuid()}},function(e){"use strict";e.exports=function generate_not(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="errs__"+a;var p=e.util.copy(e);p.level++;var f="valid"+p.level;if(e.opts.strictKeywords?typeof s=="object"&&Object.keys(s).length>0:e.util.schemaHasRules(s,e.RULES.all)){p.schema=s;p.schemaPath=o;p.errSchemaPath=u;n+=" var "+d+" = errors; ";var h=e.compositeRule;e.compositeRule=p.compositeRule=true;p.createErrors=false;var m;if(p.opts.allErrors){m=p.opts.allErrors;p.opts.allErrors=false}n+=" "+e.validate(p)+" ";p.createErrors=true;if(m)p.opts.allErrors=m;e.compositeRule=p.compositeRule=h;n+=" if ("+f+") { ";var b=b||[];b.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){n+=" , message: 'should NOT be valid' "}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+=" } else { errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } ";if(e.opts.allErrors){n+=" } "}}else{n+=" var err = ";if(e.createErrors!==false){n+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){n+=" , message: 'should NOT be valid' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(l){n+=" if (false) { "}}return n}},function(e,t,i){var n=i(11);var a=Object.create(null);var r=i(49);e.exports=n(inflight);function inflight(e,t){if(a[e]){a[e].push(t);return null}else{a[e]=[t];return makeres(e)}}function makeres(e){return r(function RES(){var t=a[e];var i=t.length;var n=slice(arguments);try{for(var r=0;r<i;r++){t[r].apply(null,n)}}finally{if(t.length>i){t.splice(0,i);process.nextTick(function(){RES.apply(null,n)})}else{delete a[e]}}})}function slice(e){var t=e.length;var i=[];for(var n=0;n<t;n++)i[n]=e[n];return i}},,function(e,t,i){"use strict";const{EMPTY_BUFFER:n}=i(60);function concat(e,t){if(e.length===0)return n;if(e.length===1)return e[0];const i=Buffer.allocUnsafe(t);let a=0;for(let t=0;t<e.length;t++){const n=e[t];i.set(n,a);a+=n.length}if(a<t)return i.slice(0,a);return i}function _mask(e,t,i,n,a){for(let r=0;r<a;r++){i[n+r]=e[r]^t[r&3]}}function _unmask(e,t){const i=e.length;for(let n=0;n<i;n++){e[n]^=t[n&3]}}function toArrayBuffer(e){if(e.byteLength===e.buffer.byteLength){return e.buffer}return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function toBuffer(e){toBuffer.readOnly=true;if(Buffer.isBuffer(e))return e;let t;if(e instanceof ArrayBuffer){t=Buffer.from(e)}else if(ArrayBuffer.isView(e)){t=Buffer.from(e.buffer,e.byteOffset,e.byteLength)}else{t=Buffer.from(e);toBuffer.readOnly=false}return t}try{const t=i(24);const n=t.BufferUtil||t;e.exports={concat:concat,mask(e,t,i,a,r){if(r<48)_mask(e,t,i,a,r);else n.mask(e,t,i,a,r)},toArrayBuffer:toArrayBuffer,toBuffer:toBuffer,unmask(e,t){if(e.length<32)_unmask(e,t);else n.unmask(e,t)}}}catch(t){e.exports={concat:concat,mask:_mask,toArrayBuffer:toArrayBuffer,toBuffer:toBuffer,unmask:_unmask}}},,function(e,t,i){"use strict";const{URL:n}=i(835);const a=i(669);const r=i(614);const s=i(363);const o=i(211);const u=i(835);const l=i(946);const c=i(539);const d=i(534);const p=i(917);const f=i(957);const h=i(57);const m=i(176);const b=i(365);const{CacheError:g,UnsupportedProtocolError:y,MaxRedirectsError:S,RequestError:w,TimeoutError:v}=i(774);const z=i(435);const j=new Set([300,301,302,303,304,305,307,308]);const O=new Set([300,303,307,308]);e.exports=((e,t)=>{const i=new r;const k=[];let C;let T;let R;let E;let A=0;let x=false;const N=e.cookieJar?a.promisify(e.cookieJar.setCookie.bind(e.cookieJar)):null;const V=e.cookieJar?a.promisify(e.cookieJar.getCookieString.bind(e.cookieJar)):null;const P=d.object(e.agent)?e.agent:null;const D=async t=>{try{for(const i of e.hooks.beforeError){t=await i(t)}i.emit("error",t)}catch(e){i.emit("error",e)}};const I=async e=>{const a=R||T;if(e.protocol!=="http:"&&e.protocol!=="https:"){throw new y(e)}decodeURI(a);let r;if(d.function(e.request)){r={request:e.request}}else{r=e.protocol==="https:"?o:s}if(P){const t=e.protocol==="https:"?"https":"http";e.agent=P[t]||e.agent}if(e.useElectronNet&&process.versions.electron){const e={x:require}["yx".slice(1)];const t=e("electron");r=t.net||t.remote.net}if(e.cookieJar){const t=await V(a,{});if(d.nonEmptyString(t)){e.headers.cookie=t}}let u;const c=async t=>{try{if(e.useElectronNet){t=new Proxy(t,{get:(e,t)=>{if(t==="trailers"||t==="rawTrailers"){return[]}const i=e[t];return d.function(i)?i.bind(e):i}})}const{statusCode:r}=t;t.url=a;t.requestUrl=T;t.retryCount=A;t.timings=u;t.redirectUrls=k;t.request={gotOptions:e};const s=t.headers["set-cookie"];if(e.cookieJar&&s){await Promise.all(s.map(e=>N(e,t.url)))}if(e.followRedirect&&"location"in t.headers){if(O.has(r)||j.has(r)&&(e.method==="GET"||e.method==="HEAD")){t.resume();if(r===303){e.method="GET"}if(k.length>=10){throw new S(r,k,e)}const s=Buffer.from(t.headers.location,"binary").toString();const o=new n(s,a);R=o.toString();k.push(R);const u={...e,...z(o)};for(const t of e.hooks.beforeRedirect){await t(u)}i.emit("redirect",t,u);await I(u);return}}m(t,e,i)}catch(e){D(e)}};const h=n=>{if(x){n.once("error",()=>{});n.abort();return}C=n;n.once("error",t=>{if(n.aborted){return}if(t instanceof f.TimeoutError){t=new v(t,e)}else{t=new w(t,e)}if(i.retry(t)===false){D(t)}});u=p(n);b.upload(n,i,E);if(e.gotTimeout){f(n,e.gotTimeout,e)}i.emit("request",n);const a=()=>{n.emit("upload-complete")};try{if(d.nodeStream(e.body)){e.body.once("end",a);e.body.pipe(n);e.body=undefined}else if(e.body){n.end(e.body,a)}else if(t&&(e.method==="POST"||e.method==="PUT"||e.method==="PATCH")){t.once("end",a);t.pipe(n)}else{n.end(a)}}catch(t){D(new w(t,e))}};if(e.cache){const t=new l(r.request,e.cache);const i=t(e,c);i.once("error",t=>{if(t instanceof l.RequestError){D(new w(t,e))}else{D(new g(t,e))}});i.once("request",h)}else{try{h(r.request(e,c))}catch(t){D(new w(t,e))}}};i.retry=(t=>{let i;try{i=e.retry.retries(++A,t)}catch(e){D(e);return}if(i){const n=async e=>{try{for(const i of e.hooks.beforeRetry){await i(e,t,A)}await I(e)}catch(e){D(e)}};setTimeout(n,i,{...e,forceRefresh:true});return true}return false});i.abort=(()=>{if(C){C.once("error",()=>{});C.abort()}else{x=true}});setImmediate(async()=>{try{const{body:t}=e;if(d.buffer(t)){e.body=c(t);E=t.length}else{E=await h(e)}if(d.undefined(e.headers["content-length"])&&d.undefined(e.headers["transfer-encoding"])){if((E>0||e.method==="PUT")&&!d.null(E)){e.headers["content-length"]=E}}for(const t of e.hooks.beforeRequest){await t(e)}T=e.href||new n(e.path,u.format(e)).toString();await I(e)}catch(e){D(e)}});return i})},,function(e,t,i){var n=i(866);e.exports={read:read,verify:n.verify,sign:n.sign,write:write};var a=i(872);var r=i(325);var s=i(215).Buffer;var o=i(98);var u=i(270);var l=i(852);var c=i(502);var d=i(268);var p=i(378);var f=i(575);var h=i(966);function read(e,t){if(typeof e!=="string"){a.buffer(e,"buf");e=e.toString("ascii")}var i=e.trim().split(/[\r\n]+/g);var r;var o=-1;while(!r&&o<i.length){r=i[++o].match(/[-]+[ ]*BEGIN CERTIFICATE[ ]*[-]+/)}a.ok(r,"invalid PEM header");var u;var l=i.length;while(!u&&l>0){u=i[--l].match(/[-]+[ ]*END CERTIFICATE[ ]*[-]+/)}a.ok(u,"invalid PEM footer");i=i.slice(o,l+1);var c={};while(true){i=i.slice(1);r=i[0].match(/^([A-Za-z0-9-]+): (.+)$/);if(!r)break;c[r[1].toLowerCase()]=r[2]}i=i.slice(0,-1).join("");e=s.from(i,"base64");return n.read(e,t)}function write(e,t){var i=n.write(e,t);var a="CERTIFICATE";var r=i.toString("base64");var o=r.length+r.length/64+18+16+a.length*2+10;var u=s.alloc(o);var l=0;l+=u.write("-----BEGIN "+a+"-----\n",l);for(var c=0;c<r.length;){var d=c+64;if(d>r.length)d=r.length;l+=u.write(r.slice(c,d),l);u[l++]=10;c=d}l+=u.write("-----END "+a+"-----\n",l);return u.slice(0,l)}},function(e){"use strict";function posix(e){return e.charAt(0)==="/"}function win32(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var i=t.exec(e);var n=i[1]||"";var a=Boolean(n&&n.charAt(1)!==":");return Boolean(i[2]||a)}e.exports=process.platform==="win32"?win32:posix;e.exports.posix=posix;e.exports.win32=win32},function(e,t,i){const n=i(373);const[a,r]=process.version.substr(1).split(".").map(e=>parseInt(e,10));const s=a>12||a===12&&r>=8;const o=s&&n.getHashes().includes("shake256");e.exports=o},function(e){(function(t,i,n){if(true&&e.exports)e.exports=n();else if(typeof define==="function"&&define.amd)define(n);else i[t]=n()})("urljoin",this,function(){function normalize(e){var t=[];if(e.length===0){return""}if(typeof e[0]!=="string"){throw new TypeError("Url must be a string. Received "+e[0])}if(e[0].match(/^[^/:]+:\/*$/)&&e.length>1){var i=e.shift();e[0]=i+e[0]}if(e[0].match(/^file:\/\/\//)){e[0]=e[0].replace(/^([^/:]+):\/*/,"$1:///")}else{e[0]=e[0].replace(/^([^/:]+):\/*/,"$1://")}for(var n=0;n<e.length;n++){var a=e[n];if(typeof a!=="string"){throw new TypeError("Url must be a string. Received "+a)}if(a===""){continue}if(n>0){a=a.replace(/^[\/]+/,"")}if(n<e.length-1){a=a.replace(/[\/]+$/,"")}else{a=a.replace(/[\/]+$/,"/")}t.push(a)}var r=t.join("/");r=r.replace(/\/(\?|&|#[^!])/g,"$1");var s=r.split("?");r=s.shift()+(s.length>0?"?":"")+s.join("&");return r}return function(){var e;if(typeof arguments[0]==="object"){e=arguments[0]}else{e=[].slice.call(arguments)}return normalize(e)}})},,function(e,t,i){"use strict";var n=i(128);var a=i(556);var r=i(910);var s=i(723);var o=Object.prototype.toString;var u=Object.prototype.hasOwnProperty;var l=9;var c=10;var d=13;var p=32;var f=33;var h=34;var m=35;var b=37;var g=38;var y=39;var S=42;var w=44;var v=45;var z=58;var j=61;var O=62;var k=63;var C=64;var T=91;var R=93;var E=96;var A=123;var x=124;var N=125;var V={};V[0]="\\0";V[7]="\\a";V[8]="\\b";V[9]="\\t";V[10]="\\n";V[11]="\\v";V[12]="\\f";V[13]="\\r";V[27]="\\e";V[34]='\\"';V[92]="\\\\";V[133]="\\N";V[160]="\\_";V[8232]="\\L";V[8233]="\\P";var P=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function compileStyleMap(e,t){var i,n,a,r,s,o,l;if(t===null)return{};i={};n=Object.keys(t);for(a=0,r=n.length;a<r;a+=1){s=n[a];o=String(t[s]);if(s.slice(0,2)==="!!"){s="tag:yaml.org,2002:"+s.slice(2)}l=e.compiledTypeMap["fallback"][s];if(l&&u.call(l.styleAliases,o)){o=l.styleAliases[o]}i[s]=o}return i}function encodeHex(e){var t,i,r;t=e.toString(16).toUpperCase();if(e<=255){i="x";r=2}else if(e<=65535){i="u";r=4}else if(e<=4294967295){i="U";r=8}else{throw new a("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+i+n.repeat("0",r-t.length)+t}function State(e){this.schema=e["schema"]||r;this.indent=Math.max(1,e["indent"]||2);this.noArrayIndent=e["noArrayIndent"]||false;this.skipInvalid=e["skipInvalid"]||false;this.flowLevel=n.isNothing(e["flowLevel"])?-1:e["flowLevel"];this.styleMap=compileStyleMap(this.schema,e["styles"]||null);this.sortKeys=e["sortKeys"]||false;this.lineWidth=e["lineWidth"]||80;this.noRefs=e["noRefs"]||false;this.noCompatMode=e["noCompatMode"]||false;this.condenseFlow=e["condenseFlow"]||false;this.implicitTypes=this.schema.compiledImplicit;this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}function indentString(e,t){var i=n.repeat(" ",t),a=0,r=-1,s="",o,u=e.length;while(a<u){r=e.indexOf("\n",a);if(r===-1){o=e.slice(a);a=u}else{o=e.slice(a,r+1);a=r+1}if(o.length&&o!=="\n")s+=i;s+=o}return s}function generateNextLine(e,t){return"\n"+n.repeat(" ",e.indent*t)}function testImplicitResolving(e,t){var i,n,a;for(i=0,n=e.implicitTypes.length;i<n;i+=1){a=e.implicitTypes[i];if(a.resolve(t)){return true}}return false}function isWhitespace(e){return e===p||e===l}function isPrintable(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==65279||65536<=e&&e<=1114111}function isNsChar(e){return isPrintable(e)&&!isWhitespace(e)&&e!==65279&&e!==d&&e!==c}function isPlainSafe(e,t){return isPrintable(e)&&e!==65279&&e!==w&&e!==T&&e!==R&&e!==A&&e!==N&&e!==z&&(e!==m||t&&isNsChar(t))}function isPlainSafeFirst(e){return isPrintable(e)&&e!==65279&&!isWhitespace(e)&&e!==v&&e!==k&&e!==z&&e!==w&&e!==T&&e!==R&&e!==A&&e!==N&&e!==m&&e!==g&&e!==S&&e!==f&&e!==x&&e!==j&&e!==O&&e!==y&&e!==h&&e!==b&&e!==C&&e!==E}function needIndentIndicator(e){var t=/^\n* /;return t.test(e)}var D=1,I=2,_=3,q=4,B=5;function chooseScalarStyle(e,t,i,n,a){var r;var s,o;var u=false;var l=false;var d=n!==-1;var p=-1;var f=isPlainSafeFirst(e.charCodeAt(0))&&!isWhitespace(e.charCodeAt(e.length-1));if(t){for(r=0;r<e.length;r++){s=e.charCodeAt(r);if(!isPrintable(s)){return B}o=r>0?e.charCodeAt(r-1):null;f=f&&isPlainSafe(s,o)}}else{for(r=0;r<e.length;r++){s=e.charCodeAt(r);if(s===c){u=true;if(d){l=l||r-p-1>n&&e[p+1]!==" ";p=r}}else if(!isPrintable(s)){return B}o=r>0?e.charCodeAt(r-1):null;f=f&&isPlainSafe(s,o)}l=l||d&&(r-p-1>n&&e[p+1]!==" ")}if(!u&&!l){return f&&!a(e)?D:I}if(i>9&&needIndentIndicator(e)){return B}return l?q:_}function writeScalar(e,t,i,n){e.dump=function(){if(t.length===0){return"''"}if(!e.noCompatMode&&P.indexOf(t)!==-1){return"'"+t+"'"}var r=e.indent*Math.max(1,i);var s=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-r);var o=n||e.flowLevel>-1&&i>=e.flowLevel;function testAmbiguity(t){return testImplicitResolving(e,t)}switch(chooseScalarStyle(t,o,e.indent,s,testAmbiguity)){case D:return t;case I:return"'"+t.replace(/'/g,"''")+"'";case _:return"|"+blockHeader(t,e.indent)+dropEndingNewline(indentString(t,r));case q:return">"+blockHeader(t,e.indent)+dropEndingNewline(indentString(foldString(t,s),r));case B:return'"'+escapeString(t,s)+'"';default:throw new a("impossible error: invalid scalar style")}}()}function blockHeader(e,t){var i=needIndentIndicator(e)?String(t):"";var n=e[e.length-1]==="\n";var a=n&&(e[e.length-2]==="\n"||e==="\n");var r=a?"+":n?"":"-";return i+r+"\n"}function dropEndingNewline(e){return e[e.length-1]==="\n"?e.slice(0,-1):e}function foldString(e,t){var i=/(\n+)([^\n]*)/g;var n=function(){var n=e.indexOf("\n");n=n!==-1?n:e.length;i.lastIndex=n;return foldLine(e.slice(0,n),t)}();var a=e[0]==="\n"||e[0]===" ";var r;var s;while(s=i.exec(e)){var o=s[1],u=s[2];r=u[0]===" ";n+=o+(!a&&!r&&u!==""?"\n":"")+foldLine(u,t);a=r}return n}function foldLine(e,t){if(e===""||e[0]===" ")return e;var i=/ [^ ]/g;var n;var a=0,r,s=0,o=0;var u="";while(n=i.exec(e)){o=n.index;if(o-a>t){r=s>a?s:o;u+="\n"+e.slice(a,r);a=r+1}s=o}u+="\n";if(e.length-a>t&&s>a){u+=e.slice(a,s)+"\n"+e.slice(s+1)}else{u+=e.slice(a)}return u.slice(1)}function escapeString(e){var t="";var i,n;var a;for(var r=0;r<e.length;r++){i=e.charCodeAt(r);if(i>=55296&&i<=56319){n=e.charCodeAt(r+1);if(n>=56320&&n<=57343){t+=encodeHex((i-55296)*1024+n-56320+65536);r++;continue}}a=V[i];t+=!a&&isPrintable(i)?e[r]:a||encodeHex(i)}return t}function writeFlowSequence(e,t,i){var n="",a=e.tag,r,s;for(r=0,s=i.length;r<s;r+=1){if(writeNode(e,t,i[r],false,false)){if(r!==0)n+=","+(!e.condenseFlow?" ":"");n+=e.dump}}e.tag=a;e.dump="["+n+"]"}function writeBlockSequence(e,t,i,n){var a="",r=e.tag,s,o;for(s=0,o=i.length;s<o;s+=1){if(writeNode(e,t+1,i[s],true,true)){if(!n||s!==0){a+=generateNextLine(e,t)}if(e.dump&&c===e.dump.charCodeAt(0)){a+="-"}else{a+="- "}a+=e.dump}}e.tag=r;e.dump=a||"[]"}function writeFlowMapping(e,t,i){var n="",a=e.tag,r=Object.keys(i),s,o,u,l,c;for(s=0,o=r.length;s<o;s+=1){c="";if(s!==0)c+=", ";if(e.condenseFlow)c+='"';u=r[s];l=i[u];if(!writeNode(e,t,u,false,false)){continue}if(e.dump.length>1024)c+="? ";c+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" ");if(!writeNode(e,t,l,false,false)){continue}c+=e.dump;n+=c}e.tag=a;e.dump="{"+n+"}"}function writeBlockMapping(e,t,i,n){var r="",s=e.tag,o=Object.keys(i),u,l,d,p,f,h;if(e.sortKeys===true){o.sort()}else if(typeof e.sortKeys==="function"){o.sort(e.sortKeys)}else if(e.sortKeys){throw new a("sortKeys must be a boolean or a function")}for(u=0,l=o.length;u<l;u+=1){h="";if(!n||u!==0){h+=generateNextLine(e,t)}d=o[u];p=i[d];if(!writeNode(e,t+1,d,true,true,true)){continue}f=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024;if(f){if(e.dump&&c===e.dump.charCodeAt(0)){h+="?"}else{h+="? "}}h+=e.dump;if(f){h+=generateNextLine(e,t)}if(!writeNode(e,t+1,p,true,f)){continue}if(e.dump&&c===e.dump.charCodeAt(0)){h+=":"}else{h+=": "}h+=e.dump;r+=h}e.tag=s;e.dump=r||"{}"}function detectType(e,t,i){var n,r,s,l,c,d;r=i?e.explicitTypes:e.implicitTypes;for(s=0,l=r.length;s<l;s+=1){c=r[s];if((c.instanceOf||c.predicate)&&(!c.instanceOf||typeof t==="object"&&t instanceof c.instanceOf)&&(!c.predicate||c.predicate(t))){e.tag=i?c.tag:"?";if(c.represent){d=e.styleMap[c.tag]||c.defaultStyle;if(o.call(c.represent)==="[object Function]"){n=c.represent(t,d)}else if(u.call(c.represent,d)){n=c.represent[d](t,d)}else{throw new a("!<"+c.tag+'> tag resolver accepts not "'+d+'" style')}e.dump=n}return true}}return false}function writeNode(e,t,i,n,r,s){e.tag=null;e.dump=i;if(!detectType(e,i,false)){detectType(e,i,true)}var u=o.call(e.dump);if(n){n=e.flowLevel<0||e.flowLevel>t}var l=u==="[object Object]"||u==="[object Array]",c,d;if(l){c=e.duplicates.indexOf(i);d=c!==-1}if(e.tag!==null&&e.tag!=="?"||d||e.indent!==2&&t>0){r=false}if(d&&e.usedDuplicates[c]){e.dump="*ref_"+c}else{if(l&&d&&!e.usedDuplicates[c]){e.usedDuplicates[c]=true}if(u==="[object Object]"){if(n&&Object.keys(e.dump).length!==0){writeBlockMapping(e,t,e.dump,r);if(d){e.dump="&ref_"+c+e.dump}}else{writeFlowMapping(e,t,e.dump);if(d){e.dump="&ref_"+c+" "+e.dump}}}else if(u==="[object Array]"){var p=e.noArrayIndent&&t>0?t-1:t;if(n&&e.dump.length!==0){writeBlockSequence(e,p,e.dump,r);if(d){e.dump="&ref_"+c+e.dump}}else{writeFlowSequence(e,p,e.dump);if(d){e.dump="&ref_"+c+" "+e.dump}}}else if(u==="[object String]"){if(e.tag!=="?"){writeScalar(e,e.dump,t,s)}}else{if(e.skipInvalid)return false;throw new a("unacceptable kind of an object to dump "+u)}if(e.tag!==null&&e.tag!=="?"){e.dump="!<"+e.tag+"> "+e.dump}}return true}function getDuplicateReferences(e,t){var i=[],n=[],a,r;inspectNode(e,i,n);for(a=0,r=n.length;a<r;a+=1){t.duplicates.push(i[n[a]])}t.usedDuplicates=new Array(r)}function inspectNode(e,t,i){var n,a,r;if(e!==null&&typeof e==="object"){a=t.indexOf(e);if(a!==-1){if(i.indexOf(a)===-1){i.push(a)}}else{t.push(e);if(Array.isArray(e)){for(a=0,r=e.length;a<r;a+=1){inspectNode(e[a],t,i)}}else{n=Object.keys(e);for(a=0,r=n.length;a<r;a+=1){inspectNode(e[n[a]],t,i)}}}}}function dump(e,t){t=t||{};var i=new State(t);if(!i.noRefs)getDuplicateReferences(e,i);if(writeNode(i,0,e,true,true))return i.dump+"\n";return""}function safeDump(e,t){return dump(e,n.extend({schema:s},t))}e.exports.dump=dump;e.exports.safeDump=safeDump},,function(e){"use strict";e.exports=function generate_format(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||"");if(e.opts.format===false){if(l){n+=" if (true) { "}return n}var d=e.opts.$data&&s&&s.$data,p;if(d){n+=" var schema"+a+" = "+e.util.getData(s.$data,r,e.dataPathArr)+"; ";p="schema"+a}else{p=s}var f=e.opts.unknownFormats,h=Array.isArray(f);if(d){var m="format"+a,b="isObject"+a,g="formatType"+a;n+=" var "+m+" = formats["+p+"]; var "+b+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+g+" = "+b+" && "+m+".type || 'string'; if ("+b+") { ";if(e.async){n+=" var async"+a+" = "+m+".async; "}n+=" "+m+" = "+m+".validate; } if ( ";if(d){n+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "}n+=" (";if(f!="ignore"){n+=" ("+p+" && !"+m+" ";if(h){n+=" && self._opts.unknownFormats.indexOf("+p+") == -1 "}n+=") || "}n+=" ("+m+" && "+g+" == '"+i+"' && !(typeof "+m+" == 'function' ? ";if(e.async){n+=" (async"+a+" ? await "+m+"("+c+") : "+m+"("+c+")) "}else{n+=" "+m+"("+c+") "}n+=" : "+m+".test("+c+"))))) {"}else{var m=e.formats[s];if(!m){if(f=="ignore"){e.logger.warn('unknown format "'+s+'" ignored in schema at path "'+e.errSchemaPath+'"');if(l){n+=" if (true) { "}return n}else if(h&&f.indexOf(s)>=0){if(l){n+=" if (true) { "}return n}else{throw new Error('unknown format "'+s+'" is used in schema at path "'+e.errSchemaPath+'"')}}var b=typeof m=="object"&&!(m instanceof RegExp)&&m.validate;var g=b&&m.type||"string";if(b){var y=m.async===true;m=m.validate}if(g!=i){if(l){n+=" if (true) { "}return n}if(y){if(!e.async)throw new Error("async format in sync schema");var S="formats"+e.util.getProperty(s)+".validate";n+=" if (!(await "+S+"("+c+"))) { "}else{n+=" if (! ";var S="formats"+e.util.getProperty(s);if(b)S+=".validate";if(typeof m=="function"){n+=" "+S+"("+c+") "}else{n+=" "+S+".test("+c+") "}n+=") { "}}var w=w||[];w.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { format: ";if(d){n+=""+p}else{n+=""+e.util.toQuotedString(s)}n+=" } ";if(e.opts.messages!==false){n+=" , message: 'should match format \"";if(d){n+="' + "+p+" + '"}else{n+=""+e.util.escapeQuotes(s)}n+="\"' "}if(e.opts.verbose){n+=" , schema: ";if(d){n+="validate.schema"+o}else{n+=""+e.util.toQuotedString(s)}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}var v=n;n=w.pop();if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(["+v+"]); "}else{n+=" validate.errors = ["+v+"]; return false; "}}else{n+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } ";if(l){n+=" else { "}return n}},function(e,t,i){var n=i(602);var a=i(747);n.register("rm",_rm,{cmdOptions:{f:"force",r:"recursive",R:"recursive"}});function rmdirSyncRecursive(e,t,i){var r;r=a.readdirSync(e);for(var s=0;s<r.length;s++){var o=e+"/"+r[s];var u=n.statNoFollowLinks(o);if(u.isDirectory()){rmdirSyncRecursive(o,t)}else{if(t||isWriteable(o)){try{n.unlinkSync(o)}catch(e){n.error("could not remove file (code "+e.code+"): "+o,{continue:true})}}}}if(i)return;var l;try{var c=Date.now();for(;;){try{l=a.rmdirSync(e);if(a.existsSync(e))throw{code:"EAGAIN"};break}catch(e){if(process.platform==="win32"&&(e.code==="ENOTEMPTY"||e.code==="EBUSY"||e.code==="EPERM"||e.code==="EAGAIN")){if(Date.now()-c>1e3)throw e}else if(e.code==="ENOENT"){break}else{throw e}}}}catch(t){n.error("could not remove directory (code "+t.code+"): "+e,{continue:true})}return l}function isWriteable(e){var t=true;try{var i=a.openSync(e,"a");a.closeSync(i)}catch(e){t=false}return t}function handleFile(e,t){if(t.force||isWriteable(e)){n.unlinkSync(e)}else{n.error("permission denied: "+e,{continue:true})}}function handleDirectory(e,t){if(t.recursive){rmdirSyncRecursive(e,t.force)}else{n.error("path is a directory",{continue:true})}}function handleSymbolicLink(e,t){var i;try{i=n.statFollowLinks(e)}catch(t){n.unlinkSync(e);return}if(i.isFile()){n.unlinkSync(e)}else if(i.isDirectory()){if(e[e.length-1]==="/"){if(t.recursive){var a=true;rmdirSyncRecursive(e,t.force,a)}else{n.error("path is a directory",{continue:true})}}else{n.unlinkSync(e)}}}function handleFIFO(e){n.unlinkSync(e)}function _rm(e,t){if(!t)n.error("no paths given");t=[].slice.call(arguments,1);t.forEach(function(t){var i;try{var a=t[t.length-1]==="/"?t.slice(0,-1):t;i=n.statNoFollowLinks(a)}catch(i){if(!e.force){n.error("no such file or directory: "+t,{continue:true})}return}if(i.isFile()){handleFile(t,e)}else if(i.isDirectory()){handleDirectory(t,e)}else if(i.isSymbolicLink()){handleSymbolicLink(t,e)}else if(i.isFIFO()){handleFIFO(t)}});return""}e.exports=_rm},function(e,t,i){try{var n=i(669);if(typeof n.inherits!=="function")throw"";e.exports=n.inherits}catch(t){e.exports=i(315)}},,function(e,t,i){var n=i(602);var a=i(747);var r=i(622);n.register("which",_which,{allowGlobbing:false,cmdOptions:{a:"all"}});var s=".com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh";var o=1;function isWindowsPlatform(){return process.platform==="win32"}function splitPath(e){return e?e.split(r.delimiter):[]}function isExecutable(e){try{a.accessSync(e,o)}catch(e){return false}return true}function checkPath(e){return a.existsSync(e)&&!n.statFollowLinks(e).isDirectory()&&(isWindowsPlatform()||isExecutable(e))}function _which(e,t){if(!t)n.error("must specify command");var i=isWindowsPlatform();var a=splitPath(process.env.PATH);var o=[];if(t.indexOf("/")===-1){var u=[""];if(i){var l=process.env.PATHEXT||s;u=splitPath(l.toUpperCase())}for(var c=0;c<a.length;c++){if(o.length>0&&!e.all)break;var d=r.resolve(a[c],t);if(i){d=d.toUpperCase()}var p=d.match(/\.[^<>:"/\|?*.]+$/);if(p&&u.indexOf(p[0])>=0){if(checkPath(d)){o.push(d);break}}else{for(var f=0;f<u.length;f++){var h=u[f];var m=d+h;if(checkPath(m)){o.push(m);break}}}}}else if(checkPath(t)){o.push(r.resolve(t))}if(o.length>0){return e.all?o:o[0]}return e.all?[]:null}e.exports=_which},,function(e,t,i){var n=i(602);var a=i(953).tempDir;var r=i(359);var s=i(622);var o=i(747);var u=i(129);var l=20*1024*1024;var c=1;n.register("exec",_exec,{unix:false,canReceivePipe:true,wrapOutput:false});function execSync(e,t,d){if(!n.config.execPath){n.error("Unable to find a path to the node binary. Please manually set config.execPath")}var p=a();var f=s.resolve(p+"/"+n.randomFileName());var h=s.resolve(p+"/"+n.randomFileName());var m=s.resolve(p+"/"+n.randomFileName());t=n.extend({silent:n.config.silent,cwd:r().toString(),env:process.env,maxBuffer:l,encoding:"utf8"},t);if(o.existsSync(f))n.unlinkSync(f);if(o.existsSync(h))n.unlinkSync(h);if(o.existsSync(m))n.unlinkSync(m);t.cwd=s.resolve(t.cwd);var b={command:e,execOptions:t,pipe:d,stdoutFile:m,stderrFile:h};o.writeFileSync(f,JSON.stringify(b),"utf8");var g=[i.ab+"exec-child.js",f];if(t.silent){t.stdio="ignore"}else{t.stdio=[0,1,2]}var y=0;try{delete t.shell;u.execFileSync(n.config.execPath,g,t)}catch(e){y=e.status||c}var S="";var w="";if(t.encoding==="buffer"){S=o.readFileSync(m);w=o.readFileSync(h)}else{S=o.readFileSync(m,t.encoding);w=o.readFileSync(h,t.encoding)}try{n.unlinkSync(f)}catch(e){}try{n.unlinkSync(h)}catch(e){}try{n.unlinkSync(m)}catch(e){}if(y!==0){n.error(w,y,{continue:true,silent:true})}var v=n.ShellString(S,w,y);return v}function execAsync(e,t,i,a){t=n.extend({silent:n.config.silent,cwd:r().toString(),env:process.env,maxBuffer:l,encoding:"utf8"},t);var s=u.exec(e,t,function(e,t,i){if(a){if(!e){a(0,t,i)}else if(e.code===undefined){a(1,t,i)}else{a(e.code,t,i)}}});if(i)s.stdin.end(i);if(!t.silent){s.stdout.pipe(process.stdout);s.stderr.pipe(process.stderr)}return s}function _exec(e,t,i){t=t||{};if(!e)n.error("must specify command");var a=n.readFromPipe();if(typeof t==="function"){i=t;t={async:true}}if(typeof t==="object"&&typeof i==="function"){t.async=true}t=n.extend({silent:n.config.silent,async:false},t);if(t.async){return execAsync(e,t,a,i)}else{return execSync(e,t,a)}}e.exports=_exec},function(e,t,i){const{randomBytes:n}=i(373);const a=i(208);const r=i(466);const s=BigInt(0);const o=BigInt(1);const u=BigInt(2);const l=e=>{const t=e.toString(16);return a.encodeBuffer(Buffer.from(t.length%2?`0${t}`:t,"hex"))};const c=e=>BigInt(`0x${e.toString("hex")}`);const d=e=>e.toString(2).length;const p=(e,t)=>{let i=s;let n=o;let a=o;let r=s;while(e!==s){const s=t/e;const o=t%e;const u=i-a*s;const l=n-r*s;t=e;e=o;i=a;n=r;a=u;r=l}return i};const f=(e,t)=>{let i=s;while(!((e|t)&o)){e>>=o;t>>=o;i++}while(!(e&o)){e>>=o}do{while(!(t&o)){t>>=o}if(e>t){const i=e;e=t;t=i}t-=e}while(t);return e<<i};const h=(e,t,i)=>{e=g(e,i);let n=o;let a=e;while(t>0){var r=t%u;t=t/u;if(r===o){n=n*a;n=n%i}a=a*a;a=a%i}return n};const m=(e,t)=>{const i=t-e;const n=d(i);let a;do{a=c(b(n))}while(a>i);return a+e};const b=e=>{const t=Math.ceil(e/8);const i=n(t);i[0]=i[0]&2**(e%8)-1;return i};const g=(e,t)=>{e=e%t;return e<0?e+t:e};const y=e=>{let t=e;while(t%u===s){t=t/u}return t};const S=30;const w=22;const v=(e,t,i)=>{const n=y(e*t-o);let a=0;let l;do{a++;if(a===S){throw new r.JWKImportFailed("failed to calculate missing primes")}let e=0;let t=h(m(u,i),n,i);let c=s;while(t!==o){e++;if(e===w){throw new r.JWKImportFailed("failed to calculate missing primes")}c=t;t=t*t%i}if(c!==i-o){l=c}}while(!l);const c=f(l-o,i);const d=i/c;return c>d?{p:c,q:d}:{p:d,q:c}};e.exports=(e=>{const t=c(a.decodeToBuffer(e.e));const i=c(a.decodeToBuffer(e.d));const n=c(a.decodeToBuffer(e.n));if(i>=n){throw new r.JWKInvalid("invalid RSA private exponent")}const{p:s,q:u}=v(t,i,n);const d=i%(s-o);const f=i%(u-o);const h=g(p(g(u,s),s),s);return{...e,p:l(s),q:l(u),dp:l(d),dq:l(f),qi:l(h)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(920);const a=i(376);t.ADD="add";t.UPDATE="update";t.DELETE="delete";function makeInformer(e,t,i){const r=new a.Watch(e);return new n.ListWatch(t,r,i,false)}t.makeInformer=makeInformer},function(e,t,i){"use strict";i.r(t);var n=i(622);var a=i.n(n);class action_Action{static get supportedPlatforms(){return["linux"]}static get isRunningLocally(){return process.env.RUNNER_WORKSPACE===undefined}static get isRunningFromSource(){return a().basename(__dirname)==="model"}static get name(){return"unity-builder"}static get rootFolder(){if(action_Action.isRunningFromSource){return a().dirname(a().dirname(a().dirname(__filename)))}return a().dirname(a().dirname(__filename))}static get actionFolder(){return`${action_Action.rootFolder}/action`}static get dockerfile(){return`${action_Action.actionFolder}/Dockerfile`}static get workspace(){return process.env.GITHUB_WORKSPACE}static checkCompatibility(){const e=process.platform;if(!action_Action.supportedPlatforms.includes(e)){throw new Error(`Currently ${e}-platform is not supported`)}}}var r=action_Action;var s=i(470);var o=i(876);class android_versioning_AndroidVersioning{static determineVersionCode(e,t){if(!t){return android_versioning_AndroidVersioning.versionToVersionCode(e)}return t}static versionToVersionCode(e){const t=Object(o.parse)(e);if(!t){Object(s.warning)(`Could not parse "${e}" to semver, defaulting android version code to 1`);return 1}const i=t.major*1e6+t.minor*1e3+t.patch;if(i>=1e9){throw new Error(`Generated versionCode ${i} is dangerously close to the maximum allowed number 2100000000. Consider a different versioning scheme to be able to continue updating your application.`)}Object(s.info)(`Using android versionCode ${i}`);return i}}class Platform{static get default(){return Platform.types.StandaloneWindows64}static get types(){return{StandaloneOSX:"StandaloneOSX",StandaloneWindows:"StandaloneWindows",StandaloneWindows64:"StandaloneWindows64",StandaloneLinux64:"StandaloneLinux64",iOS:"iOS",Android:"Android",WebGL:"WebGL",WSAPlayer:"WSAPlayer",PS4:"PS4",XboxOne:"XboxOne",tvOS:"tvOS",Switch:"Switch",Lumin:"Lumin",BJM:"BJM",Stadia:"Stadia",Facebook:"Facebook",NoTarget:"NoTarget",Test:"Test"}}static isWindows(e){switch(e){case Platform.types.StandaloneWindows:case Platform.types.StandaloneWindows64:return true;default:return false}}static isAndroid(e){switch(e){case Platform.types.Android:return true;default:return false}}}var u=Platform;const l=i(470);class input_Input{static get unityVersion(){return l.getInput("unityVersion")||"auto"}static get customImage(){return l.getInput("customImage")}static get targetPlatform(){return l.getInput("targetPlatform")||u.default}static get projectPath(){const e=l.getInput("projectPath")||".";return e.replace(/\/$/,"")}static get buildName(){return l.getInput("buildName")||this.targetPlatform}static get buildsPath(){return l.getInput("buildsPath")||"build"}static get buildMethod(){return l.getInput("buildMethod")}static get versioningStrategy(){return l.getInput("versioning")||"Semantic"}static get specifiedVersion(){return l.getInput("version")||""}static get androidVersionCode(){return l.getInput("androidVersionCode")}static get androidAppBundle(){const e=l.getInput("androidAppBundle")||false;return e==="true"}static get androidKeystoreName(){return l.getInput("androidKeystoreName")||""}static get androidKeystoreBase64(){return l.getInput("androidKeystoreBase64")||""}static get androidKeystorePass(){return l.getInput("androidKeystorePass")||""}static get androidKeyaliasName(){return l.getInput("androidKeyaliasName")||""}static get androidKeyaliasPass(){return l.getInput("androidKeyaliasPass")||""}static get allowDirtyBuild(){const e=l.getInput("allowDirtyBuild")||false;return e==="true"}static get customParameters(){return l.getInput("customParameters")||""}static get kubeConfig(){return l.getInput("kubeConfig")||""}static get githubToken(){return l.getInput("githubToken")||""}static get kubeContainerMemory(){return l.getInput("kubeContainerMemory")||"800M"}static get kubeContainerCPU(){return l.getInput("kubeContainerCPU")||"0.25"}static get kubeVolumeSize(){return l.getInput("kubeVolumeSize")||"5Gi"}static get kubeVolume(){return l.getInput("kubeVolume")||""}}var c=input_Input;var d=i(747);var p=i.n(d);class unity_versioning_UnityVersioning{static get versionPattern(){return/20\d{2}\.\d\.\w{3,4}|3/}static determineUnityVersion(e,t){if(t==="auto"){return unity_versioning_UnityVersioning.read(e)}return t}static read(e){const t=Object(n.join)(e,"ProjectSettings","ProjectVersion.txt");if(!Object(d.existsSync)(t)){Object(s.warning)(`Could not find "${t}", keeping unityVersion as "auto"`);return"auto"}return unity_versioning_UnityVersioning.parse(Object(d.readFileSync)(t,"utf8"))}static parse(e){const t=e.match(unity_versioning_UnityVersioning.versionPattern);if(!t||t.length===0){throw new Error(`Failed to parse version from "${e}".`)}return t[0]}}class NotImplementedException extends Error{constructor(e){super(e);this.name="NotImplementedException"}}var f=NotImplementedException;class ValidationError extends Error{constructor(e){super(e);this.name="ValidationError"}}var h=ValidationError;var m=i(986);class system_System{static async run(e,t,i){let n="";let a="";let r="";const o={stdout:e=>{n+=e.toString()},stderr:e=>{a+=e.toString()},debug:e=>{r+=e.toString()}};const u=()=>{if(r!==""){Object(s.debug)(r)}if(n!==""){Object(s.info)(n)}if(a!==""){Object(s.warning)(a)}};const l=i=>{let n=e;if(Array.isArray(t)){n+=` ${t.join(" ")}`}else if(typeof t==="string"){n+=` ${t}`}throw new Error(`Failed to run "${n}".\n ${i}`)};try{const n=await Object(m.exec)(e,t,{silent:true,listeners:o,...i});u();if(n!==0){l(`Command returned non-zero exit code.\nError: ${a}`)}}catch(e){u();l(`In-command error caught: ${e}`)}return n}}var b=system_System;class versioning_Versioning{static get projectPath(){return c.projectPath}static get isDirtyAllowed(){return c.allowDirtyBuild}static get strategies(){return{None:"None",Semantic:"Semantic",Tag:"Tag",Custom:"Custom"}}static get branch(){return this.headRef||this.ref&&this.ref.slice(11)}static get headRef(){return process.env.GITHUB_HEAD_REF}static get ref(){return process.env.GITHUB_REF}static get sha(){return process.env.GITHUB_SHA}static get maxDiffLines(){return 60}static async logDiff(){const e=`git --no-pager diff | head -n ${this.maxDiffLines.toString()}`;await b.run("sh",undefined,{input:Buffer.from(e),silent:true})}static get descriptionRegex1(){return/^v([\d.]+)-(\d+)-g(\w+)-?(\w+)*/g}static get descriptionRegex2(){return/^v([\d.]+-\w+)-(\d+)-g(\w+)-?(\w+)*/g}static get descriptionRegex3(){return/^v([\d.]+-\w+\.\d+)-(\d+)-g(\w+)-?(\w+)*/g}static async determineVersion(e,t){if(!Object.hasOwnProperty.call(this.strategies,e)){throw new h(`Versioning strategy should be one of ${Object.values(this.strategies).join(", ")}.`)}let i;switch(e){case this.strategies.None:i="none";break;case this.strategies.Custom:i=t;break;case this.strategies.Semantic:i=await this.generateSemanticVersion();break;case this.strategies.Tag:i=await this.generateTagVersion();break;default:throw new f(`Strategy ${e} is not implemented.`)}return i}static async generateSemanticVersion(){await this.fetch();await this.logDiff();if(await this.isDirty()&&!this.isDirtyAllowed){throw new Error("Branch is dirty. Refusing to base semantic version on uncommitted changes")}if(!await this.hasAnyVersionTags()){const e=`0.0.${await this.getTotalNumberOfCommits()}`;Object(s.info)(`Generated version ${e} (no version tags found).`);return e}const e=await this.parseSemanticVersion();if(e){const{tag:t,commits:i,hash:n}=e;Object(s.info)(`Found semantic version ${t}.${i} for ${this.branch}@${n}`);return`${t}.${i}`}const t=`0.0.${await this.getTotalNumberOfCommits()}`;Object(s.info)(`Generated version ${t} (semantic version couldn't be determined).`);return t}static async generateTagVersion(){let e=await this.getTag();if(e.charAt(0)==="v"){e=e.slice(1)}return e}static async parseSemanticVersion(){const e=await this.getVersionDescription();try{const[t,i,n,a]=this.descriptionRegex1.exec(e);return{match:t,tag:i,commits:n,hash:a}}catch(t){try{const[t,i,n,a]=this.descriptionRegex2.exec(e);return{match:t,tag:i,commits:n,hash:a}}catch(t){try{const[t,i,n,a]=this.descriptionRegex3.exec(e);return{match:t,tag:i,commits:n,hash:a}}catch(t){Object(s.warning)(`Failed to parse git describe output or version can not be determined through: "${e}".`);return false}}}}static async fetch(){try{await this.git(["fetch","--unshallow"])}catch(e){Object(s.warning)(`Fetch --unshallow caught: ${e}`);await this.git(["fetch"])}}static async getVersionDescription(){return this.git(["describe","--long","--tags","--always","--debug",this.sha])}static async isDirty(){const e=await this.git(["status","--porcelain"]);return e!==""}static async getTag(){return this.git(["tag","--points-at","HEAD"])}static async hasAnyVersionTags(){const e=await b.run("sh",undefined,{input:Buffer.from("git tag --list --merged HEAD | grep v[0-9]* | wc -l"),silent:false});const t=Number.parseInt(e,10);return t!==0}static async getTotalNumberOfCommits(){const e=await this.git(["rev-list","--count",this.sha]);return Number.parseInt(e,10)}static async git(e,t={}){return b.run("git",e,{cwd:this.projectPath,...t})}}class build_parameters_BuildParameters{static async create(){const e=this.parseBuildFile(c.buildName,c.targetPlatform,c.androidAppBundle);const t=unity_versioning_UnityVersioning.determineUnityVersion(c.projectPath,c.unityVersion);const i=await versioning_Versioning.determineVersion(c.versioningStrategy,c.specifiedVersion);const n=android_versioning_AndroidVersioning.determineVersionCode(i,c.androidVersionCode);return{version:t,customImage:c.customImage,runnerTempPath:process.env.RUNNER_TEMP,platform:c.targetPlatform,projectPath:c.projectPath,buildName:c.buildName,buildPath:`${c.buildsPath}/${c.targetPlatform}`,buildFile:e,buildMethod:c.buildMethod,buildVersion:i,androidVersionCode:n,androidKeystoreName:c.androidKeystoreName,androidKeystoreBase64:c.androidKeystoreBase64,androidKeystorePass:c.androidKeystorePass,androidKeyaliasName:c.androidKeyaliasName,androidKeyaliasPass:c.androidKeyaliasPass,customParameters:c.customParameters,kubeConfig:c.kubeConfig,githubToken:c.githubToken,kubeContainerMemory:c.kubeContainerMemory,kubeContainerCPU:c.kubeContainerCPU,kubeVolumeSize:c.kubeVolumeSize,kubeVolume:c.kubeVolume}}static parseBuildFile(e,t,i){if(u.isWindows(t)){return`${e}.exe`}if(u.isAndroid(t)){return i?`${e}.aab`:`${e}.apk`}return e}}var g=build_parameters_BuildParameters;class Unity{static get libraryFolder(){return"Library"}}var y=Unity;class project_Project{static get relativePath(){const{projectPath:e}=c;return`${e}`}static get absolutePath(){const{workspace:e}=r;return`${e}/${this.relativePath}`}static get libraryFolder(){return`${this.relativePath}/${y.libraryFolder}`}}var S=project_Project;class cache_Cache{static verify(){if(!p().existsSync(S.libraryFolder)){this.notifyAboutCachingPossibility()}}static notifyAboutCachingPossibility(){if(r.isRunningLocally){return}Object(s.warning)(`\n Library folder does not exist.\n Consider setting up caching to speed up your workflow,\n if this is not your first build.\n `)}}var w=cache_Cache;var v=typeof global=="object"&&global&&global.Object===Object&&global;var z=v;var j=typeof self=="object"&&self&&self.Object===Object&&self;var O=z||j||Function("return this")();var k=O;var C=k.Symbol;var T=C;var R=Object.prototype;var E=R.hasOwnProperty;var A=R.toString;var x=T?T.toStringTag:undefined;function getRawTag(e){var t=E.call(e,x),i=e[x];try{e[x]=undefined;var n=true}catch(e){}var a=A.call(e);if(n){if(t){e[x]=i}else{delete e[x]}}return a}var N=getRawTag;var V=Object.prototype;var P=V.toString;function objectToString(e){return P.call(e)}var D=objectToString;var I="[object Null]",_="[object Undefined]";var q=T?T.toStringTag:undefined;function baseGetTag(e){if(e==null){return e===undefined?_:I}return q&&q in Object(e)?N(e):D(e)}var B=baseGetTag;function isObjectLike(e){return e!=null&&typeof e=="object"}var M=isObjectLike;var U="[object Symbol]";function isSymbol(e){return typeof e=="symbol"||M(e)&&B(e)==U}var L=isSymbol;var H=0/0;function baseToNumber(e){if(typeof e=="number"){return e}if(L(e)){return H}return+e}var Q=baseToNumber;function arrayMap(e,t){var i=-1,n=e==null?0:e.length,a=Array(n);while(++i<n){a[i]=t(e[i],i,e)}return a}var W=arrayMap;var G=Array.isArray;var K=G;var J=1/0;var F=T?T.prototype:undefined,Y=F?F.toString:undefined;function baseToString(e){if(typeof e=="string"){return e}if(K(e)){return W(e,baseToString)+""}if(L(e)){return Y?Y.call(e):""}var t=e+"";return t=="0"&&1/e==-J?"-0":t}var X=baseToString;function createMathOperation(e,t){return function(i,n){var a;if(i===undefined&&n===undefined){return t}if(i!==undefined){a=i}if(n!==undefined){if(a===undefined){return n}if(typeof i=="string"||typeof n=="string"){i=X(i);n=X(n)}else{i=Q(i);n=Q(n)}a=e(i,n)}return a}}var Z=createMathOperation;var $=Z(function(e,t){return e+t},0);var ee=$;function isObject(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var te=isObject;var ie=0/0;var ne=/^\s+|\s+$/g;var ae=/^[-+]0x[0-9a-f]+$/i;var re=/^0b[01]+$/i;var se=/^0o[0-7]+$/i;var oe=parseInt;function toNumber(e){if(typeof e=="number"){return e}if(L(e)){return ie}if(te(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=te(t)?t+"":t}if(typeof e!="string"){return e===0?e:+e}e=e.replace(ne,"");var i=re.test(e);return i||se.test(e)?oe(e.slice(2),i?2:8):ae.test(e)?ie:+e}var ue=toNumber;var le=1/0,ce=1.7976931348623157e308;function toFinite(e){if(!e){return e===0?e:0}e=ue(e);if(e===le||e===-le){var t=e<0?-1:1;return t*ce}return e===e?e:0}var de=toFinite;function toInteger(e){var t=de(e),i=t%1;return t===t?i?t-i:t:0}var pe=toInteger;var fe="Expected a function";function after(e,t){if(typeof t!="function"){throw new TypeError(fe)}e=pe(e);return function(){if(--e<1){return t.apply(this,arguments)}}}var he=after;function identity(e){return e}var me=identity;var be="[object AsyncFunction]",ge="[object Function]",ye="[object GeneratorFunction]",Se="[object Proxy]";function isFunction(e){if(!te(e)){return false}var t=B(e);return t==ge||t==ye||t==be||t==Se}var we=isFunction;var ve=k["__core-js_shared__"];var ze=ve;var je=function(){var e=/[^.]+$/.exec(ze&&ze.keys&&ze.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function isMasked(e){return!!je&&je in e}var Oe=isMasked;var ke=Function.prototype;var Ce=ke.toString;function toSource(e){if(e!=null){try{return Ce.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var Te=toSource;var Re=/[\\^$.*+?()[\]{}|]/g;var Ee=/^\[object .+?Constructor\]$/;var Ae=Function.prototype,xe=Object.prototype;var Ne=Ae.toString;var Ve=xe.hasOwnProperty;var Pe=RegExp("^"+Ne.call(Ve).replace(Re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){if(!te(e)||Oe(e)){return false}var t=we(e)?Pe:Ee;return t.test(Te(e))}var De=baseIsNative;function getValue(e,t){return e==null?undefined:e[t]}var Ie=getValue;function getNative(e,t){var i=Ie(e,t);return De(i)?i:undefined}var _e=getNative;var qe=_e(k,"WeakMap");var Be=qe;var Me=Be&&new Be;var Ue=Me;var Le=!Ue?me:function(e,t){Ue.set(e,t);return e};var He=Le;var Qe=Object.create;var We=function(){function object(){}return function(e){if(!te(e)){return{}}if(Qe){return Qe(e)}object.prototype=e;var t=new object;object.prototype=undefined;return t}}();var Ge=We;function createCtor(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var i=Ge(e.prototype),n=e.apply(i,t);return te(n)?n:i}}var Ke=createCtor;var Je=1;function createBind(e,t,i){var n=t&Je,a=Ke(e);function wrapper(){var t=this&&this!==k&&this instanceof wrapper?a:e;return t.apply(n?i:this,arguments)}return wrapper}var Fe=createBind;function apply(e,t,i){switch(i.length){case 0:return e.call(t);case 1:return e.call(t,i[0]);case 2:return e.call(t,i[0],i[1]);case 3:return e.call(t,i[0],i[1],i[2])}return e.apply(t,i)}var Ye=apply;var Xe=Math.max;function composeArgs(e,t,i,n){var a=-1,r=e.length,s=i.length,o=-1,u=t.length,l=Xe(r-s,0),c=Array(u+l),d=!n;while(++o<u){c[o]=t[o]}while(++a<s){if(d||a<r){c[i[a]]=e[a]}}while(l--){c[o++]=e[a++]}return c}var Ze=composeArgs;var $e=Math.max;function composeArgsRight(e,t,i,n){var a=-1,r=e.length,s=-1,o=i.length,u=-1,l=t.length,c=$e(r-o,0),d=Array(c+l),p=!n;while(++a<c){d[a]=e[a]}var f=a;while(++u<l){d[f+u]=t[u]}while(++s<o){if(p||a<r){d[f+i[s]]=e[a++]}}return d}var et=composeArgsRight;function countHolders(e,t){var i=e.length,n=0;while(i--){if(e[i]===t){++n}}return n}var tt=countHolders;function baseLodash(){}var it=baseLodash;var nt=4294967295;function LazyWrapper(e){this.__wrapped__=e;this.__actions__=[];this.__dir__=1;this.__filtered__=false;this.__iteratees__=[];this.__takeCount__=nt;this.__views__=[]}LazyWrapper.prototype=Ge(it.prototype);LazyWrapper.prototype.constructor=LazyWrapper;var at=LazyWrapper;function noop(){}var rt=noop;var st=!Ue?rt:function(e){return Ue.get(e)};var ot=st;var ut={};var lt=ut;var ct=Object.prototype;var dt=ct.hasOwnProperty;function getFuncName(e){var t=e.name+"",i=lt[t],n=dt.call(lt,t)?i.length:0;while(n--){var a=i[n],r=a.func;if(r==null||r==e){return a.name}}return t}var pt=getFuncName;function LodashWrapper(e,t){this.__wrapped__=e;this.__actions__=[];this.__chain__=!!t;this.__index__=0;this.__values__=undefined}LodashWrapper.prototype=Ge(it.prototype);LodashWrapper.prototype.constructor=LodashWrapper;var ft=LodashWrapper;function copyArray(e,t){var i=-1,n=e.length;t||(t=Array(n));while(++i<n){t[i]=e[i]}return t}var ht=copyArray;function wrapperClone(e){if(e instanceof at){return e.clone()}var t=new ft(e.__wrapped__,e.__chain__);t.__actions__=ht(e.__actions__);t.__index__=e.__index__;t.__values__=e.__values__;return t}var mt=wrapperClone;var bt=Object.prototype;var gt=bt.hasOwnProperty;function lodash(e){if(M(e)&&!K(e)&&!(e instanceof at)){if(e instanceof ft){return e}if(gt.call(e,"__wrapped__")){return mt(e)}}return new ft(e)}lodash.prototype=it.prototype;lodash.prototype.constructor=lodash;var yt=lodash;function isLaziable(e){var t=pt(e),i=yt[t];if(typeof i!="function"||!(t in at.prototype)){return false}if(e===i){return true}var n=ot(i);return!!n&&e===n[0]}var St=isLaziable;var wt=800,vt=16;var zt=Date.now;function shortOut(e){var t=0,i=0;return function(){var n=zt(),a=vt-(n-i);i=n;if(a>0){if(++t>=wt){return arguments[0]}}else{t=0}return e.apply(undefined,arguments)}}var jt=shortOut;var Ot=jt(He);var kt=Ot;var Ct=/\{\n\/\* \[wrapped with (.+)\] \*/,Tt=/,? & /;function getWrapDetails(e){var t=e.match(Ct);return t?t[1].split(Tt):[]}var Rt=getWrapDetails;var Et=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function insertWrapDetails(e,t){var i=t.length;if(!i){return e}var n=i-1;t[n]=(i>1?"& ":"")+t[n];t=t.join(i>2?", ":" ");return e.replace(Et,"{\n/* [wrapped with "+t+"] */\n")}var At=insertWrapDetails;function constant(e){return function(){return e}}var xt=constant;var Nt=function(){try{var e=_e(Object,"defineProperty");e({},"",{});return e}catch(e){}}();var Vt=Nt;var Pt=!Vt?me:function(e,t){return Vt(e,"toString",{configurable:true,enumerable:false,value:xt(t),writable:true})};var Dt=Pt;var It=jt(Dt);var _t=It;function arrayEach(e,t){var i=-1,n=e==null?0:e.length;while(++i<n){if(t(e[i],i,e)===false){break}}return e}var qt=arrayEach;function baseFindIndex(e,t,i,n){var a=e.length,r=i+(n?1:-1);while(n?r--:++r<a){if(t(e[r],r,e)){return r}}return-1}var Bt=baseFindIndex;function baseIsNaN(e){return e!==e}var Mt=baseIsNaN;function strictIndexOf(e,t,i){var n=i-1,a=e.length;while(++n<a){if(e[n]===t){return n}}return-1}var Ut=strictIndexOf;function baseIndexOf(e,t,i){return t===t?Ut(e,t,i):Bt(e,Mt,i)}var Lt=baseIndexOf;function arrayIncludes(e,t){var i=e==null?0:e.length;return!!i&&Lt(e,t,0)>-1}var Ht=arrayIncludes;var Qt=1,Wt=2,Gt=8,Kt=16,Jt=32,Ft=64,Yt=128,Xt=256,Zt=512;var $t=[["ary",Yt],["bind",Qt],["bindKey",Wt],["curry",Gt],["curryRight",Kt],["flip",Zt],["partial",Jt],["partialRight",Ft],["rearg",Xt]];function updateWrapDetails(e,t){qt($t,function(i){var n="_."+i[0];if(t&i[1]&&!Ht(e,n)){e.push(n)}});return e.sort()}var ei=updateWrapDetails;function setWrapToString(e,t,i){var n=t+"";return _t(e,At(n,ei(Rt(n),i)))}var ti=setWrapToString;var ii=1,ni=2,ai=4,ri=8,si=32,oi=64;function createRecurry(e,t,i,n,a,r,s,o,u,l){var c=t&ri,d=c?s:undefined,p=c?undefined:s,f=c?r:undefined,h=c?undefined:r;t|=c?si:oi;t&=~(c?oi:si);if(!(t&ai)){t&=~(ii|ni)}var m=[e,t,a,f,d,h,p,o,u,l];var b=i.apply(undefined,m);if(St(e)){kt(b,m)}b.placeholder=n;return ti(b,e,t)}var ui=createRecurry;function getHolder(e){var t=e;return t.placeholder}var li=getHolder;var ci=9007199254740991;var di=/^(?:0|[1-9]\d*)$/;function isIndex(e,t){var i=typeof e;t=t==null?ci:t;return!!t&&(i=="number"||i!="symbol"&&di.test(e))&&(e>-1&&e%1==0&&e<t)}var pi=isIndex;var fi=Math.min;function reorder(e,t){var i=e.length,n=fi(t.length,i),a=ht(e);while(n--){var r=t[n];e[n]=pi(r,i)?a[r]:undefined}return e}var hi=reorder;var mi="__lodash_placeholder__";function replaceHolders(e,t){var i=-1,n=e.length,a=0,r=[];while(++i<n){var s=e[i];if(s===t||s===mi){e[i]=mi;r[a++]=i}}return r}var bi=replaceHolders;var gi=1,yi=2,Si=8,wi=16,vi=128,zi=512;function createHybrid(e,t,i,n,a,r,s,o,u,l){var c=t&vi,d=t&gi,p=t&yi,f=t&(Si|wi),h=t&zi,m=p?undefined:Ke(e);function wrapper(){var b=arguments.length,g=Array(b),y=b;while(y--){g[y]=arguments[y]}if(f){var S=li(wrapper),w=tt(g,S)}if(n){g=Ze(g,n,a,f)}if(r){g=et(g,r,s,f)}b-=w;if(f&&b<l){var v=bi(g,S);return ui(e,t,createHybrid,wrapper.placeholder,i,g,v,o,u,l-b)}var z=d?i:this,j=p?z[e]:e;b=g.length;if(o){g=hi(g,o)}else if(h&&b>1){g.reverse()}if(c&&u<b){g.length=u}if(this&&this!==k&&this instanceof wrapper){j=m||Ke(j)}return j.apply(z,g)}return wrapper}var ji=createHybrid;function createCurry(e,t,i){var n=Ke(e);function wrapper(){var a=arguments.length,r=Array(a),s=a,o=li(wrapper);while(s--){r[s]=arguments[s]}var u=a<3&&r[0]!==o&&r[a-1]!==o?[]:bi(r,o);a-=u.length;if(a<i){return ui(e,t,ji,wrapper.placeholder,undefined,r,u,undefined,undefined,i-a)}var l=this&&this!==k&&this instanceof wrapper?n:e;return Ye(l,this,r)}return wrapper}var Oi=createCurry;var ki=1;function createPartial(e,t,i,n){var a=t&ki,r=Ke(e);function wrapper(){var t=-1,s=arguments.length,o=-1,u=n.length,l=Array(u+s),c=this&&this!==k&&this instanceof wrapper?r:e;while(++o<u){l[o]=n[o]}while(s--){l[o++]=arguments[++t]}return Ye(c,a?i:this,l)}return wrapper}var Ci=createPartial;var Ti="__lodash_placeholder__";var Ri=1,Ei=2,Ai=4,xi=8,Ni=128,Vi=256;var Pi=Math.min;function mergeData(e,t){var i=e[1],n=t[1],a=i|n,r=a<(Ri|Ei|Ni);var s=n==Ni&&i==xi||n==Ni&&i==Vi&&e[7].length<=t[8]||n==(Ni|Vi)&&t[7].length<=t[8]&&i==xi;if(!(r||s)){return e}if(n&Ri){e[2]=t[2];a|=i&Ri?0:Ai}var o=t[3];if(o){var u=e[3];e[3]=u?Ze(u,o,t[4]):o;e[4]=u?bi(e[3],Ti):t[4]}o=t[5];if(o){u=e[5];e[5]=u?et(u,o,t[6]):o;e[6]=u?bi(e[5],Ti):t[6]}o=t[7];if(o){e[7]=o}if(n&Ni){e[8]=e[8]==null?t[8]:Pi(e[8],t[8])}if(e[9]==null){e[9]=t[9]}e[0]=t[0];e[1]=a;return e}var Di=mergeData;var Ii="Expected a function";var _i=1,qi=2,Bi=8,Mi=16,Ui=32,Li=64;var Hi=Math.max;function createWrap(e,t,i,n,a,r,s,o){var u=t&qi;if(!u&&typeof e!="function"){throw new TypeError(Ii)}var l=n?n.length:0;if(!l){t&=~(Ui|Li);n=a=undefined}s=s===undefined?s:Hi(pe(s),0);o=o===undefined?o:pe(o);l-=a?a.length:0;if(t&Li){var c=n,d=a;n=a=undefined}var p=u?undefined:ot(e);var f=[e,t,i,n,a,c,d,r,s,o];if(p){Di(f,p)}e=f[0];t=f[1];i=f[2];n=f[3];a=f[4];o=f[9]=f[9]===undefined?u?0:e.length:Hi(f[9]-l,0);if(!o&&t&(Bi|Mi)){t&=~(Bi|Mi)}if(!t||t==_i){var h=Fe(e,t,i)}else if(t==Bi||t==Mi){h=Oi(e,t,o)}else if((t==Ui||t==(_i|Ui))&&!a.length){h=Ci(e,t,i,n)}else{h=ji.apply(undefined,f)}var m=p?He:kt;return ti(m(h,f),e,t)}var Qi=createWrap;var Wi=128;function ary_ary(e,t,i){t=i?undefined:t;t=e&&t==null?e.length:t;return Qi(e,Wi,undefined,undefined,undefined,undefined,t)}var Gi=ary_ary;function baseAssignValue(e,t,i){if(t=="__proto__"&&Vt){Vt(e,t,{configurable:true,enumerable:true,value:i,writable:true})}else{e[t]=i}}var Ki=baseAssignValue;function eq(e,t){return e===t||e!==e&&t!==t}var Ji=eq;var Fi=Object.prototype;var Yi=Fi.hasOwnProperty;function assignValue(e,t,i){var n=e[t];if(!(Yi.call(e,t)&&Ji(n,i))||i===undefined&&!(t in e)){Ki(e,t,i)}}var Xi=assignValue;function copyObject(e,t,i,n){var a=!i;i||(i={});var r=-1,s=t.length;while(++r<s){var o=t[r];var u=n?n(i[o],e[o],o,i,e):undefined;if(u===undefined){u=e[o]}if(a){Ki(i,o,u)}else{Xi(i,o,u)}}return i}var Zi=copyObject;var $i=Math.max;function overRest(e,t,i){t=$i(t===undefined?e.length-1:t,0);return function(){var n=arguments,a=-1,r=$i(n.length-t,0),s=Array(r);while(++a<r){s[a]=n[t+a]}a=-1;var o=Array(t+1);while(++a<t){o[a]=n[a]}o[t]=i(s);return Ye(e,this,o)}}var en=overRest;function baseRest(e,t){return _t(en(e,t,me),e+"")}var tn=baseRest;var nn=9007199254740991;function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=nn}var an=isLength;function isArrayLike(e){return e!=null&&an(e.length)&&!we(e)}var rn=isArrayLike;function isIterateeCall(e,t,i){if(!te(i)){return false}var n=typeof t;if(n=="number"?rn(i)&&pi(t,i.length):n=="string"&&t in i){return Ji(i[t],e)}return false}var sn=isIterateeCall;function createAssigner(e){return tn(function(t,i){var n=-1,a=i.length,r=a>1?i[a-1]:undefined,s=a>2?i[2]:undefined;r=e.length>3&&typeof r=="function"?(a--,r):undefined;if(s&&sn(i[0],i[1],s)){r=a<3?undefined:r;a=1}t=Object(t);while(++n<a){var o=i[n];if(o){e(t,o,n,r)}}return t})}var on=createAssigner;var un=Object.prototype;function isPrototype(e){var t=e&&e.constructor,i=typeof t=="function"&&t.prototype||un;return e===i}var ln=isPrototype;function baseTimes(e,t){var i=-1,n=Array(e);while(++i<e){n[i]=t(i)}return n}var cn=baseTimes;var dn="[object Arguments]";function baseIsArguments(e){return M(e)&&B(e)==dn}var pn=baseIsArguments;var fn=Object.prototype;var hn=fn.hasOwnProperty;var mn=fn.propertyIsEnumerable;var bn=pn(function(){return arguments}())?pn:function(e){return M(e)&&hn.call(e,"callee")&&!mn.call(e,"callee")};var gn=bn;function stubFalse(){return false}var yn=stubFalse;e=i.hmd(e);var Sn=typeof exports=="object"&&exports&&!exports.nodeType&&exports;var wn=Sn&&"object"=="object"&&e&&!e.nodeType&&e;var vn=wn&&wn.exports===Sn;var zn=vn?k.Buffer:undefined;var jn=zn?zn.isBuffer:undefined;var On=jn||yn;var kn=On;var Cn="[object Arguments]",Tn="[object Array]",Rn="[object Boolean]",En="[object Date]",An="[object Error]",xn="[object Function]",Nn="[object Map]",Vn="[object Number]",Pn="[object Object]",Dn="[object RegExp]",In="[object Set]",_n="[object String]",qn="[object WeakMap]";var Bn="[object ArrayBuffer]",Mn="[object DataView]",Un="[object Float32Array]",Ln="[object Float64Array]",Hn="[object Int8Array]",Qn="[object Int16Array]",Wn="[object Int32Array]",Gn="[object Uint8Array]",Kn="[object Uint8ClampedArray]",Jn="[object Uint16Array]",Fn="[object Uint32Array]";var Yn={};Yn[Un]=Yn[Ln]=Yn[Hn]=Yn[Qn]=Yn[Wn]=Yn[Gn]=Yn[Kn]=Yn[Jn]=Yn[Fn]=true;Yn[Cn]=Yn[Tn]=Yn[Bn]=Yn[Rn]=Yn[Mn]=Yn[En]=Yn[An]=Yn[xn]=Yn[Nn]=Yn[Vn]=Yn[Pn]=Yn[Dn]=Yn[In]=Yn[_n]=Yn[qn]=false;function baseIsTypedArray(e){return M(e)&&an(e.length)&&!!Yn[B(e)]}var Xn=baseIsTypedArray;function baseUnary(e){return function(t){return e(t)}}var Zn=baseUnary;e=i.hmd(e);var $n=typeof exports=="object"&&exports&&!exports.nodeType&&exports;var ea=$n&&"object"=="object"&&e&&!e.nodeType&&e;var ta=ea&&ea.exports===$n;var ia=ta&&z.process;var na=function(){try{var e=ea&&ea.require&&ea.require("util").types;if(e){return e}return ia&&ia.binding&&ia.binding("util")}catch(e){}}();var aa=na;var ra=aa&&aa.isTypedArray;var sa=ra?Zn(ra):Xn;var oa=sa;var ua=Object.prototype;var la=ua.hasOwnProperty;function arrayLikeKeys(e,t){var i=K(e),n=!i&&gn(e),a=!i&&!n&&kn(e),r=!i&&!n&&!a&&oa(e),s=i||n||a||r,o=s?cn(e.length,String):[],u=o.length;for(var l in e){if((t||la.call(e,l))&&!(s&&(l=="length"||a&&(l=="offset"||l=="parent")||r&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||pi(l,u)))){o.push(l)}}return o}var ca=arrayLikeKeys;function overArg(e,t){return function(i){return e(t(i))}}var da=overArg;var pa=da(Object.keys,Object);var fa=pa;var ha=Object.prototype;var ma=ha.hasOwnProperty;function baseKeys(e){if(!ln(e)){return fa(e)}var t=[];for(var i in Object(e)){if(ma.call(e,i)&&i!="constructor"){t.push(i)}}return t}var ba=baseKeys;function keys(e){return rn(e)?ca(e):ba(e)}var ga=keys;var ya=Object.prototype;var Sa=ya.hasOwnProperty;var wa=on(function(e,t){if(ln(t)||rn(t)){Zi(t,ga(t),e);return}for(var i in t){if(Sa.call(t,i)){Xi(e,i,t[i])}}});var va=wa;function nativeKeysIn(e){var t=[];if(e!=null){for(var i in Object(e)){t.push(i)}}return t}var za=nativeKeysIn;var ja=Object.prototype;var Oa=ja.hasOwnProperty;function baseKeysIn(e){if(!te(e)){return za(e)}var t=ln(e),i=[];for(var n in e){if(!(n=="constructor"&&(t||!Oa.call(e,n)))){i.push(n)}}return i}var ka=baseKeysIn;function keysIn_keysIn(e){return rn(e)?ca(e,true):ka(e)}var Ca=keysIn_keysIn;var Ta=on(function(e,t){Zi(t,Ca(t),e)});var Ra=Ta;var Ea=on(function(e,t,i,n){Zi(t,Ca(t),e,n)});var Aa=Ea;var xa=on(function(e,t,i,n){Zi(t,ga(t),e,n)});var Na=xa;var Va=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pa=/^\w*$/;function isKey(e,t){if(K(e)){return false}var i=typeof e;if(i=="number"||i=="symbol"||i=="boolean"||e==null||L(e)){return true}return Pa.test(e)||!Va.test(e)||t!=null&&e in Object(t)}var Da=isKey;var Ia=_e(Object,"create");var _a=Ia;function hashClear(){this.__data__=_a?_a(null):{};this.size=0}var qa=hashClear;function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];this.size-=t?1:0;return t}var Ba=hashDelete;var Ma="__lodash_hash_undefined__";var Ua=Object.prototype;var La=Ua.hasOwnProperty;function hashGet(e){var t=this.__data__;if(_a){var i=t[e];return i===Ma?undefined:i}return La.call(t,e)?t[e]:undefined}var Ha=hashGet;var Qa=Object.prototype;var Wa=Qa.hasOwnProperty;function hashHas(e){var t=this.__data__;return _a?t[e]!==undefined:Wa.call(t,e)}var Ga=hashHas;var Ka="__lodash_hash_undefined__";function hashSet(e,t){var i=this.__data__;this.size+=this.has(e)?0:1;i[e]=_a&&t===undefined?Ka:t;return this}var Ja=hashSet;function Hash(e){var t=-1,i=e==null?0:e.length;this.clear();while(++t<i){var n=e[t];this.set(n[0],n[1])}}Hash.prototype.clear=qa;Hash.prototype["delete"]=Ba;Hash.prototype.get=Ha;Hash.prototype.has=Ga;Hash.prototype.set=Ja;var Fa=Hash;function listCacheClear(){this.__data__=[];this.size=0}var Ya=listCacheClear;function assocIndexOf(e,t){var i=e.length;while(i--){if(Ji(e[i][0],t)){return i}}return-1}var Xa=assocIndexOf;var Za=Array.prototype;var $a=Za.splice;function listCacheDelete(e){var t=this.__data__,i=Xa(t,e);if(i<0){return false}var n=t.length-1;if(i==n){t.pop()}else{$a.call(t,i,1)}--this.size;return true}var er=listCacheDelete;function listCacheGet(e){var t=this.__data__,i=Xa(t,e);return i<0?undefined:t[i][1]}var tr=listCacheGet;function listCacheHas(e){return Xa(this.__data__,e)>-1}var ir=listCacheHas;function listCacheSet(e,t){var i=this.__data__,n=Xa(i,e);if(n<0){++this.size;i.push([e,t])}else{i[n][1]=t}return this}var nr=listCacheSet;function ListCache(e){var t=-1,i=e==null?0:e.length;this.clear();while(++t<i){var n=e[t];this.set(n[0],n[1])}}ListCache.prototype.clear=Ya;ListCache.prototype["delete"]=er;ListCache.prototype.get=tr;ListCache.prototype.has=ir;ListCache.prototype.set=nr;var ar=ListCache;var rr=_e(k,"Map");var sr=rr;function mapCacheClear(){this.size=0;this.__data__={hash:new Fa,map:new(sr||ar),string:new Fa}}var or=mapCacheClear;function isKeyable(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var ur=isKeyable;function getMapData(e,t){var i=e.__data__;return ur(t)?i[typeof t=="string"?"string":"hash"]:i.map}var lr=getMapData;function mapCacheDelete(e){var t=lr(this,e)["delete"](e);this.size-=t?1:0;return t}var cr=mapCacheDelete;function mapCacheGet(e){return lr(this,e).get(e)}var dr=mapCacheGet;function mapCacheHas(e){return lr(this,e).has(e)}var pr=mapCacheHas;function mapCacheSet(e,t){var i=lr(this,e),n=i.size;i.set(e,t);this.size+=i.size==n?0:1;return this}var fr=mapCacheSet;function MapCache(e){var t=-1,i=e==null?0:e.length;this.clear();while(++t<i){var n=e[t];this.set(n[0],n[1])}}MapCache.prototype.clear=or;MapCache.prototype["delete"]=cr;MapCache.prototype.get=dr;MapCache.prototype.has=pr;MapCache.prototype.set=fr;var hr=MapCache;var mr="Expected a function";function memoize(e,t){if(typeof e!="function"||t!=null&&typeof t!="function"){throw new TypeError(mr)}var i=function(){var n=arguments,a=t?t.apply(this,n):n[0],r=i.cache;if(r.has(a)){return r.get(a)}var s=e.apply(this,n);i.cache=r.set(a,s)||r;return s};i.cache=new(memoize.Cache||hr);return i}memoize.Cache=hr;var br=memoize;var gr=500;function memoizeCapped(e){var t=br(e,function(e){if(i.size===gr){i.clear()}return e});var i=t.cache;return t}var yr=memoizeCapped;var Sr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var wr=/\\(\\)?/g;var vr=yr(function(e){var t=[];if(e.charCodeAt(0)===46){t.push("")}e.replace(Sr,function(e,i,n,a){t.push(n?a.replace(wr,"$1"):i||e)});return t});var zr=vr;function toString_toString(e){return e==null?"":X(e)}var jr=toString_toString;function castPath(e,t){if(K(e)){return e}return Da(e,t)?[e]:zr(jr(e))}var Or=castPath;var kr=1/0;function toKey(e){if(typeof e=="string"||L(e)){return e}var t=e+"";return t=="0"&&1/e==-kr?"-0":t}var Cr=toKey;function baseGet(e,t){t=Or(t,e);var i=0,n=t.length;while(e!=null&&i<n){e=e[Cr(t[i++])]}return i&&i==n?e:undefined}var Tr=baseGet;function get(e,t,i){var n=e==null?undefined:Tr(e,t);return n===undefined?i:n}var Rr=get;function baseAt(e,t){var i=-1,n=t.length,a=Array(n),r=e==null;while(++i<n){a[i]=r?undefined:Rr(e,t[i])}return a}var Er=baseAt;function arrayPush(e,t){var i=-1,n=t.length,a=e.length;while(++i<n){e[a+i]=t[i]}return e}var Ar=arrayPush;var xr=T?T.isConcatSpreadable:undefined;function isFlattenable(e){return K(e)||gn(e)||!!(xr&&e&&e[xr])}var Nr=isFlattenable;function baseFlatten(e,t,i,n,a){var r=-1,s=e.length;i||(i=Nr);a||(a=[]);while(++r<s){var o=e[r];if(t>0&&i(o)){if(t>1){baseFlatten(o,t-1,i,n,a)}else{Ar(a,o)}}else if(!n){a[a.length]=o}}return a}var Vr=baseFlatten;function flatten(e){var t=e==null?0:e.length;return t?Vr(e,1):[]}var Pr=flatten;function flatRest(e){return _t(en(e,undefined,Pr),e+"")}var Dr=flatRest;var Ir=Dr(Er);var _r=Ir;var qr=da(Object.getPrototypeOf,Object);var Br=qr;var Mr="[object Object]";var Ur=Function.prototype,Lr=Object.prototype;var Hr=Ur.toString;var Qr=Lr.hasOwnProperty;var Wr=Hr.call(Object);function isPlainObject(e){if(!M(e)||B(e)!=Mr){return false}var t=Br(e);if(t===null){return true}var i=Qr.call(t,"constructor")&&t.constructor;return typeof i=="function"&&i instanceof i&&Hr.call(i)==Wr}var Gr=isPlainObject;var Kr="[object DOMException]",Jr="[object Error]";function isError(e){if(!M(e)){return false}var t=B(e);return t==Jr||t==Kr||typeof e.message=="string"&&typeof e.name=="string"&&!Gr(e)}var Fr=isError;var Yr=tn(function(e,t){try{return Ye(e,undefined,t)}catch(e){return Fr(e)?e:new Error(e)}});var Xr=Yr;var Zr="Expected a function";function before(e,t){var i;if(typeof t!="function"){throw new TypeError(Zr)}e=pe(e);return function(){if(--e>0){i=t.apply(this,arguments)}if(e<=1){t=undefined}return i}}var $r=before;var es=1,ts=32;var is=tn(function(e,t,i){var n=es;if(i.length){var a=bi(i,li(is));n|=ts}return Qi(e,n,t,i,a)});is.placeholder={};var ns=is;var as=Dr(function(e,t){qt(t,function(t){t=Cr(t);Ki(e,t,ns(e[t],e))});return e});var rs=as;var ss=1,os=2,us=32;var ls=tn(function(e,t,i){var n=ss|os;if(i.length){var a=bi(i,li(ls));n|=us}return Qi(t,n,e,i,a)});ls.placeholder={};var cs=ls;function baseSlice(e,t,i){var n=-1,a=e.length;if(t<0){t=-t>a?0:a+t}i=i>a?a:i;if(i<0){i+=a}a=t>i?0:i-t>>>0;t>>>=0;var r=Array(a);while(++n<a){r[n]=e[n+t]}return r}var ds=baseSlice;function castSlice(e,t,i){var n=e.length;i=i===undefined?n:i;return!t&&i>=n?e:ds(e,t,i)}var ps=castSlice;var fs="\\ud800-\\udfff",hs="\\u0300-\\u036f",ms="\\ufe20-\\ufe2f",bs="\\u20d0-\\u20ff",gs=hs+ms+bs,ys="\\ufe0e\\ufe0f";var Ss="\\u200d";var ws=RegExp("["+Ss+fs+gs+ys+"]");function hasUnicode(e){return ws.test(e)}var vs=hasUnicode;function asciiToArray(e){return e.split("")}var zs=asciiToArray;var js="\\ud800-\\udfff",Os="\\u0300-\\u036f",ks="\\ufe20-\\ufe2f",Cs="\\u20d0-\\u20ff",Ts=Os+ks+Cs,Rs="\\ufe0e\\ufe0f";var Es="["+js+"]",As="["+Ts+"]",xs="\\ud83c[\\udffb-\\udfff]",Ns="(?:"+As+"|"+xs+")",Vs="[^"+js+"]",Ps="(?:\\ud83c[\\udde6-\\uddff]){2}",Ds="[\\ud800-\\udbff][\\udc00-\\udfff]",Is="\\u200d";var _s=Ns+"?",qs="["+Rs+"]?",Bs="(?:"+Is+"(?:"+[Vs,Ps,Ds].join("|")+")"+qs+_s+")*",Ms=qs+_s+Bs,Us="(?:"+[Vs+As+"?",As,Ps,Ds,Es].join("|")+")";var Ls=RegExp(xs+"(?="+xs+")|"+Us+Ms,"g");function unicodeToArray(e){return e.match(Ls)||[]}var Hs=unicodeToArray;function stringToArray(e){return vs(e)?Hs(e):zs(e)}var Qs=stringToArray;function createCaseFirst(e){return function(t){t=jr(t);var i=vs(t)?Qs(t):undefined;var n=i?i[0]:t.charAt(0);var a=i?ps(i,1).join(""):t.slice(1);return n[e]()+a}}var Ws=createCaseFirst;var Gs=Ws("toUpperCase");var Ks=Gs;function capitalize(e){return Ks(jr(e).toLowerCase())}var Js=capitalize;function arrayReduce(e,t,i,n){var a=-1,r=e==null?0:e.length;if(n&&r){i=e[++a]}while(++a<r){i=t(i,e[a],a,e)}return i}var Fs=arrayReduce;function basePropertyOf(e){return function(t){return e==null?undefined:e[t]}}var Ys=basePropertyOf;var Xs={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"};var Zs=Ys(Xs);var $s=Zs;var eo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var to="\\u0300-\\u036f",io="\\ufe20-\\ufe2f",no="\\u20d0-\\u20ff",ao=to+io+no;var ro="["+ao+"]";var so=RegExp(ro,"g");function deburr(e){e=jr(e);return e&&e.replace(eo,$s).replace(so,"")}var oo=deburr;var uo=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function asciiWords(e){return e.match(uo)||[]}var lo=asciiWords;var co=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function hasUnicodeWord(e){return co.test(e)}var po=hasUnicodeWord;var fo="\\ud800-\\udfff",ho="\\u0300-\\u036f",mo="\\ufe20-\\ufe2f",bo="\\u20d0-\\u20ff",go=ho+mo+bo,yo="\\u2700-\\u27bf",So="a-z\\xdf-\\xf6\\xf8-\\xff",wo="\\xac\\xb1\\xd7\\xf7",vo="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",zo="\\u2000-\\u206f",jo=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Oo="A-Z\\xc0-\\xd6\\xd8-\\xde",ko="\\ufe0e\\ufe0f",Co=wo+vo+zo+jo;var To="[']",Ro="["+Co+"]",Eo="["+go+"]",Ao="\\d+",xo="["+yo+"]",No="["+So+"]",Vo="[^"+fo+Co+Ao+yo+So+Oo+"]",Po="\\ud83c[\\udffb-\\udfff]",Do="(?:"+Eo+"|"+Po+")",Io="[^"+fo+"]",_o="(?:\\ud83c[\\udde6-\\uddff]){2}",qo="[\\ud800-\\udbff][\\udc00-\\udfff]",Bo="["+Oo+"]",Mo="\\u200d";var Uo="(?:"+No+"|"+Vo+")",Lo="(?:"+Bo+"|"+Vo+")",Ho="(?:"+To+"(?:d|ll|m|re|s|t|ve))?",Qo="(?:"+To+"(?:D|LL|M|RE|S|T|VE))?",Wo=Do+"?",Go="["+ko+"]?",Ko="(?:"+Mo+"(?:"+[Io,_o,qo].join("|")+")"+Go+Wo+")*",Jo="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Fo="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Yo=Go+Wo+Ko,Xo="(?:"+[xo,_o,qo].join("|")+")"+Yo;var Zo=RegExp([Bo+"?"+No+"+"+Ho+"(?="+[Ro,Bo,"$"].join("|")+")",Lo+"+"+Qo+"(?="+[Ro,Bo+Uo,"$"].join("|")+")",Bo+"?"+Uo+"+"+Ho,Bo+"+"+Qo,Fo,Jo,Ao,Xo].join("|"),"g");function unicodeWords(e){return e.match(Zo)||[]}var $o=unicodeWords;function words(e,t,i){e=jr(e);t=i?undefined:t;if(t===undefined){return po(e)?$o(e):lo(e)}return e.match(t)||[]}var eu=words;var tu="[']";var iu=RegExp(tu,"g");function createCompounder(e){return function(t){return Fs(eu(oo(t).replace(iu,"")),e,"")}}var nu=createCompounder;var au=nu(function(e,t,i){t=t.toLowerCase();return e+(i?Js(t):t)});var ru=au;function castArray(){if(!arguments.length){return[]}var e=arguments[0];return K(e)?e:[e]}var su=castArray;var ou=k.isFinite,uu=Math.min;function createRound(e){var t=Math[e];return function(e,i){e=ue(e);i=i==null?0:uu(pe(i),292);if(i&&ou(e)){var n=(jr(e)+"e").split("e"),a=t(n[0]+"e"+(+n[1]+i));n=(jr(a)+"e").split("e");return+(n[0]+"e"+(+n[1]-i))}return t(e)}}var lu=createRound;var cu=lu("ceil");var du=cu;function chain_chain(e){var t=yt(e);t.__chain__=true;return t}var pu=chain_chain;var fu=Math.ceil,hu=Math.max;function chunk(e,t,i){if(i?sn(e,t,i):t===undefined){t=1}else{t=hu(pe(t),0)}var n=e==null?0:e.length;if(!n||t<1){return[]}var a=0,r=0,s=Array(fu(n/t));while(a<n){s[r++]=ds(e,a,a+=t)}return s}var mu=chunk;function baseClamp(e,t,i){if(e===e){if(i!==undefined){e=e<=i?e:i}if(t!==undefined){e=e>=t?e:t}}return e}var bu=baseClamp;function clamp(e,t,i){if(i===undefined){i=t;t=undefined}if(i!==undefined){i=ue(i);i=i===i?i:0}if(t!==undefined){t=ue(t);t=t===t?t:0}return bu(ue(e),t,i)}var gu=clamp;function stackClear(){this.__data__=new ar;this.size=0}var yu=stackClear;function stackDelete(e){var t=this.__data__,i=t["delete"](e);this.size=t.size;return i}var Su=stackDelete;function stackGet(e){return this.__data__.get(e)}var wu=stackGet;function stackHas(e){return this.__data__.has(e)}var vu=stackHas;var zu=200;function stackSet(e,t){var i=this.__data__;if(i instanceof ar){var n=i.__data__;if(!sr||n.length<zu-1){n.push([e,t]);this.size=++i.size;return this}i=this.__data__=new hr(n)}i.set(e,t);this.size=i.size;return this}var ju=stackSet;function Stack(e){var t=this.__data__=new ar(e);this.size=t.size}Stack.prototype.clear=yu;Stack.prototype["delete"]=Su;Stack.prototype.get=wu;Stack.prototype.has=vu;Stack.prototype.set=ju;var Ou=Stack;function baseAssign(e,t){return e&&Zi(t,ga(t),e)}var ku=baseAssign;function baseAssignIn(e,t){return e&&Zi(t,Ca(t),e)}var Cu=baseAssignIn;e=i.hmd(e);var Tu=typeof exports=="object"&&exports&&!exports.nodeType&&exports;var Ru=Tu&&"object"=="object"&&e&&!e.nodeType&&e;var Eu=Ru&&Ru.exports===Tu;var Au=Eu?k.Buffer:undefined,xu=Au?Au.allocUnsafe:undefined;function cloneBuffer(e,t){if(t){return e.slice()}var i=e.length,n=xu?xu(i):new e.constructor(i);e.copy(n);return n}var Nu=cloneBuffer;function arrayFilter(e,t){var i=-1,n=e==null?0:e.length,a=0,r=[];while(++i<n){var s=e[i];if(t(s,i,e)){r[a++]=s}}return r}var Vu=arrayFilter;function stubArray(){return[]}var Pu=stubArray;var Du=Object.prototype;var Iu=Du.propertyIsEnumerable;var _u=Object.getOwnPropertySymbols;var qu=!_u?Pu:function(e){if(e==null){return[]}e=Object(e);return Vu(_u(e),function(t){return Iu.call(e,t)})};var Bu=qu;function copySymbols(e,t){return Zi(e,Bu(e),t)}var Mu=copySymbols;var Uu=Object.getOwnPropertySymbols;var Lu=!Uu?Pu:function(e){var t=[];while(e){Ar(t,Bu(e));e=Br(e)}return t};var Hu=Lu;function copySymbolsIn(e,t){return Zi(e,Hu(e),t)}var Qu=copySymbolsIn;function baseGetAllKeys(e,t,i){var n=t(e);return K(e)?n:Ar(n,i(e))}var Wu=baseGetAllKeys;function getAllKeys(e){return Wu(e,ga,Bu)}var Gu=getAllKeys;function getAllKeysIn(e){return Wu(e,Ca,Hu)}var Ku=getAllKeysIn;var Ju=_e(k,"DataView");var Fu=Ju;var Yu=_e(k,"Promise");var Xu=Yu;var Zu=_e(k,"Set");var $u=Zu;var el="[object Map]",tl="[object Object]",il="[object Promise]",nl="[object Set]",al="[object WeakMap]";var rl="[object DataView]";var sl=Te(Fu),ol=Te(sr),ul=Te(Xu),ll=Te($u),cl=Te(Be);var dl=B;if(Fu&&dl(new Fu(new ArrayBuffer(1)))!=rl||sr&&dl(new sr)!=el||Xu&&dl(Xu.resolve())!=il||$u&&dl(new $u)!=nl||Be&&dl(new Be)!=al){dl=function(e){var t=B(e),i=t==tl?e.constructor:undefined,n=i?Te(i):"";if(n){switch(n){case sl:return rl;case ol:return el;case ul:return il;case ll:return nl;case cl:return al}}return t}}var pl=dl;var fl=Object.prototype;var hl=fl.hasOwnProperty;function initCloneArray(e){var t=e.length,i=new e.constructor(t);if(t&&typeof e[0]=="string"&&hl.call(e,"index")){i.index=e.index;i.input=e.input}return i}var ml=initCloneArray;var bl=k.Uint8Array;var gl=bl;function cloneArrayBuffer(e){var t=new e.constructor(e.byteLength);new gl(t).set(new gl(e));return t}var yl=cloneArrayBuffer;function cloneDataView(e,t){var i=t?yl(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)}var Sl=cloneDataView;var wl=/\w*$/;function cloneRegExp(e){var t=new e.constructor(e.source,wl.exec(e));t.lastIndex=e.lastIndex;return t}var vl=cloneRegExp;var zl=T?T.prototype:undefined,jl=zl?zl.valueOf:undefined;function cloneSymbol(e){return jl?Object(jl.call(e)):{}}var Ol=cloneSymbol;function cloneTypedArray(e,t){var i=t?yl(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}var kl=cloneTypedArray;var Cl="[object Boolean]",Tl="[object Date]",Rl="[object Map]",El="[object Number]",Al="[object RegExp]",xl="[object Set]",Nl="[object String]",Vl="[object Symbol]";var Pl="[object ArrayBuffer]",Dl="[object DataView]",Il="[object Float32Array]",_l="[object Float64Array]",ql="[object Int8Array]",Bl="[object Int16Array]",Ml="[object Int32Array]",Ul="[object Uint8Array]",Ll="[object Uint8ClampedArray]",Hl="[object Uint16Array]",Ql="[object Uint32Array]";function initCloneByTag(e,t,i){var n=e.constructor;switch(t){case Pl:return yl(e);case Cl:case Tl:return new n(+e);case Dl:return Sl(e,i);case Il:case _l:case ql:case Bl:case Ml:case Ul:case Ll:case Hl:case Ql:return kl(e,i);case Rl:return new n;case El:case Nl:return new n(e);case Al:return vl(e);case xl:return new n;case Vl:return Ol(e)}}var Wl=initCloneByTag;function initCloneObject(e){return typeof e.constructor=="function"&&!ln(e)?Ge(Br(e)):{}}var Gl=initCloneObject;var Kl="[object Map]";function baseIsMap(e){return M(e)&&pl(e)==Kl}var Jl=baseIsMap;var Fl=aa&&aa.isMap;var Yl=Fl?Zn(Fl):Jl;var Xl=Yl;var Zl="[object Set]";function baseIsSet(e){return M(e)&&pl(e)==Zl}var $l=baseIsSet;var ec=aa&&aa.isSet;var tc=ec?Zn(ec):$l;var ic=tc;var nc=1,ac=2,rc=4;var sc="[object Arguments]",oc="[object Array]",uc="[object Boolean]",lc="[object Date]",cc="[object Error]",dc="[object Function]",pc="[object GeneratorFunction]",fc="[object Map]",hc="[object Number]",mc="[object Object]",bc="[object RegExp]",gc="[object Set]",yc="[object String]",Sc="[object Symbol]",wc="[object WeakMap]";var vc="[object ArrayBuffer]",zc="[object DataView]",jc="[object Float32Array]",Oc="[object Float64Array]",kc="[object Int8Array]",Cc="[object Int16Array]",Tc="[object Int32Array]",Rc="[object Uint8Array]",Ec="[object Uint8ClampedArray]",Ac="[object Uint16Array]",xc="[object Uint32Array]";var Nc={};Nc[sc]=Nc[oc]=Nc[vc]=Nc[zc]=Nc[uc]=Nc[lc]=Nc[jc]=Nc[Oc]=Nc[kc]=Nc[Cc]=Nc[Tc]=Nc[fc]=Nc[hc]=Nc[mc]=Nc[bc]=Nc[gc]=Nc[yc]=Nc[Sc]=Nc[Rc]=Nc[Ec]=Nc[Ac]=Nc[xc]=true;Nc[cc]=Nc[dc]=Nc[wc]=false;function baseClone(e,t,i,n,a,r){var s,o=t&nc,u=t&ac,l=t&rc;if(i){s=a?i(e,n,a,r):i(e)}if(s!==undefined){return s}if(!te(e)){return e}var c=K(e);if(c){s=ml(e);if(!o){return ht(e,s)}}else{var d=pl(e),p=d==dc||d==pc;if(kn(e)){return Nu(e,o)}if(d==mc||d==sc||p&&!a){s=u||p?{}:Gl(e);if(!o){return u?Qu(e,Cu(s,e)):Mu(e,ku(s,e))}}else{if(!Nc[d]){return a?e:{}}s=Wl(e,d,o)}}r||(r=new Ou);var f=r.get(e);if(f){return f}r.set(e,s);if(ic(e)){e.forEach(function(n){s.add(baseClone(n,t,i,n,e,r))})}else if(Xl(e)){e.forEach(function(n,a){s.set(a,baseClone(n,t,i,a,e,r))})}var h=l?u?Ku:Gu:u?keysIn:ga;var m=c?undefined:h(e);qt(m||e,function(n,a){if(m){a=n;n=e[a]}Xi(s,a,baseClone(n,t,i,a,e,r))});return s}var Vc=baseClone;var Pc=4;function clone_clone(e){return Vc(e,Pc)}var Dc=clone_clone;var Ic=1,_c=4;function cloneDeep(e){return Vc(e,Ic|_c)}var qc=cloneDeep;var Bc=1,Mc=4;function cloneDeepWith(e,t){t=typeof t=="function"?t:undefined;return Vc(e,Bc|Mc,t)}var Uc=cloneDeepWith;var Lc=4;function cloneWith(e,t){t=typeof t=="function"?t:undefined;return Vc(e,Lc,t)}var Hc=cloneWith;function wrapperCommit(){return new ft(this.value(),this.__chain__)}var Qc=wrapperCommit;function compact(e){var t=-1,i=e==null?0:e.length,n=0,a=[];while(++t<i){var r=e[t];if(r){a[n++]=r}}return a}var Wc=compact;function concat(){var e=arguments.length;if(!e){return[]}var t=Array(e-1),i=arguments[0],n=e;while(n--){t[n-1]=arguments[n]}return Ar(K(i)?ht(i):[i],Vr(t,1))}var Gc=concat;var Kc="__lodash_hash_undefined__";function setCacheAdd(e){this.__data__.set(e,Kc);return this}var Jc=setCacheAdd;function setCacheHas(e){return this.__data__.has(e)}var Fc=setCacheHas;function SetCache(e){var t=-1,i=e==null?0:e.length;this.__data__=new hr;while(++t<i){this.add(e[t])}}SetCache.prototype.add=SetCache.prototype.push=Jc;SetCache.prototype.has=Fc;var Yc=SetCache;function arraySome(e,t){var i=-1,n=e==null?0:e.length;while(++i<n){if(t(e[i],i,e)){return true}}return false}var Xc=arraySome;function cacheHas(e,t){return e.has(t)}var Zc=cacheHas;var $c=1,ed=2;function equalArrays(e,t,i,n,a,r){var s=i&$c,o=e.length,u=t.length;if(o!=u&&!(s&&u>o)){return false}var l=r.get(e);if(l&&r.get(t)){return l==t}var c=-1,d=true,p=i&ed?new Yc:undefined;r.set(e,t);r.set(t,e);while(++c<o){var f=e[c],h=t[c];if(n){var m=s?n(h,f,c,t,e,r):n(f,h,c,e,t,r)}if(m!==undefined){if(m){continue}d=false;break}if(p){if(!Xc(t,function(e,t){if(!Zc(p,t)&&(f===e||a(f,e,i,n,r))){return p.push(t)}})){d=false;break}}else if(!(f===h||a(f,h,i,n,r))){d=false;break}}r["delete"](e);r["delete"](t);return d}var td=equalArrays;function mapToArray(e){var t=-1,i=Array(e.size);e.forEach(function(e,n){i[++t]=[n,e]});return i}var id=mapToArray;function setToArray(e){var t=-1,i=Array(e.size);e.forEach(function(e){i[++t]=e});return i}var nd=setToArray;var ad=1,rd=2;var sd="[object Boolean]",od="[object Date]",ud="[object Error]",ld="[object Map]",cd="[object Number]",dd="[object RegExp]",pd="[object Set]",fd="[object String]",hd="[object Symbol]";var md="[object ArrayBuffer]",bd="[object DataView]";var gd=T?T.prototype:undefined,yd=gd?gd.valueOf:undefined;function equalByTag(e,t,i,n,a,r,s){switch(i){case bd:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset){return false}e=e.buffer;t=t.buffer;case md:if(e.byteLength!=t.byteLength||!r(new gl(e),new gl(t))){return false}return true;case sd:case od:case cd:return Ji(+e,+t);case ud:return e.name==t.name&&e.message==t.message;case dd:case fd:return e==t+"";case ld:var o=id;case pd:var u=n&ad;o||(o=nd);if(e.size!=t.size&&!u){return false}var l=s.get(e);if(l){return l==t}n|=rd;s.set(e,t);var c=td(o(e),o(t),n,a,r,s);s["delete"](e);return c;case hd:if(yd){return yd.call(e)==yd.call(t)}}return false}var Sd=equalByTag;var wd=1;var vd=Object.prototype;var zd=vd.hasOwnProperty;function equalObjects(e,t,i,n,a,r){var s=i&wd,o=Gu(e),u=o.length,l=Gu(t),c=l.length;if(u!=c&&!s){return false}var d=u;while(d--){var p=o[d];if(!(s?p in t:zd.call(t,p))){return false}}var f=r.get(e);if(f&&r.get(t)){return f==t}var h=true;r.set(e,t);r.set(t,e);var m=s;while(++d<u){p=o[d];var b=e[p],g=t[p];if(n){var y=s?n(g,b,p,t,e,r):n(b,g,p,e,t,r)}if(!(y===undefined?b===g||a(b,g,i,n,r):y)){h=false;break}m||(m=p=="constructor")}if(h&&!m){var S=e.constructor,w=t.constructor;if(S!=w&&("constructor"in e&&"constructor"in t)&&!(typeof S=="function"&&S instanceof S&&typeof w=="function"&&w instanceof w)){h=false}}r["delete"](e);r["delete"](t);return h}var jd=equalObjects;var Od=1;var kd="[object Arguments]",Cd="[object Array]",Td="[object Object]";var Rd=Object.prototype;var Ed=Rd.hasOwnProperty;function baseIsEqualDeep(e,t,i,n,a,r){var s=K(e),o=K(t),u=s?Cd:pl(e),l=o?Cd:pl(t);u=u==kd?Td:u;l=l==kd?Td:l;var c=u==Td,d=l==Td,p=u==l;if(p&&kn(e)){if(!kn(t)){return false}s=true;c=false}if(p&&!c){r||(r=new Ou);return s||oa(e)?td(e,t,i,n,a,r):Sd(e,t,u,i,n,a,r)}if(!(i&Od)){var f=c&&Ed.call(e,"__wrapped__"),h=d&&Ed.call(t,"__wrapped__");if(f||h){var m=f?e.value():e,b=h?t.value():t;r||(r=new Ou);return a(m,b,i,n,r)}}if(!p){return false}r||(r=new Ou);return jd(e,t,i,n,a,r)}var Ad=baseIsEqualDeep;function baseIsEqual(e,t,i,n,a){if(e===t){return true}if(e==null||t==null||!M(e)&&!M(t)){return e!==e&&t!==t}return Ad(e,t,i,n,baseIsEqual,a)}var xd=baseIsEqual;var Nd=1,Vd=2;function baseIsMatch(e,t,i,n){var a=i.length,r=a,s=!n;if(e==null){return!r}e=Object(e);while(a--){var o=i[a];if(s&&o[2]?o[1]!==e[o[0]]:!(o[0]in e)){return false}}while(++a<r){o=i[a];var u=o[0],l=e[u],c=o[1];if(s&&o[2]){if(l===undefined&&!(u in e)){return false}}else{var d=new Ou;if(n){var p=n(l,c,u,e,t,d)}if(!(p===undefined?xd(c,l,Nd|Vd,n,d):p)){return false}}}return true}var Pd=baseIsMatch;function isStrictComparable(e){return e===e&&!te(e)}var Dd=isStrictComparable;function getMatchData(e){var t=ga(e),i=t.length;while(i--){var n=t[i],a=e[n];t[i]=[n,a,Dd(a)]}return t}var Id=getMatchData;function matchesStrictComparable(e,t){return function(i){if(i==null){return false}return i[e]===t&&(t!==undefined||e in Object(i))}}var _d=matchesStrictComparable;function baseMatches(e){var t=Id(e);if(t.length==1&&t[0][2]){return _d(t[0][0],t[0][1])}return function(i){return i===e||Pd(i,e,t)}}var qd=baseMatches;function baseHasIn(e,t){return e!=null&&t in Object(e)}var Bd=baseHasIn;function hasPath(e,t,i){t=Or(t,e);var n=-1,a=t.length,r=false;while(++n<a){var s=Cr(t[n]);if(!(r=e!=null&&i(e,s))){break}e=e[s]}if(r||++n!=a){return r}a=e==null?0:e.length;return!!a&&an(a)&&pi(s,a)&&(K(e)||gn(e))}var Md=hasPath;function hasIn(e,t){return e!=null&&Md(e,t,Bd)}var Ud=hasIn;var Ld=1,Hd=2;function baseMatchesProperty(e,t){if(Da(e)&&Dd(t)){return _d(Cr(e),t)}return function(i){var n=Rr(i,e);return n===undefined&&n===t?Ud(i,e):xd(t,n,Ld|Hd)}}var Qd=baseMatchesProperty;function baseProperty(e){return function(t){return t==null?undefined:t[e]}}var Wd=baseProperty;function basePropertyDeep(e){return function(t){return Tr(t,e)}}var Gd=basePropertyDeep;function property(e){return Da(e)?Wd(Cr(e)):Gd(e)}var Kd=property;function baseIteratee(e){if(typeof e=="function"){return e}if(e==null){return me}if(typeof e=="object"){return K(e)?Qd(e[0],e[1]):qd(e)}return Kd(e)}var Jd=baseIteratee;var Fd="Expected a function";function cond(e){var t=e==null?0:e.length,i=Jd;e=!t?[]:W(e,function(e){if(typeof e[1]!="function"){throw new TypeError(Fd)}return[i(e[0]),e[1]]});return tn(function(i){var n=-1;while(++n<t){var a=e[n];if(Ye(a[0],this,i)){return Ye(a[1],this,i)}}})}var Yd=cond;function baseConformsTo(e,t,i){var n=i.length;if(e==null){return!n}e=Object(e);while(n--){var a=i[n],r=t[a],s=e[a];if(s===undefined&&!(a in e)||!r(s)){return false}}return true}var Xd=baseConformsTo;function baseConforms(e){var t=ga(e);return function(i){return Xd(i,e,t)}}var Zd=baseConforms;var $d=1;function conforms(e){return Zd(Vc(e,$d))}var ep=conforms;function conformsTo(e,t){return t==null||Xd(e,t,ga(t))}var tp=conformsTo;function arrayAggregator(e,t,i,n){var a=-1,r=e==null?0:e.length;while(++a<r){var s=e[a];t(n,s,i(s),e)}return n}var ip=arrayAggregator;function createBaseFor(e){return function(t,i,n){var a=-1,r=Object(t),s=n(t),o=s.length;while(o--){var u=s[e?o:++a];if(i(r[u],u,r)===false){break}}return t}}var np=createBaseFor;var ap=np();var rp=ap;function baseForOwn(e,t){return e&&rp(e,t,ga)}var sp=baseForOwn;function createBaseEach(e,t){return function(i,n){if(i==null){return i}if(!rn(i)){return e(i,n)}var a=i.length,r=t?a:-1,s=Object(i);while(t?r--:++r<a){if(n(s[r],r,s)===false){break}}return i}}var op=createBaseEach;var up=op(sp);var lp=up;function baseAggregator(e,t,i,n){lp(e,function(e,a,r){t(n,e,i(e),r)});return n}var cp=baseAggregator;function createAggregator(e,t){return function(i,n){var a=K(i)?ip:cp,r=t?t():{};return a(i,e,Jd(n,2),r)}}var dp=createAggregator;var pp=Object.prototype;var fp=pp.hasOwnProperty;var hp=dp(function(e,t,i){if(fp.call(e,i)){++e[i]}else{Ki(e,i,1)}});var mp=hp;function create(e,t){var i=Ge(e);return t==null?i:ku(i,t)}var bp=create;var gp=8;function curry(e,t,i){t=i?undefined:t;var n=Qi(e,gp,undefined,undefined,undefined,undefined,undefined,t);n.placeholder=curry.placeholder;return n}curry.placeholder={};var yp=curry;var Sp=16;function curryRight(e,t,i){t=i?undefined:t;var n=Qi(e,Sp,undefined,undefined,undefined,undefined,undefined,t);n.placeholder=curryRight.placeholder;return n}curryRight.placeholder={};var wp=curryRight;var vp=function(){return k.Date.now()};var zp=vp;var jp="Expected a function";var Op=Math.max,kp=Math.min;function debounce(e,t,i){var n,a,r,s,o,u,l=0,c=false,d=false,p=true;if(typeof e!="function"){throw new TypeError(jp)}t=ue(t)||0;if(te(i)){c=!!i.leading;d="maxWait"in i;r=d?Op(ue(i.maxWait)||0,t):r;p="trailing"in i?!!i.trailing:p}function invokeFunc(t){var i=n,r=a;n=a=undefined;l=t;s=e.apply(r,i);return s}function leadingEdge(e){l=e;o=setTimeout(timerExpired,t);return c?invokeFunc(e):s}function remainingWait(e){var i=e-u,n=e-l,a=t-i;return d?kp(a,r-n):a}function shouldInvoke(e){var i=e-u,n=e-l;return u===undefined||i>=t||i<0||d&&n>=r}function timerExpired(){var e=zp();if(shouldInvoke(e)){return trailingEdge(e)}o=setTimeout(timerExpired,remainingWait(e))}function trailingEdge(e){o=undefined;if(p&&n){return invokeFunc(e)}n=a=undefined;return s}function cancel(){if(o!==undefined){clearTimeout(o)}l=0;n=u=a=o=undefined}function flush(){return o===undefined?s:trailingEdge(zp())}function debounced(){var e=zp(),i=shouldInvoke(e);n=arguments;a=this;u=e;if(i){if(o===undefined){return leadingEdge(u)}if(d){clearTimeout(o);o=setTimeout(timerExpired,t);return invokeFunc(u)}}if(o===undefined){o=setTimeout(timerExpired,t)}return s}debounced.cancel=cancel;debounced.flush=flush;return debounced}var Cp=debounce;function defaultTo(e,t){return e==null||e!==e?t:e}var Tp=defaultTo;var Rp=Object.prototype;var Ep=Rp.hasOwnProperty;var Ap=tn(function(e,t){e=Object(e);var i=-1;var n=t.length;var a=n>2?t[2]:undefined;if(a&&sn(t[0],t[1],a)){n=1}while(++i<n){var r=t[i];var s=Ca(r);var o=-1;var u=s.length;while(++o<u){var l=s[o];var c=e[l];if(c===undefined||Ji(c,Rp[l])&&!Ep.call(e,l)){e[l]=r[l]}}}return e});var xp=Ap;function assignMergeValue(e,t,i){if(i!==undefined&&!Ji(e[t],i)||i===undefined&&!(t in e)){Ki(e,t,i)}}var Np=assignMergeValue;function isArrayLikeObject(e){return M(e)&&rn(e)}var Vp=isArrayLikeObject;function safeGet(e,t){if(t==="constructor"&&typeof e[t]==="function"){return}if(t=="__proto__"){return}return e[t]}var Pp=safeGet;function toPlainObject(e){return Zi(e,Ca(e))}var Dp=toPlainObject;function baseMergeDeep(e,t,i,n,a,r,s){var o=Pp(e,i),u=Pp(t,i),l=s.get(u);if(l){Np(e,i,l);return}var c=r?r(o,u,i+"",e,t,s):undefined;var d=c===undefined;if(d){var p=K(u),f=!p&&kn(u),h=!p&&!f&&oa(u);c=u;if(p||f||h){if(K(o)){c=o}else if(Vp(o)){c=ht(o)}else if(f){d=false;c=Nu(u,true)}else if(h){d=false;c=kl(u,true)}else{c=[]}}else if(Gr(u)||gn(u)){c=o;if(gn(o)){c=Dp(o)}else if(!te(o)||we(o)){c=Gl(u)}}else{d=false}}if(d){s.set(u,c);a(c,u,n,r,s);s["delete"](u)}Np(e,i,c)}var Ip=baseMergeDeep;function baseMerge(e,t,i,n,a){if(e===t){return}rp(t,function(r,s){a||(a=new Ou);if(te(r)){Ip(e,t,s,i,baseMerge,n,a)}else{var o=n?n(Pp(e,s),r,s+"",e,t,a):undefined;if(o===undefined){o=r}Np(e,s,o)}},Ca)}var _p=baseMerge;function customDefaultsMerge(e,t,i,n,a,r){if(te(e)&&te(t)){r.set(t,e);_p(e,t,undefined,customDefaultsMerge,r);r["delete"](t)}return e}var qp=customDefaultsMerge;var Bp=on(function(e,t,i,n){_p(e,t,i,n)});var Mp=Bp;var Up=tn(function(e){e.push(undefined,qp);return Ye(Mp,undefined,e)});var Lp=Up;var Hp="Expected a function";function baseDelay(e,t,i){if(typeof e!="function"){throw new TypeError(Hp)}return setTimeout(function(){e.apply(undefined,i)},t)}var Qp=baseDelay;var Wp=tn(function(e,t){return Qp(e,1,t)});var Gp=Wp;var Kp=tn(function(e,t,i){return Qp(e,ue(t)||0,i)});var Jp=Kp;function arrayIncludesWith(e,t,i){var n=-1,a=e==null?0:e.length;while(++n<a){if(i(t,e[n])){return true}}return false}var Fp=arrayIncludesWith;var Yp=200;function baseDifference(e,t,i,n){var a=-1,r=Ht,s=true,o=e.length,u=[],l=t.length;if(!o){return u}if(i){t=W(t,Zn(i))}if(n){r=Fp;s=false}else if(t.length>=Yp){r=Zc;s=false;t=new Yc(t)}e:while(++a<o){var c=e[a],d=i==null?c:i(c);c=n||c!==0?c:0;if(s&&d===d){var p=l;while(p--){if(t[p]===d){continue e}}u.push(c)}else if(!r(t,d,n)){u.push(c)}}return u}var Xp=baseDifference;var Zp=tn(function(e,t){return Vp(e)?Xp(e,Vr(t,1,Vp,true)):[]});var $p=Zp;function last(e){var t=e==null?0:e.length;return t?e[t-1]:undefined}var ef=last;var tf=tn(function(e,t){var i=ef(t);if(Vp(i)){i=undefined}return Vp(e)?Xp(e,Vr(t,1,Vp,true),Jd(i,2)):[]});var nf=tf;var af=tn(function(e,t){var i=ef(t);if(Vp(i)){i=undefined}return Vp(e)?Xp(e,Vr(t,1,Vp,true),undefined,i):[]});var rf=af;var sf=Z(function(e,t){return e/t},1);var of=sf;function drop(e,t,i){var n=e==null?0:e.length;if(!n){return[]}t=i||t===undefined?1:pe(t);return ds(e,t<0?0:t,n)}var uf=drop;function dropRight(e,t,i){var n=e==null?0:e.length;if(!n){return[]}t=i||t===undefined?1:pe(t);t=n-t;return ds(e,0,t<0?0:t)}var lf=dropRight;function baseWhile(e,t,i,n){var a=e.length,r=n?a:-1;while((n?r--:++r<a)&&t(e[r],r,e)){}return i?ds(e,n?0:r,n?r+1:a):ds(e,n?r+1:0,n?a:r)}var cf=baseWhile;function dropRightWhile(e,t){return e&&e.length?cf(e,Jd(t,3),true,true):[]}var df=dropRightWhile;function dropWhile(e,t){return e&&e.length?cf(e,Jd(t,3),true):[]}var pf=dropWhile;function castFunction(e){return typeof e=="function"?e:me}var ff=castFunction;function forEach(e,t){var i=K(e)?qt:lp;return i(e,ff(t))}var hf=forEach;function arrayEachRight(e,t){var i=e==null?0:e.length;while(i--){if(t(e[i],i,e)===false){break}}return e}var mf=arrayEachRight;var bf=np(true);var gf=bf;function baseForOwnRight(e,t){return e&&gf(e,t,ga)}var yf=baseForOwnRight;var Sf=op(yf,true);var wf=Sf;function forEachRight(e,t){var i=K(e)?mf:wf;return i(e,ff(t))}var vf=forEachRight;function endsWith(e,t,i){e=jr(e);t=X(t);var n=e.length;i=i===undefined?n:bu(pe(i),0,n);var a=i;i-=t.length;return i>=0&&e.slice(i,a)==t}var zf=endsWith;function baseToPairs(e,t){return W(t,function(t){return[t,e[t]]})}var jf=baseToPairs;function setToPairs(e){var t=-1,i=Array(e.size);e.forEach(function(e){i[++t]=[e,e]});return i}var Of=setToPairs;var kf="[object Map]",Cf="[object Set]";function createToPairs(e){return function(t){var i=pl(t);if(i==kf){return id(t)}if(i==Cf){return Of(t)}return jf(t,e(t))}}var Tf=createToPairs;var Rf=Tf(ga);var Ef=Rf;var Af=Tf(Ca);var xf=Af;var Nf={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};var Vf=Ys(Nf);var Pf=Vf;var Df=/[&<>"']/g,If=RegExp(Df.source);function escape_escape(e){e=jr(e);return e&&If.test(e)?e.replace(Df,Pf):e}var _f=escape_escape;var qf=/[\\^$.*+?()[\]{}|]/g,Bf=RegExp(qf.source);function escapeRegExp(e){e=jr(e);return e&&Bf.test(e)?e.replace(qf,"\\$&"):e}var Mf=escapeRegExp;function arrayEvery(e,t){var i=-1,n=e==null?0:e.length;while(++i<n){if(!t(e[i],i,e)){return false}}return true}var Uf=arrayEvery;function baseEvery(e,t){var i=true;lp(e,function(e,n,a){i=!!t(e,n,a);return i});return i}var Lf=baseEvery;function every(e,t,i){var n=K(e)?Uf:Lf;if(i&&sn(e,t,i)){t=undefined}return n(e,Jd(t,3))}var Hf=every;var Qf=4294967295;function toLength(e){return e?bu(pe(e),0,Qf):0}var Wf=toLength;function baseFill(e,t,i,n){var a=e.length;i=pe(i);if(i<0){i=-i>a?0:a+i}n=n===undefined||n>a?a:pe(n);if(n<0){n+=a}n=i>n?0:Wf(n);while(i<n){e[i++]=t}return e}var Gf=baseFill;function fill(e,t,i,n){var a=e==null?0:e.length;if(!a){return[]}if(i&&typeof i!="number"&&sn(e,t,i)){i=0;n=a}return Gf(e,t,i,n)}var Kf=fill;function baseFilter(e,t){var i=[];lp(e,function(e,n,a){if(t(e,n,a)){i.push(e)}});return i}var Jf=baseFilter;function filter(e,t){var i=K(e)?Vu:Jf;return i(e,Jd(t,3))}var Ff=filter;function createFind(e){return function(t,i,n){var a=Object(t);if(!rn(t)){var r=Jd(i,3);t=ga(t);i=function(e){return r(a[e],e,a)}}var s=e(t,i,n);return s>-1?a[r?t[s]:s]:undefined}}var Yf=createFind;var Xf=Math.max;function findIndex(e,t,i){var n=e==null?0:e.length;if(!n){return-1}var a=i==null?0:pe(i);if(a<0){a=Xf(n+a,0)}return Bt(e,Jd(t,3),a)}var Zf=findIndex;var $f=Yf(Zf);var eh=$f;function baseFindKey(e,t,i){var n;i(e,function(e,i,a){if(t(e,i,a)){n=i;return false}});return n}var th=baseFindKey;function findKey(e,t){return th(e,Jd(t,3),sp)}var ih=findKey;var nh=Math.max,ah=Math.min;function findLastIndex(e,t,i){var n=e==null?0:e.length;if(!n){return-1}var a=n-1;if(i!==undefined){a=pe(i);a=i<0?nh(n+a,0):ah(a,n-1)}return Bt(e,Jd(t,3),a,true)}var rh=findLastIndex;var sh=Yf(rh);var oh=sh;function findLastKey(e,t){return th(e,Jd(t,3),yf)}var uh=findLastKey;function head(e){return e&&e.length?e[0]:undefined}var lh=head;function baseMap(e,t){var i=-1,n=rn(e)?Array(e.length):[];lp(e,function(e,a,r){n[++i]=t(e,a,r)});return n}var ch=baseMap;function map_map(e,t){var i=K(e)?W:ch;return i(e,Jd(t,3))}var dh=map_map;function flatMap(e,t){return Vr(dh(e,t),1)}var ph=flatMap;var fh=1/0;function flatMapDeep(e,t){return Vr(dh(e,t),fh)}var hh=flatMapDeep;function flatMapDepth(e,t,i){i=i===undefined?1:pe(i);return Vr(dh(e,t),i)}var mh=flatMapDepth;var bh=1/0;function flattenDeep(e){var t=e==null?0:e.length;return t?Vr(e,bh):[]}var gh=flattenDeep;function flattenDepth(e,t){var i=e==null?0:e.length;if(!i){return[]}t=t===undefined?1:pe(t);return Vr(e,t)}var yh=flattenDepth;var Sh=512;function flip(e){return Qi(e,Sh)}var wh=flip;var vh=lu("floor");var zh=vh;var jh="Expected a function";var Oh=8,kh=32,Ch=128,Th=256;function createFlow(e){return Dr(function(t){var i=t.length,n=i,a=ft.prototype.thru;if(e){t.reverse()}while(n--){var r=t[n];if(typeof r!="function"){throw new TypeError(jh)}if(a&&!s&&pt(r)=="wrapper"){var s=new ft([],true)}}n=s?n:i;while(++n<i){r=t[n];var o=pt(r),u=o=="wrapper"?ot(r):undefined;if(u&&St(u[0])&&u[1]==(Ch|Oh|kh|Th)&&!u[4].length&&u[9]==1){s=s[pt(u[0])].apply(s,u[3])}else{s=r.length==1&&St(r)?s[o]():s.thru(r)}}return function(){var e=arguments,n=e[0];if(s&&e.length==1&&K(n)){return s.plant(n).value()}var a=0,r=i?t[a].apply(this,e):n;while(++a<i){r=t[a].call(this,r)}return r}})}var Rh=createFlow;var Eh=Rh();var Ah=Eh;var xh=Rh(true);var Nh=xh;function forIn(e,t){return e==null?e:rp(e,ff(t),Ca)}var Vh=forIn;function forInRight(e,t){return e==null?e:gf(e,ff(t),Ca)}var Ph=forInRight;function forOwn(e,t){return e&&sp(e,ff(t))}var Dh=forOwn;function forOwnRight(e,t){return e&&yf(e,ff(t))}var Ih=forOwnRight;function fromPairs(e){var t=-1,i=e==null?0:e.length,n={};while(++t<i){var a=e[t];n[a[0]]=a[1]}return n}var _h=fromPairs;function baseFunctions(e,t){return Vu(t,function(t){return we(e[t])})}var qh=baseFunctions;function functions(e){return e==null?[]:qh(e,ga(e))}var Bh=functions;function functionsIn(e){return e==null?[]:qh(e,Ca(e))}var Mh=functionsIn;var Uh=Object.prototype;var Lh=Uh.hasOwnProperty;var Hh=dp(function(e,t,i){if(Lh.call(e,i)){e[i].push(t)}else{Ki(e,i,[t])}});var Qh=Hh;function baseGt(e,t){return e>t}var Wh=baseGt;function createRelationalOperation(e){return function(t,i){if(!(typeof t=="string"&&typeof i=="string")){t=ue(t);i=ue(i)}return e(t,i)}}var Gh=createRelationalOperation;var Kh=Gh(Wh);var Jh=Kh;var Fh=Gh(function(e,t){return e>=t});var Yh=Fh;var Xh=Object.prototype;var Zh=Xh.hasOwnProperty;function baseHas(e,t){return e!=null&&Zh.call(e,t)}var $h=baseHas;function has(e,t){return e!=null&&Md(e,t,$h)}var em=has;var tm=Math.max,im=Math.min;function baseInRange(e,t,i){return e>=im(t,i)&&e<tm(t,i)}var nm=baseInRange;function inRange(e,t,i){t=de(t);if(i===undefined){i=t;t=0}else{i=de(i)}e=ue(e);return nm(e,t,i)}var am=inRange;var rm="[object String]";function isString(e){return typeof e=="string"||!K(e)&&M(e)&&B(e)==rm}var sm=isString;function baseValues(e,t){return W(t,function(t){return e[t]})}var om=baseValues;function values_values(e){return e==null?[]:om(e,ga(e))}var um=values_values;var lm=Math.max;function includes_includes(e,t,i,n){e=rn(e)?e:um(e);i=i&&!n?pe(i):0;var a=e.length;if(i<0){i=lm(a+i,0)}return sm(e)?i<=a&&e.indexOf(t,i)>-1:!!a&&Lt(e,t,i)>-1}var cm=includes_includes;var dm=Math.max;function indexOf_indexOf(e,t,i){var n=e==null?0:e.length;if(!n){return-1}var a=i==null?0:pe(i);if(a<0){a=dm(n+a,0)}return Lt(e,t,a)}var pm=indexOf_indexOf;function initial(e){var t=e==null?0:e.length;return t?ds(e,0,-1):[]}var fm=initial;var hm=Math.min;function baseIntersection(e,t,i){var n=i?Fp:Ht,a=e[0].length,r=e.length,s=r,o=Array(r),u=Infinity,l=[];while(s--){var c=e[s];if(s&&t){c=W(c,Zn(t))}u=hm(c.length,u);o[s]=!i&&(t||a>=120&&c.length>=120)?new Yc(s&&c):undefined}c=e[0];var d=-1,p=o[0];e:while(++d<a&&l.length<u){var f=c[d],h=t?t(f):f;f=i||f!==0?f:0;if(!(p?Zc(p,h):n(l,h,i))){s=r;while(--s){var m=o[s];if(!(m?Zc(m,h):n(e[s],h,i))){continue e}}if(p){p.push(h)}l.push(f)}}return l}var mm=baseIntersection;function castArrayLikeObject(e){return Vp(e)?e:[]}var bm=castArrayLikeObject;var gm=tn(function(e){var t=W(e,bm);return t.length&&t[0]===e[0]?mm(t):[]});var ym=gm;var Sm=tn(function(e){var t=ef(e),i=W(e,bm);if(t===ef(i)){t=undefined}else{i.pop()}return i.length&&i[0]===e[0]?mm(i,Jd(t,2)):[]});var wm=Sm;var vm=tn(function(e){var t=ef(e),i=W(e,bm);t=typeof t=="function"?t:undefined;if(t){i.pop()}return i.length&&i[0]===e[0]?mm(i,undefined,t):[]});var zm=vm;function baseInverter(e,t,i,n){sp(e,function(e,a,r){t(n,i(e),a,r)});return n}var jm=baseInverter;function createInverter(e,t){return function(i,n){return jm(i,e,t(n),{})}}var Om=createInverter;var km=Object.prototype;var Cm=km.toString;var Tm=Om(function(e,t,i){if(t!=null&&typeof t.toString!="function"){t=Cm.call(t)}e[t]=i},xt(me));var Rm=Tm;var Em=Object.prototype;var Am=Em.hasOwnProperty;var xm=Em.toString;var Nm=Om(function(e,t,i){if(t!=null&&typeof t.toString!="function"){t=xm.call(t)}if(Am.call(e,t)){e[t].push(i)}else{e[t]=[i]}},Jd);var Vm=Nm;function _parent_parent(e,t){return t.length<2?e:Tr(e,ds(t,0,-1))}var Pm=_parent_parent;function baseInvoke(e,t,i){t=Or(t,e);e=Pm(e,t);var n=e==null?e:e[Cr(ef(t))];return n==null?undefined:Ye(n,e,i)}var Dm=baseInvoke;var Im=tn(Dm);var _m=Im;var qm=tn(function(e,t,i){var n=-1,a=typeof t=="function",r=rn(e)?Array(e.length):[];lp(e,function(e){r[++n]=a?Ye(t,e,i):Dm(e,t,i)});return r});var Bm=qm;var Mm="[object ArrayBuffer]";function baseIsArrayBuffer(e){return M(e)&&B(e)==Mm}var Um=baseIsArrayBuffer;var Lm=aa&&aa.isArrayBuffer;var Hm=Lm?Zn(Lm):Um;var Qm=Hm;var Wm="[object Boolean]";function isBoolean(e){return e===true||e===false||M(e)&&B(e)==Wm}var Gm=isBoolean;var Km="[object Date]";function baseIsDate(e){return M(e)&&B(e)==Km}var Jm=baseIsDate;var Fm=aa&&aa.isDate;var Ym=Fm?Zn(Fm):Jm;var Xm=Ym;function isElement(e){return M(e)&&e.nodeType===1&&!Gr(e)}var Zm=isElement;var $m="[object Map]",eb="[object Set]";var tb=Object.prototype;var ib=tb.hasOwnProperty;function isEmpty(e){if(e==null){return true}if(rn(e)&&(K(e)||typeof e=="string"||typeof e.splice=="function"||kn(e)||oa(e)||gn(e))){return!e.length}var t=pl(e);if(t==$m||t==eb){return!e.size}if(ln(e)){return!ba(e).length}for(var i in e){if(ib.call(e,i)){return false}}return true}var nb=isEmpty;function isEqual(e,t){return xd(e,t)}var ab=isEqual;function isEqualWith(e,t,i){i=typeof i=="function"?i:undefined;var n=i?i(e,t):undefined;return n===undefined?xd(e,t,undefined,i):!!n}var rb=isEqualWith;var sb=k.isFinite;function isFinite_isFinite(e){return typeof e=="number"&&sb(e)}var ob=isFinite_isFinite;function isInteger(e){return typeof e=="number"&&e==pe(e)}var ub=isInteger;function isMatch(e,t){return e===t||Pd(e,t,Id(t))}var lb=isMatch;function isMatchWith(e,t,i){i=typeof i=="function"?i:undefined;return Pd(e,t,Id(t),i)}var cb=isMatchWith;var db="[object Number]";function isNumber(e){return typeof e=="number"||M(e)&&B(e)==db}var pb=isNumber;function isNaN_isNaN(e){return pb(e)&&e!=+e}var fb=isNaN_isNaN;var hb=ze?we:yn;var mb=hb;var bb="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.";function isNative(e){if(mb(e)){throw new Error(bb)}return De(e)}var gb=isNative;function isNil(e){return e==null}var yb=isNil;function isNull(e){return e===null}var Sb=isNull;var wb="[object RegExp]";function baseIsRegExp(e){return M(e)&&B(e)==wb}var vb=baseIsRegExp;var zb=aa&&aa.isRegExp;var jb=zb?Zn(zb):vb;var Ob=jb;var kb=9007199254740991;function isSafeInteger(e){return ub(e)&&e>=-kb&&e<=kb}var Cb=isSafeInteger;function isUndefined(e){return e===undefined}var Tb=isUndefined;var Rb="[object WeakMap]";function isWeakMap(e){return M(e)&&pl(e)==Rb}var Eb=isWeakMap;var Ab="[object WeakSet]";function isWeakSet(e){return M(e)&&B(e)==Ab}var xb=isWeakSet;var Nb=1;function iteratee_iteratee(e){return Jd(typeof e=="function"?e:Vc(e,Nb))}var Vb=iteratee_iteratee;var Pb=Array.prototype;var Db=Pb.join;function join(e,t){return e==null?"":Db.call(e,t)}var Ib=join;var _b=nu(function(e,t,i){return e+(i?"-":"")+t.toLowerCase()});var qb=_b;var Bb=dp(function(e,t,i){Ki(e,i,t)});var Mb=Bb;function strictLastIndexOf(e,t,i){var n=i+1;while(n--){if(e[n]===t){return n}}return n}var Ub=strictLastIndexOf;var Lb=Math.max,Hb=Math.min;function lastIndexOf(e,t,i){var n=e==null?0:e.length;if(!n){return-1}var a=n;if(i!==undefined){a=pe(i);a=a<0?Lb(n+a,0):Hb(a,n-1)}return t===t?Ub(e,t,a):Bt(e,Mt,a,true)}var Qb=lastIndexOf;var Wb=nu(function(e,t,i){return e+(i?" ":"")+t.toLowerCase()});var Gb=Wb;var Kb=Ws("toLowerCase");var Jb=Kb;function baseLt(e,t){return e<t}var Fb=baseLt;var Yb=Gh(Fb);var Xb=Yb;var Zb=Gh(function(e,t){return e<=t});var $b=Zb;function mapKeys(e,t){var i={};t=Jd(t,3);sp(e,function(e,n,a){Ki(i,t(e,n,a),e)});return i}var eg=mapKeys;function mapValues(e,t){var i={};t=Jd(t,3);sp(e,function(e,n,a){Ki(i,n,t(e,n,a))});return i}var tg=mapValues;var ig=1;function matches(e){return qd(Vc(e,ig))}var ng=matches;var ag=1;function matchesProperty(e,t){return Qd(e,Vc(t,ag))}var rg=matchesProperty;function baseExtremum(e,t,i){var n=-1,a=e.length;while(++n<a){var r=e[n],s=t(r);if(s!=null&&(o===undefined?s===s&&!L(s):i(s,o))){var o=s,u=r}}return u}var sg=baseExtremum;function max(e){return e&&e.length?sg(e,me,Wh):undefined}var og=max;function maxBy(e,t){return e&&e.length?sg(e,Jd(t,2),Wh):undefined}var ug=maxBy;function baseSum(e,t){var i,n=-1,a=e.length;while(++n<a){var r=t(e[n]);if(r!==undefined){i=i===undefined?r:i+r}}return i}var lg=baseSum;var cg=0/0;function baseMean(e,t){var i=e==null?0:e.length;return i?lg(e,t)/i:cg}var dg=baseMean;function mean(e){return dg(e,me)}var pg=mean;function meanBy(e,t){return dg(e,Jd(t,2))}var fg=meanBy;var hg=on(function(e,t,i){_p(e,t,i)});var mg=hg;var bg=tn(function(e,t){return function(i){return Dm(i,e,t)}});var gg=bg;var yg=tn(function(e,t){return function(i){return Dm(e,i,t)}});var Sg=yg;function min(e){return e&&e.length?sg(e,me,Fb):undefined}var wg=min;function minBy(e,t){return e&&e.length?sg(e,Jd(t,2),Fb):undefined}var vg=minBy;function mixin(e,t,i){var n=ga(t),a=qh(t,n);var r=!(te(i)&&"chain"in i)||!!i.chain,s=we(e);qt(a,function(i){var n=t[i];e[i]=n;if(s){e.prototype[i]=function(){var t=this.__chain__;if(r||t){var i=e(this.__wrapped__),a=i.__actions__=ht(this.__actions__);a.push({func:n,args:arguments,thisArg:e});i.__chain__=t;return i}return n.apply(e,Ar([this.value()],arguments))}}});return e}var zg=mixin;var jg=Z(function(e,t){return e*t},1);var Og=jg;var kg="Expected a function";function negate(e){if(typeof e!="function"){throw new TypeError(kg)}return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var Cg=negate;function iteratorToArray(e){var t,i=[];while(!(t=e.next()).done){i.push(t.value)}return i}var Tg=iteratorToArray;var Rg="[object Map]",Eg="[object Set]";var Ag=T?T.iterator:undefined;function toArray(e){if(!e){return[]}if(rn(e)){return sm(e)?Qs(e):ht(e)}if(Ag&&e[Ag]){return Tg(e[Ag]())}var t=pl(e),i=t==Rg?id:t==Eg?nd:um;return i(e)}var xg=toArray;function wrapperNext(){if(this.__values__===undefined){this.__values__=xg(this.value())}var e=this.__index__>=this.__values__.length,t=e?undefined:this.__values__[this.__index__++];return{done:e,value:t}}var Ng=wrapperNext;function baseNth(e,t){var i=e.length;if(!i){return}t+=t<0?i:0;return pi(t,i)?e[t]:undefined}var Vg=baseNth;function nth(e,t){return e&&e.length?Vg(e,pe(t)):undefined}var Pg=nth;function nthArg(e){e=pe(e);return tn(function(t){return Vg(t,e)})}var Dg=nthArg;function baseUnset(e,t){t=Or(t,e);e=Pm(e,t);return e==null||delete e[Cr(ef(t))]}var Ig=baseUnset;function customOmitClone(e){return Gr(e)?undefined:e}var _g=customOmitClone;var qg=1,Bg=2,Mg=4;var Ug=Dr(function(e,t){var i={};if(e==null){return i}var n=false;t=W(t,function(t){t=Or(t,e);n||(n=t.length>1);return t});Zi(e,Ku(e),i);if(n){i=Vc(i,qg|Bg|Mg,_g)}var a=t.length;while(a--){Ig(i,t[a])}return i});var Lg=Ug;function baseSet(e,t,i,n){if(!te(e)){return e}t=Or(t,e);var a=-1,r=t.length,s=r-1,o=e;while(o!=null&&++a<r){var u=Cr(t[a]),l=i;if(a!=s){var c=o[u];l=n?n(c,u,o):undefined;if(l===undefined){l=te(c)?c:pi(t[a+1])?[]:{}}}Xi(o,u,l);o=o[u]}return e}var Hg=baseSet;function basePickBy(e,t,i){var n=-1,a=t.length,r={};while(++n<a){var s=t[n],o=Tr(e,s);if(i(o,s)){Hg(r,Or(s,e),o)}}return r}var Qg=basePickBy;function pickBy(e,t){if(e==null){return{}}var i=W(Ku(e),function(e){return[e]});t=Jd(t);return Qg(e,i,function(e,i){return t(e,i[0])})}var Wg=pickBy;function omitBy(e,t){return Wg(e,Cg(Jd(t)))}var Gg=omitBy;function once(e){return $r(2,e)}var Kg=once;function baseSortBy(e,t){var i=e.length;e.sort(t);while(i--){e[i]=e[i].value}return e}var Jg=baseSortBy;function compareAscending(e,t){if(e!==t){var i=e!==undefined,n=e===null,a=e===e,r=L(e);var s=t!==undefined,o=t===null,u=t===t,l=L(t);if(!o&&!l&&!r&&e>t||r&&s&&u&&!o&&!l||n&&s&&u||!i&&u||!a){return 1}if(!n&&!r&&!l&&e<t||l&&i&&a&&!n&&!r||o&&i&&a||!s&&a||!u){return-1}}return 0}var Fg=compareAscending;function compareMultiple(e,t,i){var n=-1,a=e.criteria,r=t.criteria,s=a.length,o=i.length;while(++n<s){var u=Fg(a[n],r[n]);if(u){if(n>=o){return u}var l=i[n];return u*(l=="desc"?-1:1)}}return e.index-t.index}var Yg=compareMultiple;function baseOrderBy(e,t,i){var n=-1;t=W(t.length?t:[me],Zn(Jd));var a=ch(e,function(e,i,a){var r=W(t,function(t){return t(e)});return{criteria:r,index:++n,value:e}});return Jg(a,function(e,t){return Yg(e,t,i)})}var Xg=baseOrderBy;function orderBy(e,t,i,n){if(e==null){return[]}if(!K(t)){t=t==null?[]:[t]}i=n?undefined:i;if(!K(i)){i=i==null?[]:[i]}return Xg(e,t,i)}var Zg=orderBy;function createOver(e){return Dr(function(t){t=W(t,Zn(Jd));return tn(function(i){var n=this;return e(t,function(e){return Ye(e,n,i)})})})}var $g=createOver;var ey=$g(W);var ty=ey;var iy=tn;var ny=iy;var ay=Math.min;var ry=ny(function(e,t){t=t.length==1&&K(t[0])?W(t[0],Zn(Jd)):W(Vr(t,1),Zn(Jd));var i=t.length;return tn(function(n){var a=-1,r=ay(n.length,i);while(++a<r){n[a]=t[a].call(this,n[a])}return Ye(e,this,n)})});var sy=ry;var oy=$g(Uf);var uy=oy;var ly=$g(Xc);var cy=ly;var dy=9007199254740991;var py=Math.floor;function baseRepeat(e,t){var i="";if(!e||t<1||t>dy){return i}do{if(t%2){i+=e}t=py(t/2);if(t){e+=e}}while(t);return i}var fy=baseRepeat;var hy=Wd("length");var my=hy;var by="\\ud800-\\udfff",gy="\\u0300-\\u036f",yy="\\ufe20-\\ufe2f",Sy="\\u20d0-\\u20ff",wy=gy+yy+Sy,vy="\\ufe0e\\ufe0f";var zy="["+by+"]",jy="["+wy+"]",Oy="\\ud83c[\\udffb-\\udfff]",ky="(?:"+jy+"|"+Oy+")",Cy="[^"+by+"]",Ty="(?:\\ud83c[\\udde6-\\uddff]){2}",Ry="[\\ud800-\\udbff][\\udc00-\\udfff]",Ey="\\u200d";var Ay=ky+"?",xy="["+vy+"]?",Ny="(?:"+Ey+"(?:"+[Cy,Ty,Ry].join("|")+")"+xy+Ay+")*",Vy=xy+Ay+Ny,Py="(?:"+[Cy+jy+"?",jy,Ty,Ry,zy].join("|")+")";var Dy=RegExp(Oy+"(?="+Oy+")|"+Py+Vy,"g");function unicodeSize(e){var t=Dy.lastIndex=0;while(Dy.test(e)){++t}return t}var Iy=unicodeSize;function stringSize(e){return vs(e)?Iy(e):my(e)}var _y=stringSize;var qy=Math.ceil;function createPadding(e,t){t=t===undefined?" ":X(t);var i=t.length;if(i<2){return i?fy(t,e):t}var n=fy(t,qy(e/_y(t)));return vs(t)?ps(Qs(n),0,e).join(""):n.slice(0,e)}var By=createPadding;var My=Math.ceil,Uy=Math.floor;function pad(e,t,i){e=jr(e);t=pe(t);var n=t?_y(e):0;if(!t||n>=t){return e}var a=(t-n)/2;return By(Uy(a),i)+e+By(My(a),i)}var Ly=pad;function padEnd(e,t,i){e=jr(e);t=pe(t);var n=t?_y(e):0;return t&&n<t?e+By(t-n,i):e}var Hy=padEnd;function padStart(e,t,i){e=jr(e);t=pe(t);var n=t?_y(e):0;return t&&n<t?By(t-n,i)+e:e}var Qy=padStart;var Wy=/^\s+/;var Gy=k.parseInt;function parseInt_parseInt(e,t,i){if(i||t==null){t=0}else if(t){t=+t}return Gy(jr(e).replace(Wy,""),t||0)}var Ky=parseInt_parseInt;var Jy=32;var Fy=tn(function(e,t){var i=bi(t,li(Fy));return Qi(e,Jy,undefined,t,i)});Fy.placeholder={};var Yy=Fy;var Xy=64;var Zy=tn(function(e,t){var i=bi(t,li(Zy));return Qi(e,Xy,undefined,t,i)});Zy.placeholder={};var $y=Zy;var eS=dp(function(e,t,i){e[i?0:1].push(t)},function(){return[[],[]]});var tS=eS;function basePick(e,t){return Qg(e,t,function(t,i){return Ud(e,i)})}var iS=basePick;var nS=Dr(function(e,t){return e==null?{}:iS(e,t)});var aS=nS;function wrapperPlant(e){var t,i=this;while(i instanceof it){var n=mt(i);n.__index__=0;n.__values__=undefined;if(t){a.__wrapped__=n}else{t=n}var a=n;i=i.__wrapped__}a.__wrapped__=e;return t}var rS=wrapperPlant;function propertyOf(e){return function(t){return e==null?undefined:Tr(e,t)}}var sS=propertyOf;function baseIndexOfWith(e,t,i,n){var a=i-1,r=e.length;while(++a<r){if(n(e[a],t)){return a}}return-1}var oS=baseIndexOfWith;var uS=Array.prototype;var lS=uS.splice;function basePullAll(e,t,i,n){var a=n?oS:Lt,r=-1,s=t.length,o=e;if(e===t){t=ht(t)}if(i){o=W(e,Zn(i))}while(++r<s){var u=0,l=t[r],c=i?i(l):l;while((u=a(o,c,u,n))>-1){if(o!==e){lS.call(o,u,1)}lS.call(e,u,1)}}return e}var cS=basePullAll;function pullAll(e,t){return e&&e.length&&t&&t.length?cS(e,t):e}var dS=pullAll;var pS=tn(dS);var fS=pS;function pullAllBy(e,t,i){return e&&e.length&&t&&t.length?cS(e,t,Jd(i,2)):e}var hS=pullAllBy;function pullAllWith(e,t,i){return e&&e.length&&t&&t.length?cS(e,t,undefined,i):e}var mS=pullAllWith;var bS=Array.prototype;var gS=bS.splice;function basePullAt(e,t){var i=e?t.length:0,n=i-1;while(i--){var a=t[i];if(i==n||a!==r){var r=a;if(pi(a)){gS.call(e,a,1)}else{Ig(e,a)}}}return e}var yS=basePullAt;var SS=Dr(function(e,t){var i=e==null?0:e.length,n=Er(e,t);yS(e,W(t,function(e){return pi(e,i)?+e:e}).sort(Fg));return n});var wS=SS;var vS=Math.floor,zS=Math.random;function baseRandom(e,t){return e+vS(zS()*(t-e+1))}var jS=baseRandom;var OS=parseFloat;var kS=Math.min,CS=Math.random;function random(e,t,i){if(i&&typeof i!="boolean"&&sn(e,t,i)){t=i=undefined}if(i===undefined){if(typeof t=="boolean"){i=t;t=undefined}else if(typeof e=="boolean"){i=e;e=undefined}}if(e===undefined&&t===undefined){e=0;t=1}else{e=de(e);if(t===undefined){t=e;e=0}else{t=de(t)}}if(e>t){var n=e;e=t;t=n}if(i||e%1||t%1){var a=CS();return kS(e+a*(t-e+OS("1e-"+((a+"").length-1))),t)}return jS(e,t)}var TS=random;var RS=Math.ceil,ES=Math.max;function baseRange(e,t,i,n){var a=-1,r=ES(RS((t-e)/(i||1)),0),s=Array(r);while(r--){s[n?r:++a]=e;e+=i}return s}var AS=baseRange;function createRange(e){return function(t,i,n){if(n&&typeof n!="number"&&sn(t,i,n)){i=n=undefined}t=de(t);if(i===undefined){i=t;t=0}else{i=de(i)}n=n===undefined?t<i?1:-1:de(n);return AS(t,i,n,e)}}var xS=createRange;var NS=xS();var VS=NS;var PS=xS(true);var DS=PS;var IS=256;var _S=Dr(function(e,t){return Qi(e,IS,undefined,undefined,undefined,t)});var qS=_S;function baseReduce(e,t,i,n,a){a(e,function(e,a,r){i=n?(n=false,e):t(i,e,a,r)});return i}var BS=baseReduce;function reduce(e,t,i){var n=K(e)?Fs:BS,a=arguments.length<3;return n(e,Jd(t,4),i,a,lp)}var MS=reduce;function arrayReduceRight(e,t,i,n){var a=e==null?0:e.length;if(n&&a){i=e[--a]}while(a--){i=t(i,e[a],a,e)}return i}var US=arrayReduceRight;function reduceRight(e,t,i){var n=K(e)?US:BS,a=arguments.length<3;return n(e,Jd(t,4),i,a,wf)}var LS=reduceRight;function reject(e,t){var i=K(e)?Vu:Jf;return i(e,Cg(Jd(t,3)))}var HS=reject;function remove(e,t){var i=[];if(!(e&&e.length)){return i}var n=-1,a=[],r=e.length;t=Jd(t,3);while(++n<r){var s=e[n];if(t(s,n,e)){i.push(s);a.push(n)}}yS(e,a);return i}var QS=remove;function repeat(e,t,i){if(i?sn(e,t,i):t===undefined){t=1}else{t=pe(t)}return fy(jr(e),t)}var WS=repeat;function replace(){var e=arguments,t=jr(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var GS=replace;var KS="Expected a function";function rest(e,t){if(typeof e!="function"){throw new TypeError(KS)}t=t===undefined?t:pe(t);return tn(e,t)}var JS=rest;function result_result(e,t,i){t=Or(t,e);var n=-1,a=t.length;if(!a){a=1;e=undefined}while(++n<a){var r=e==null?undefined:e[Cr(t[n])];if(r===undefined){n=a;r=i}e=we(r)?r.call(e):r}return e}var FS=result_result;var YS=Array.prototype;var XS=YS.reverse;function reverse(e){return e==null?e:XS.call(e)}var ZS=reverse;var $S=lu("round");var ew=$S;function arraySample(e){var t=e.length;return t?e[jS(0,t-1)]:undefined}var tw=arraySample;function baseSample(e){return tw(um(e))}var iw=baseSample;function sample(e){var t=K(e)?tw:iw;return t(e)}var nw=sample;function shuffleSelf(e,t){var i=-1,n=e.length,a=n-1;t=t===undefined?n:t;while(++i<t){var r=jS(i,a),s=e[r];e[r]=e[i];e[i]=s}e.length=t;return e}var aw=shuffleSelf;function arraySampleSize(e,t){return aw(ht(e),bu(t,0,e.length))}var rw=arraySampleSize;function baseSampleSize(e,t){var i=um(e);return aw(i,bu(t,0,i.length))}var sw=baseSampleSize;function sampleSize(e,t,i){if(i?sn(e,t,i):t===undefined){t=1}else{t=pe(t)}var n=K(e)?rw:sw;return n(e,t)}var ow=sampleSize;function set_set(e,t,i){return e==null?e:Hg(e,t,i)}var uw=set_set;function setWith(e,t,i,n){n=typeof n=="function"?n:undefined;return e==null?e:Hg(e,t,i,n)}var lw=setWith;function arrayShuffle(e){return aw(ht(e))}var cw=arrayShuffle;function baseShuffle(e){return aw(um(e))}var dw=baseShuffle;function shuffle(e){var t=K(e)?cw:dw;return t(e)}var pw=shuffle;var fw="[object Map]",hw="[object Set]";function size_size(e){if(e==null){return 0}if(rn(e)){return sm(e)?_y(e):e.length}var t=pl(e);if(t==fw||t==hw){return e.size}return ba(e).length}var mw=size_size;function slice(e,t,i){var n=e==null?0:e.length;if(!n){return[]}if(i&&typeof i!="number"&&sn(e,t,i)){t=0;i=n}else{t=t==null?0:pe(t);i=i===undefined?n:pe(i)}return ds(e,t,i)}var bw=slice;var gw=nu(function(e,t,i){return e+(i?"_":"")+t.toLowerCase()});var yw=gw;function baseSome(e,t){var i;lp(e,function(e,n,a){i=t(e,n,a);return!i});return!!i}var Sw=baseSome;function some(e,t,i){var n=K(e)?Xc:Sw;if(i&&sn(e,t,i)){t=undefined}return n(e,Jd(t,3))}var ww=some;var vw=tn(function(e,t){if(e==null){return[]}var i=t.length;if(i>1&&sn(e,t[0],t[1])){t=[]}else if(i>2&&sn(t[0],t[1],t[2])){t=[t[0]]}return Xg(e,Vr(t,1),[])});var zw=vw;var jw=4294967295,Ow=jw-1;var kw=Math.floor,Cw=Math.min;function baseSortedIndexBy(e,t,i,n){t=i(t);var a=0,r=e==null?0:e.length,s=t!==t,o=t===null,u=L(t),l=t===undefined;while(a<r){var c=kw((a+r)/2),d=i(e[c]),p=d!==undefined,f=d===null,h=d===d,m=L(d);if(s){var b=n||h}else if(l){b=h&&(n||p)}else if(o){b=h&&p&&(n||!f)}else if(u){b=h&&p&&!f&&(n||!m)}else if(f||m){b=false}else{b=n?d<=t:d<t}if(b){a=c+1}else{r=c}}return Cw(r,Ow)}var Tw=baseSortedIndexBy;var Rw=4294967295,Ew=Rw>>>1;function baseSortedIndex(e,t,i){var n=0,a=e==null?n:e.length;if(typeof t=="number"&&t===t&&a<=Ew){while(n<a){var r=n+a>>>1,s=e[r];if(s!==null&&!L(s)&&(i?s<=t:s<t)){n=r+1}else{a=r}}return a}return Tw(e,t,me,i)}var Aw=baseSortedIndex;function sortedIndex(e,t){return Aw(e,t)}var xw=sortedIndex;function sortedIndexBy(e,t,i){return Tw(e,t,Jd(i,2))}var Nw=sortedIndexBy;function sortedIndexOf(e,t){var i=e==null?0:e.length;if(i){var n=Aw(e,t);if(n<i&&Ji(e[n],t)){return n}}return-1}var Vw=sortedIndexOf;function sortedLastIndex(e,t){return Aw(e,t,true)}var Pw=sortedLastIndex;function sortedLastIndexBy(e,t,i){return Tw(e,t,Jd(i,2),true)}var Dw=sortedLastIndexBy;function sortedLastIndexOf(e,t){var i=e==null?0:e.length;if(i){var n=Aw(e,t,true)-1;if(Ji(e[n],t)){return n}}return-1}var Iw=sortedLastIndexOf;function baseSortedUniq(e,t){var i=-1,n=e.length,a=0,r=[];while(++i<n){var s=e[i],o=t?t(s):s;if(!i||!Ji(o,u)){var u=o;r[a++]=s===0?0:s}}return r}var _w=baseSortedUniq;function sortedUniq(e){return e&&e.length?_w(e):[]}var qw=sortedUniq;function sortedUniqBy(e,t){return e&&e.length?_w(e,Jd(t,2)):[]}var Bw=sortedUniqBy;var Mw=4294967295;function split(e,t,i){if(i&&typeof i!="number"&&sn(e,t,i)){t=i=undefined}i=i===undefined?Mw:i>>>0;if(!i){return[]}e=jr(e);if(e&&(typeof t=="string"||t!=null&&!Ob(t))){t=X(t);if(!t&&vs(e)){return ps(Qs(e),0,i)}}return e.split(t,i)}var Uw=split;var Lw="Expected a function";var Hw=Math.max;function spread(e,t){if(typeof e!="function"){throw new TypeError(Lw)}t=t==null?0:Hw(pe(t),0);return tn(function(i){var n=i[t],a=ps(i,0,t);if(n){Ar(a,n)}return Ye(e,this,a)})}var Qw=spread;var Ww=nu(function(e,t,i){return e+(i?" ":"")+Ks(t)});var Gw=Ww;function startsWith(e,t,i){e=jr(e);i=i==null?0:bu(pe(i),0,e.length);t=X(t);return e.slice(i,i+t.length)==t}var Kw=startsWith;function stubObject(){return{}}var Jw=stubObject;function stubString(){return""}var Fw=stubString;function stubTrue(){return true}var Yw=stubTrue;var Xw=Z(function(e,t){return e-t},0);var Zw=Xw;function sum(e){return e&&e.length?lg(e,me):0}var $w=sum;function sumBy(e,t){return e&&e.length?lg(e,Jd(t,2)):0}var ev=sumBy;function tail(e){var t=e==null?0:e.length;return t?ds(e,1,t):[]}var tv=tail;function take(e,t,i){if(!(e&&e.length)){return[]}t=i||t===undefined?1:pe(t);return ds(e,0,t<0?0:t)}var iv=take;function takeRight(e,t,i){var n=e==null?0:e.length;if(!n){return[]}t=i||t===undefined?1:pe(t);t=n-t;return ds(e,t<0?0:t,n)}var nv=takeRight;function takeRightWhile(e,t){return e&&e.length?cf(e,Jd(t,3),false,true):[]}var av=takeRightWhile;function takeWhile(e,t){return e&&e.length?cf(e,Jd(t,3)):[]}var rv=takeWhile;function tap(e,t){t(e);return e}var sv=tap;var ov=Object.prototype;var uv=ov.hasOwnProperty;function customDefaultsAssignIn(e,t,i,n){if(e===undefined||Ji(e,ov[i])&&!uv.call(n,i)){return t}return e}var lv=customDefaultsAssignIn;var cv={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function escapeStringChar(e){return"\\"+cv[e]}var dv=escapeStringChar;var pv=/<%=([\s\S]+?)%>/g;var fv=pv;var hv=/<%-([\s\S]+?)%>/g;var mv=hv;var bv=/<%([\s\S]+?)%>/g;var gv=bv;var yv={escape:mv,evaluate:gv,interpolate:fv,variable:"",imports:{_:{escape:_f}}};var Sv=yv;var wv=/\b__p \+= '';/g,vv=/\b(__p \+=) '' \+/g,zv=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var jv=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var Ov=/($^)/;var kv=/['\n\r\u2028\u2029\\]/g;var Cv=Object.prototype;var Tv=Cv.hasOwnProperty;function template(e,t,i){var n=Sv.imports._.templateSettings||Sv;if(i&&sn(e,t,i)){t=undefined}e=jr(e);t=Aa({},t,n,lv);var a=Aa({},t.imports,n.imports,lv),r=ga(a),s=om(a,r);var o,u,l=0,c=t.interpolate||Ov,d="__p += '";var p=RegExp((t.escape||Ov).source+"|"+c.source+"|"+(c===fv?jv:Ov).source+"|"+(t.evaluate||Ov).source+"|$","g");var f=Tv.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/[\r\n]/g," ")+"\n":"";e.replace(p,function(t,i,n,a,r,s){n||(n=a);d+=e.slice(l,s).replace(kv,dv);if(i){o=true;d+="' +\n__e("+i+") +\n'"}if(r){u=true;d+="';\n"+r+";\n__p += '"}if(n){d+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"}l=s+t.length;return t});d+="';\n";var h=Tv.call(t,"variable")&&t.variable;if(!h){d="with (obj) {\n"+d+"\n}\n"}d=(u?d.replace(wv,""):d).replace(vv,"$1").replace(zv,"$1;");d="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\n"+"function print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=Xr(function(){return Function(r,f+"return "+d).apply(undefined,s)});m.source=d;if(Fr(m)){throw m}return m}var Rv=template;var Ev="Expected a function";function throttle(e,t,i){var n=true,a=true;if(typeof e!="function"){throw new TypeError(Ev)}if(te(i)){n="leading"in i?!!i.leading:n;a="trailing"in i?!!i.trailing:a}return Cp(e,t,{leading:n,maxWait:t,trailing:a})}var Av=throttle;function thru(e,t){return t(e)}var xv=thru;var Nv=9007199254740991;var Vv=4294967295;var Pv=Math.min;function times(e,t){e=pe(e);if(e<1||e>Nv){return[]}var i=Vv,n=Pv(e,Vv);t=ff(t);e-=Vv;var a=cn(n,t);while(++i<e){t(i)}return a}var Dv=times;function wrapperToIterator(){return this}var Iv=wrapperToIterator;function baseWrapperValue(e,t){var i=e;if(i instanceof at){i=i.value()}return Fs(t,function(e,t){return t.func.apply(t.thisArg,Ar([e],t.args))},i)}var _v=baseWrapperValue;function wrapperValue(){return _v(this.__wrapped__,this.__actions__)}var qv=wrapperValue;function toLower(e){return jr(e).toLowerCase()}var Bv=toLower;function toPath(e){if(K(e)){return W(e,Cr)}return L(e)?[e]:ht(zr(jr(e)))}var Mv=toPath;var Uv=9007199254740991;function toSafeInteger(e){return e?bu(pe(e),-Uv,Uv):e===0?e:0}var Lv=toSafeInteger;function toUpper(e){return jr(e).toUpperCase()}var Hv=toUpper;function transform_transform(e,t,i){var n=K(e),a=n||kn(e)||oa(e);t=Jd(t,4);if(i==null){var r=e&&e.constructor;if(a){i=n?new r:[]}else if(te(e)){i=we(r)?Ge(Br(e)):{}}else{i={}}}(a?qt:sp)(e,function(e,n,a){return t(i,e,n,a)});return i}var Qv=transform_transform;function charsEndIndex(e,t){var i=e.length;while(i--&&Lt(t,e[i],0)>-1){}return i}var Wv=charsEndIndex;function charsStartIndex(e,t){var i=-1,n=e.length;while(++i<n&&Lt(t,e[i],0)>-1){}return i}var Gv=charsStartIndex;var Kv=/^\s+|\s+$/g;function trim(e,t,i){e=jr(e);if(e&&(i||t===undefined)){return e.replace(Kv,"")}if(!e||!(t=X(t))){return e}var n=Qs(e),a=Qs(t),r=Gv(n,a),s=Wv(n,a)+1;return ps(n,r,s).join("")}var Jv=trim;var Fv=/\s+$/;function trimEnd(e,t,i){e=jr(e);if(e&&(i||t===undefined)){return e.replace(Fv,"")}if(!e||!(t=X(t))){return e}var n=Qs(e),a=Wv(n,Qs(t))+1;return ps(n,0,a).join("")}var Yv=trimEnd;var Xv=/^\s+/;function trimStart(e,t,i){e=jr(e);if(e&&(i||t===undefined)){return e.replace(Xv,"")}if(!e||!(t=X(t))){return e}var n=Qs(e),a=Gv(n,Qs(t));return ps(n,a).join("")}var Zv=trimStart;var $v=30,ez="...";var tz=/\w*$/;function truncate(e,t){var i=$v,n=ez;if(te(t)){var a="separator"in t?t.separator:a;i="length"in t?pe(t.length):i;n="omission"in t?X(t.omission):n}e=jr(e);var r=e.length;if(vs(e)){var s=Qs(e);r=s.length}if(i>=r){return e}var o=i-_y(n);if(o<1){return n}var u=s?ps(s,0,o).join(""):e.slice(0,o);if(a===undefined){return u+n}if(s){o+=u.length-o}if(Ob(a)){if(e.slice(o).search(a)){var l,c=u;if(!a.global){a=RegExp(a.source,jr(tz.exec(a))+"g")}a.lastIndex=0;while(l=a.exec(c)){var d=l.index}u=u.slice(0,d===undefined?o:d)}}else if(e.indexOf(X(a),o)!=o){var p=u.lastIndexOf(a);if(p>-1){u=u.slice(0,p)}}return u+n}var iz=truncate;function unary(e){return Gi(e,1)}var nz=unary;var az={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"};var rz=Ys(az);var sz=rz;var oz=/&(?:amp|lt|gt|quot|#39);/g,uz=RegExp(oz.source);function unescape_unescape(e){e=jr(e);return e&&uz.test(e)?e.replace(oz,sz):e}var lz=unescape_unescape;var cz=1/0;var dz=!($u&&1/nd(new $u([,-0]))[1]==cz)?rt:function(e){return new $u(e)};var pz=dz;var fz=200;function baseUniq(e,t,i){var n=-1,a=Ht,r=e.length,s=true,o=[],u=o;if(i){s=false;a=Fp}else if(r>=fz){var l=t?null:pz(e);if(l){return nd(l)}s=false;a=Zc;u=new Yc}else{u=t?[]:o}e:while(++n<r){var c=e[n],d=t?t(c):c;c=i||c!==0?c:0;if(s&&d===d){var p=u.length;while(p--){if(u[p]===d){continue e}}if(t){u.push(d)}o.push(c)}else if(!a(u,d,i)){if(u!==o){u.push(d)}o.push(c)}}return o}var hz=baseUniq;var mz=tn(function(e){return hz(Vr(e,1,Vp,true))});var bz=mz;var gz=tn(function(e){var t=ef(e);if(Vp(t)){t=undefined}return hz(Vr(e,1,Vp,true),Jd(t,2))});var yz=gz;var Sz=tn(function(e){var t=ef(e);t=typeof t=="function"?t:undefined;return hz(Vr(e,1,Vp,true),undefined,t)});var wz=Sz;function uniq(e){return e&&e.length?hz(e):[]}var vz=uniq;function uniqBy(e,t){return e&&e.length?hz(e,Jd(t,2)):[]}var zz=uniqBy;function uniqWith(e,t){t=typeof t=="function"?t:undefined;return e&&e.length?hz(e,undefined,t):[]}var jz=uniqWith;var Oz=0;function uniqueId(e){var t=++Oz;return jr(e)+t}var kz=uniqueId;function unset(e,t){return e==null?true:Ig(e,t)}var Cz=unset;var Tz=Math.max;function unzip(e){if(!(e&&e.length)){return[]}var t=0;e=Vu(e,function(e){if(Vp(e)){t=Tz(e.length,t);return true}});return cn(t,function(t){return W(e,Wd(t))})}var Rz=unzip;function unzipWith(e,t){if(!(e&&e.length)){return[]}var i=Rz(e);if(t==null){return i}return W(i,function(e){return Ye(t,undefined,e)})}var Ez=unzipWith;function baseUpdate(e,t,i,n){return Hg(e,t,i(Tr(e,t)),n)}var Az=baseUpdate;function update(e,t,i){return e==null?e:Az(e,t,ff(i))}var xz=update;function updateWith(e,t,i,n){n=typeof n=="function"?n:undefined;return e==null?e:Az(e,t,ff(i),n)}var Nz=updateWith;var Vz=nu(function(e,t,i){return e+(i?" ":"")+t.toUpperCase()});var Pz=Vz;function valuesIn(e){return e==null?[]:om(e,Ca(e))}var Dz=valuesIn;var Iz=tn(function(e,t){return Vp(e)?Xp(e,t):[]});var _z=Iz;function wrap(e,t){return Yy(ff(t),e)}var qz=wrap;var Bz=Dr(function(e){var t=e.length,i=t?e[0]:0,n=this.__wrapped__,a=function(t){return Er(t,e)};if(t>1||this.__actions__.length||!(n instanceof at)||!pi(i)){return this.thru(a)}n=n.slice(i,+i+(t?1:0));n.__actions__.push({func:xv,args:[a],thisArg:undefined});return new ft(n,this.__chain__).thru(function(e){if(t&&!e.length){e.push(undefined)}return e})});var Mz=Bz;function wrapperChain(){return pu(this)}var Uz=wrapperChain;function wrapperReverse(){var e=this.__wrapped__;if(e instanceof at){var t=e;if(this.__actions__.length){t=new at(this)}t=t.reverse();t.__actions__.push({func:xv,args:[ZS],thisArg:undefined});return new ft(t,this.__chain__)}return this.thru(ZS)}var Lz=wrapperReverse;function baseXor(e,t,i){var n=e.length;if(n<2){return n?hz(e[0]):[]}var a=-1,r=Array(n);while(++a<n){var s=e[a],o=-1;while(++o<n){if(o!=a){r[a]=Xp(r[a]||s,e[o],t,i)}}}return hz(Vr(r,1),t,i)}var Hz=baseXor;var Qz=tn(function(e){return Hz(Vu(e,Vp))});var Wz=Qz;var Gz=tn(function(e){var t=ef(e);if(Vp(t)){t=undefined}return Hz(Vu(e,Vp),Jd(t,2))});var Kz=Gz;var Jz=tn(function(e){var t=ef(e);t=typeof t=="function"?t:undefined;return Hz(Vu(e,Vp),undefined,t)});var Fz=Jz;var Yz=tn(Rz);var Xz=Yz;function baseZipObject(e,t,i){var n=-1,a=e.length,r=t.length,s={};while(++n<a){var o=n<r?t[n]:undefined;i(s,e[n],o)}return s}var Zz=baseZipObject;function zipObject(e,t){return Zz(e||[],t||[],Xi)}var $z=zipObject;function zipObjectDeep(e,t){return Zz(e||[],t||[],Hg)}var ej=zipObjectDeep;var tj=tn(function(e){var t=e.length,i=t>1?e[t-1]:undefined;i=typeof i=="function"?(e.pop(),i):undefined;return Ez(e,i)});var ij=tj;var nj={chunk:mu,compact:Wc,concat:Gc,difference:$p,differenceBy:nf,differenceWith:rf,drop:uf,dropRight:lf,dropRightWhile:df,dropWhile:pf,fill:Kf,findIndex:Zf,findLastIndex:rh,first:lh,flatten:Pr,flattenDeep:gh,flattenDepth:yh,fromPairs:_h,head:lh,indexOf:pm,initial:fm,intersection:ym,intersectionBy:wm,intersectionWith:zm,join:Ib,last:ef,lastIndexOf:Qb,nth:Pg,pull:fS,pullAll:dS,pullAllBy:hS,pullAllWith:mS,pullAt:wS,remove:QS,reverse:ZS,slice:bw,sortedIndex:xw,sortedIndexBy:Nw,sortedIndexOf:Vw,sortedLastIndex:Pw,sortedLastIndexBy:Dw,sortedLastIndexOf:Iw,sortedUniq:qw,sortedUniqBy:Bw,tail:tv,take:iv,takeRight:nv,takeRightWhile:av,takeWhile:rv,union:bz,unionBy:yz,unionWith:wz,uniq:vz,uniqBy:zz,uniqWith:jz,unzip:Rz,unzipWith:Ez,without:_z,xor:Wz,xorBy:Kz,xorWith:Fz,zip:Xz,zipObject:$z,zipObjectDeep:ej,zipWith:ij};var aj={countBy:mp,each:hf,eachRight:vf,every:Hf,filter:Ff,find:eh,findLast:oh,flatMap:ph,flatMapDeep:hh,flatMapDepth:mh,forEach:hf,forEachRight:vf,groupBy:Qh,includes:cm,invokeMap:Bm,keyBy:Mb,map:dh,orderBy:Zg,partition:tS,reduce:MS,reduceRight:LS,reject:HS,sample:nw,sampleSize:ow,shuffle:pw,size:mw,some:ww,sortBy:zw};var rj={now:zp};var sj={after:he,ary:Gi,before:$r,bind:ns,bindKey:cs,curry:yp,curryRight:wp,debounce:Cp,defer:Gp,delay:Jp,flip:wh,memoize:br,negate:Cg,once:Kg,overArgs:sy,partial:Yy,partialRight:$y,rearg:qS,rest:JS,spread:Qw,throttle:Av,unary:nz,wrap:qz};var oj={castArray:su,clone:Dc,cloneDeep:qc,cloneDeepWith:Uc,cloneWith:Hc,conformsTo:tp,eq:Ji,gt:Jh,gte:Yh,isArguments:gn,isArray:K,isArrayBuffer:Qm,isArrayLike:rn,isArrayLikeObject:Vp,isBoolean:Gm,isBuffer:kn,isDate:Xm,isElement:Zm,isEmpty:nb,isEqual:ab,isEqualWith:rb,isError:Fr,isFinite:ob,isFunction:we,isInteger:ub,isLength:an,isMap:Xl,isMatch:lb,isMatchWith:cb,isNaN:fb,isNative:gb,isNil:yb,isNull:Sb,isNumber:pb,isObject:te,isObjectLike:M,isPlainObject:Gr,isRegExp:Ob,isSafeInteger:Cb,isSet:ic,isString:sm,isSymbol:L,isTypedArray:oa,isUndefined:Tb,isWeakMap:Eb,isWeakSet:xb,lt:Xb,lte:$b,toArray:xg,toFinite:de,toInteger:pe,toLength:Wf,toNumber:ue,toPlainObject:Dp,toSafeInteger:Lv,toString:jr};var uj={add:ee,ceil:du,divide:of,floor:zh,max:og,maxBy:ug,mean:pg,meanBy:fg,min:wg,minBy:vg,multiply:Og,round:ew,subtract:Zw,sum:$w,sumBy:ev};var lj={clamp:gu,inRange:am,random:TS};var cj={assign:va,assignIn:Ra,assignInWith:Aa,assignWith:Na,at:_r,create:bp,defaults:xp,defaultsDeep:Lp,entries:Ef,entriesIn:xf,extend:Ra,extendWith:Aa,findKey:ih,findLastKey:uh,forIn:Vh,forInRight:Ph,forOwn:Dh,forOwnRight:Ih,functions:Bh,functionsIn:Mh,get:Rr,has:em,hasIn:Ud,invert:Rm,invertBy:Vm,invoke:_m,keys:ga,keysIn:Ca,mapKeys:eg,mapValues:tg,merge:mg,mergeWith:Mp,omit:Lg,omitBy:Gg,pick:aS,pickBy:Wg,result:FS,set:uw,setWith:lw,toPairs:Ef,toPairsIn:xf,transform:Qv,unset:Cz,update:xz,updateWith:Nz,values:um,valuesIn:Dz};var dj={at:Mz,chain:pu,commit:Qc,lodash:yt,next:Ng,plant:rS,reverse:Lz,tap:sv,thru:xv,toIterator:Iv,toJSON:qv,value:qv,valueOf:qv,wrapperChain:Uz};var pj={camelCase:ru,capitalize:Js,deburr:oo,endsWith:zf,escape:_f,escapeRegExp:Mf,kebabCase:qb,lowerCase:Gb,lowerFirst:Jb,pad:Ly,padEnd:Hy,padStart:Qy,parseInt:Ky,repeat:WS,replace:GS,snakeCase:yw,split:Uw,startCase:Gw,startsWith:Kw,template:Rv,templateSettings:Sv,toLower:Bv,toUpper:Hv,trim:Jv,trimEnd:Yv,trimStart:Zv,truncate:iz,unescape:lz,upperCase:Pz,upperFirst:Ks,words:eu};var fj={attempt:Xr,bindAll:rs,cond:Yd,conforms:ep,constant:xt,defaultTo:Tp,flow:Ah,flowRight:Nh,identity:me,iteratee:Vb,matches:ng,matchesProperty:rg,method:gg,methodOf:Sg,mixin:zg,noop:rt,nthArg:Dg,over:ty,overEvery:uy,overSome:cy,property:Kd,propertyOf:sS,range:VS,rangeRight:DS,stubArray:Pu,stubFalse:yn,stubObject:Jw,stubString:Fw,stubTrue:Yw,times:Dv,toPath:Mv,uniqueId:kz};function lazyClone(){var e=new at(this.__wrapped__);e.__actions__=ht(this.__actions__);e.__dir__=this.__dir__;e.__filtered__=this.__filtered__;e.__iteratees__=ht(this.__iteratees__);e.__takeCount__=this.__takeCount__;e.__views__=ht(this.__views__);return e}var hj=lazyClone;function lazyReverse(){if(this.__filtered__){var e=new at(this);e.__dir__=-1;e.__filtered__=true}else{e=this.clone();e.__dir__*=-1}return e}var mj=lazyReverse;var bj=Math.max,gj=Math.min;function getView(e,t,i){var n=-1,a=i.length;while(++n<a){var r=i[n],s=r.size;switch(r.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=gj(t,e+s);break;case"takeRight":e=bj(e,t-s);break}}return{start:e,end:t}}var yj=getView;var Sj=1,wj=2;var vj=Math.min;function lazyValue(){var e=this.__wrapped__.value(),t=this.__dir__,i=K(e),n=t<0,a=i?e.length:0,r=yj(0,a,this.__views__),s=r.start,o=r.end,u=o-s,l=n?o:s-1,c=this.__iteratees__,d=c.length,p=0,f=vj(u,this.__takeCount__);if(!i||!n&&a==u&&f==u){return _v(e,this.__actions__)}var h=[];e:while(u--&&p<f){l+=t;var m=-1,b=e[l];while(++m<d){var g=c[m],y=g.iteratee,S=g.type,w=y(b);if(S==wj){b=w}else if(!w){if(S==Sj){continue e}else{break e}}}h[p++]=b}return h}var zj=lazyValue;var jj="4.17.15";var Oj=2;var kj=1,Cj=3;var Tj=4294967295;var Rj=Array.prototype,Ej=Object.prototype;var Aj=Ej.hasOwnProperty;var xj=T?T.iterator:undefined;var Nj=Math.max,Vj=Math.min;var Pj=function(e){return function(t,i,n){if(n==null){var a=te(i),r=a&&ga(i),s=r&&r.length&&qh(i,r);if(!(s?s.length:a)){n=i;i=t;t=this}}return e(t,i,n)}}(zg);yt.after=sj.after;yt.ary=sj.ary;yt.assign=cj.assign;yt.assignIn=cj.assignIn;yt.assignInWith=cj.assignInWith;yt.assignWith=cj.assignWith;yt.at=cj.at;yt.before=sj.before;yt.bind=sj.bind;yt.bindAll=fj.bindAll;yt.bindKey=sj.bindKey;yt.castArray=oj.castArray;yt.chain=dj.chain;yt.chunk=nj.chunk;yt.compact=nj.compact;yt.concat=nj.concat;yt.cond=fj.cond;yt.conforms=fj.conforms;yt.constant=fj.constant;yt.countBy=aj.countBy;yt.create=cj.create;yt.curry=sj.curry;yt.curryRight=sj.curryRight;yt.debounce=sj.debounce;yt.defaults=cj.defaults;yt.defaultsDeep=cj.defaultsDeep;yt.defer=sj.defer;yt.delay=sj.delay;yt.difference=nj.difference;yt.differenceBy=nj.differenceBy;yt.differenceWith=nj.differenceWith;yt.drop=nj.drop;yt.dropRight=nj.dropRight;yt.dropRightWhile=nj.dropRightWhile;yt.dropWhile=nj.dropWhile;yt.fill=nj.fill;yt.filter=aj.filter;yt.flatMap=aj.flatMap;yt.flatMapDeep=aj.flatMapDeep;yt.flatMapDepth=aj.flatMapDepth;yt.flatten=nj.flatten;yt.flattenDeep=nj.flattenDeep;yt.flattenDepth=nj.flattenDepth;yt.flip=sj.flip;yt.flow=fj.flow;yt.flowRight=fj.flowRight;yt.fromPairs=nj.fromPairs;yt.functions=cj.functions;yt.functionsIn=cj.functionsIn;yt.groupBy=aj.groupBy;yt.initial=nj.initial;yt.intersection=nj.intersection;yt.intersectionBy=nj.intersectionBy;yt.intersectionWith=nj.intersectionWith;yt.invert=cj.invert;yt.invertBy=cj.invertBy;yt.invokeMap=aj.invokeMap;yt.iteratee=fj.iteratee;yt.keyBy=aj.keyBy;yt.keys=ga;yt.keysIn=cj.keysIn;yt.map=aj.map;yt.mapKeys=cj.mapKeys;yt.mapValues=cj.mapValues;yt.matches=fj.matches;yt.matchesProperty=fj.matchesProperty;yt.memoize=sj.memoize;yt.merge=cj.merge;yt.mergeWith=cj.mergeWith;yt.method=fj.method;yt.methodOf=fj.methodOf;yt.mixin=Pj;yt.negate=Cg;yt.nthArg=fj.nthArg;yt.omit=cj.omit;yt.omitBy=cj.omitBy;yt.once=sj.once;yt.orderBy=aj.orderBy;yt.over=fj.over;yt.overArgs=sj.overArgs;yt.overEvery=fj.overEvery;yt.overSome=fj.overSome;yt.partial=sj.partial;yt.partialRight=sj.partialRight;yt.partition=aj.partition;yt.pick=cj.pick;yt.pickBy=cj.pickBy;yt.property=fj.property;yt.propertyOf=fj.propertyOf;yt.pull=nj.pull;yt.pullAll=nj.pullAll;yt.pullAllBy=nj.pullAllBy;yt.pullAllWith=nj.pullAllWith;yt.pullAt=nj.pullAt;yt.range=fj.range;yt.rangeRight=fj.rangeRight;yt.rearg=sj.rearg;yt.reject=aj.reject;yt.remove=nj.remove;yt.rest=sj.rest;yt.reverse=nj.reverse;yt.sampleSize=aj.sampleSize;yt.set=cj.set;yt.setWith=cj.setWith;yt.shuffle=aj.shuffle;yt.slice=nj.slice;yt.sortBy=aj.sortBy;yt.sortedUniq=nj.sortedUniq;yt.sortedUniqBy=nj.sortedUniqBy;yt.split=pj.split;yt.spread=sj.spread;yt.tail=nj.tail;yt.take=nj.take;yt.takeRight=nj.takeRight;yt.takeRightWhile=nj.takeRightWhile;yt.takeWhile=nj.takeWhile;yt.tap=dj.tap;yt.throttle=sj.throttle;yt.thru=xv;yt.toArray=oj.toArray;yt.toPairs=cj.toPairs;yt.toPairsIn=cj.toPairsIn;yt.toPath=fj.toPath;yt.toPlainObject=oj.toPlainObject;yt.transform=cj.transform;yt.unary=sj.unary;yt.union=nj.union;yt.unionBy=nj.unionBy;yt.unionWith=nj.unionWith;yt.uniq=nj.uniq;yt.uniqBy=nj.uniqBy;yt.uniqWith=nj.uniqWith;yt.unset=cj.unset;yt.unzip=nj.unzip;yt.unzipWith=nj.unzipWith;yt.update=cj.update;yt.updateWith=cj.updateWith;yt.values=cj.values;yt.valuesIn=cj.valuesIn;yt.without=nj.without;yt.words=pj.words;yt.wrap=sj.wrap;yt.xor=nj.xor;yt.xorBy=nj.xorBy;yt.xorWith=nj.xorWith;yt.zip=nj.zip;yt.zipObject=nj.zipObject;yt.zipObjectDeep=nj.zipObjectDeep;yt.zipWith=nj.zipWith;yt.entries=cj.toPairs;yt.entriesIn=cj.toPairsIn;yt.extend=cj.assignIn;yt.extendWith=cj.assignInWith;Pj(yt,yt);yt.add=uj.add;yt.attempt=fj.attempt;yt.camelCase=pj.camelCase;yt.capitalize=pj.capitalize;yt.ceil=uj.ceil;yt.clamp=lj.clamp;yt.clone=oj.clone;yt.cloneDeep=oj.cloneDeep;yt.cloneDeepWith=oj.cloneDeepWith;yt.cloneWith=oj.cloneWith;yt.conformsTo=oj.conformsTo;yt.deburr=pj.deburr;yt.defaultTo=fj.defaultTo;yt.divide=uj.divide;yt.endsWith=pj.endsWith;yt.eq=oj.eq;yt.escape=pj.escape;yt.escapeRegExp=pj.escapeRegExp;yt.every=aj.every;yt.find=aj.find;yt.findIndex=nj.findIndex;yt.findKey=cj.findKey;yt.findLast=aj.findLast;yt.findLastIndex=nj.findLastIndex;yt.findLastKey=cj.findLastKey;yt.floor=uj.floor;yt.forEach=aj.forEach;yt.forEachRight=aj.forEachRight;yt.forIn=cj.forIn;yt.forInRight=cj.forInRight;yt.forOwn=cj.forOwn;yt.forOwnRight=cj.forOwnRight;yt.get=cj.get;yt.gt=oj.gt;yt.gte=oj.gte;yt.has=cj.has;yt.hasIn=cj.hasIn;yt.head=nj.head;yt.identity=me;yt.includes=aj.includes;yt.indexOf=nj.indexOf;yt.inRange=lj.inRange;yt.invoke=cj.invoke;yt.isArguments=oj.isArguments;yt.isArray=K;yt.isArrayBuffer=oj.isArrayBuffer;yt.isArrayLike=oj.isArrayLike;yt.isArrayLikeObject=oj.isArrayLikeObject;yt.isBoolean=oj.isBoolean;yt.isBuffer=oj.isBuffer;yt.isDate=oj.isDate;yt.isElement=oj.isElement;yt.isEmpty=oj.isEmpty;yt.isEqual=oj.isEqual;yt.isEqualWith=oj.isEqualWith;yt.isError=oj.isError;yt.isFinite=oj.isFinite;yt.isFunction=oj.isFunction;yt.isInteger=oj.isInteger;yt.isLength=oj.isLength;yt.isMap=oj.isMap;yt.isMatch=oj.isMatch;yt.isMatchWith=oj.isMatchWith;yt.isNaN=oj.isNaN;yt.isNative=oj.isNative;yt.isNil=oj.isNil;yt.isNull=oj.isNull;yt.isNumber=oj.isNumber;yt.isObject=te;yt.isObjectLike=oj.isObjectLike;yt.isPlainObject=oj.isPlainObject;yt.isRegExp=oj.isRegExp;yt.isSafeInteger=oj.isSafeInteger;yt.isSet=oj.isSet;yt.isString=oj.isString;yt.isSymbol=oj.isSymbol;yt.isTypedArray=oj.isTypedArray;yt.isUndefined=oj.isUndefined;yt.isWeakMap=oj.isWeakMap;yt.isWeakSet=oj.isWeakSet;yt.join=nj.join;yt.kebabCase=pj.kebabCase;yt.last=ef;yt.lastIndexOf=nj.lastIndexOf;yt.lowerCase=pj.lowerCase;yt.lowerFirst=pj.lowerFirst;yt.lt=oj.lt;yt.lte=oj.lte;yt.max=uj.max;yt.maxBy=uj.maxBy;yt.mean=uj.mean;yt.meanBy=uj.meanBy;yt.min=uj.min;yt.minBy=uj.minBy;yt.stubArray=fj.stubArray;yt.stubFalse=fj.stubFalse;yt.stubObject=fj.stubObject;yt.stubString=fj.stubString;yt.stubTrue=fj.stubTrue;yt.multiply=uj.multiply;yt.nth=nj.nth;yt.noop=fj.noop;yt.now=rj.now;yt.pad=pj.pad;yt.padEnd=pj.padEnd;yt.padStart=pj.padStart;yt.parseInt=pj.parseInt;yt.random=lj.random;yt.reduce=aj.reduce;yt.reduceRight=aj.reduceRight;yt.repeat=pj.repeat;yt.replace=pj.replace;yt.result=cj.result;yt.round=uj.round;yt.sample=aj.sample;yt.size=aj.size;yt.snakeCase=pj.snakeCase;yt.some=aj.some;yt.sortedIndex=nj.sortedIndex;yt.sortedIndexBy=nj.sortedIndexBy;yt.sortedIndexOf=nj.sortedIndexOf;yt.sortedLastIndex=nj.sortedLastIndex;yt.sortedLastIndexBy=nj.sortedLastIndexBy;yt.sortedLastIndexOf=nj.sortedLastIndexOf;yt.startCase=pj.startCase;yt.startsWith=pj.startsWith;yt.subtract=uj.subtract;yt.sum=uj.sum;yt.sumBy=uj.sumBy;yt.template=pj.template;yt.times=fj.times;yt.toFinite=oj.toFinite;yt.toInteger=pe;yt.toLength=oj.toLength;yt.toLower=pj.toLower;yt.toNumber=oj.toNumber;yt.toSafeInteger=oj.toSafeInteger;yt.toString=oj.toString;yt.toUpper=pj.toUpper;yt.trim=pj.trim;yt.trimEnd=pj.trimEnd;yt.trimStart=pj.trimStart;yt.truncate=pj.truncate;yt.unescape=pj.unescape;yt.uniqueId=fj.uniqueId;yt.upperCase=pj.upperCase;yt.upperFirst=pj.upperFirst;yt.each=aj.forEach;yt.eachRight=aj.forEachRight;yt.first=nj.head;Pj(yt,function(){var e={};sp(yt,function(t,i){if(!Aj.call(yt.prototype,i)){e[i]=t}});return e}(),{chain:false});yt.VERSION=jj;(yt.templateSettings=pj.templateSettings).imports._=yt;qt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){yt[e].placeholder=yt});qt(["drop","take"],function(e,t){at.prototype[e]=function(i){i=i===undefined?1:Nj(pe(i),0);var n=this.__filtered__&&!t?new at(this):this.clone();if(n.__filtered__){n.__takeCount__=Vj(i,n.__takeCount__)}else{n.__views__.push({size:Vj(i,Tj),type:e+(n.__dir__<0?"Right":"")})}return n};at.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}});qt(["filter","map","takeWhile"],function(e,t){var i=t+1,n=i==kj||i==Cj;at.prototype[e]=function(e){var t=this.clone();t.__iteratees__.push({iteratee:Jd(e,3),type:i});t.__filtered__=t.__filtered__||n;return t}});qt(["head","last"],function(e,t){var i="take"+(t?"Right":"");at.prototype[e]=function(){return this[i](1).value()[0]}});qt(["initial","tail"],function(e,t){var i="drop"+(t?"":"Right");at.prototype[e]=function(){return this.__filtered__?new at(this):this[i](1)}});at.prototype.compact=function(){return this.filter(me)};at.prototype.find=function(e){return this.filter(e).head()};at.prototype.findLast=function(e){return this.reverse().find(e)};at.prototype.invokeMap=tn(function(e,t){if(typeof e=="function"){return new at(this)}return this.map(function(i){return Dm(i,e,t)})});at.prototype.reject=function(e){return this.filter(Cg(Jd(e)))};at.prototype.slice=function(e,t){e=pe(e);var i=this;if(i.__filtered__&&(e>0||t<0)){return new at(i)}if(e<0){i=i.takeRight(-e)}else if(e){i=i.drop(e)}if(t!==undefined){t=pe(t);i=t<0?i.dropRight(-t):i.take(t-e)}return i};at.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()};at.prototype.toArray=function(){return this.take(Tj)};sp(at.prototype,function(e,t){var i=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),a=yt[n?"take"+(t=="last"?"Right":""):t],r=n||/^find/.test(t);if(!a){return}yt.prototype[t]=function(){var t=this.__wrapped__,s=n?[1]:arguments,o=t instanceof at,u=s[0],l=o||K(t);var c=function(e){var t=a.apply(yt,Ar([e],s));return n&&d?t[0]:t};if(l&&i&&typeof u=="function"&&u.length!=1){o=l=false}var d=this.__chain__,p=!!this.__actions__.length,f=r&&!d,h=o&&!p;if(!r&&l){t=h?t:new at(this);var m=e.apply(t,s);m.__actions__.push({func:xv,args:[c],thisArg:undefined});return new ft(m,d)}if(f&&h){return e.apply(this,s)}m=this.thru(c);return f?n?m.value()[0]:m.value():m}});qt(["pop","push","shift","sort","splice","unshift"],function(e){var t=Rj[e],i=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);yt.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var a=this.value();return t.apply(K(a)?a:[],e)}return this[i](function(i){return t.apply(K(i)?i:[],e)})}});sp(at.prototype,function(e,t){var i=yt[t];if(i){var n=i.name+"";if(!Aj.call(lt,n)){lt[n]=[]}lt[n].push({name:t,func:i})}});lt[ji(undefined,Oj).name]=[{name:"wrapper",func:undefined}];at.prototype.clone=hj;at.prototype.reverse=mj;at.prototype.value=zj;yt.prototype.at=dj.at;yt.prototype.chain=dj.wrapperChain;yt.prototype.commit=dj.commit;yt.prototype.next=dj.next;yt.prototype.plant=dj.plant;yt.prototype.reverse=dj.reverse;yt.prototype.toJSON=yt.prototype.valueOf=yt.prototype.value=dj.value;yt.prototype.first=yt.prototype.head;if(xj){yt.prototype[xj]=dj.toIterator}var Dj=yt;class image_tag_ImageTag{constructor(e){const{repository:t="unityci",name:i="editor",version:n="2019.2.11f1",platform:a,customImage:r}=e;if(!image_tag_ImageTag.versionPattern.test(n)){throw new Error(`Invalid version "${n}".`)}const s=image_tag_ImageTag.getTargetPlatformToImageSuffixMap(a,n);Object.assign(this,{repository:t,name:i,version:n,platform:a,builderPlatform:s,customImage:r})}static get versionPattern(){return/^20\d{2}\.\d\.\w{3,4}|3$/}static get imageSuffixes(){return{generic:"",webgl:"webgl",mac:"mac-mono",windows:"windows-mono",linux:"base",linuxIl2cpp:"linux-il2cpp",android:"android",ios:"ios",facebook:"facebook"}}static getTargetPlatformToImageSuffixMap(e,t){const{generic:i,webgl:n,mac:a,windows:r,linux:s,linuxIl2cpp:o,android:l,ios:c,facebook:d}=image_tag_ImageTag.imageSuffixes;const[p,f]=t.split(".").map(e=>Number(e));switch(e){case u.types.StandaloneOSX:return a;case u.types.StandaloneWindows:return r;case u.types.StandaloneWindows64:return r;case u.types.StandaloneLinux64:{if(p>=2020||p===2019&&f>=3){return o}return s}case u.types.iOS:return c;case u.types.Android:return l;case u.types.WebGL:return n;case u.types.WSAPlayer:return r;case u.types.PS4:return r;case u.types.XboxOne:return r;case u.types.tvOS:return r;case u.types.Switch:return r;case u.types.Lumin:return r;case u.types.BJM:return r;case u.types.Stadia:return r;case u.types.Facebook:return d;case u.types.NoTarget:return i;case u.types.Test:return i;default:throw new Error(`\n Platform must be one of the ones described in the documentation.\n "${e}" is currently not supported.`)}}get tag(){return Yv(`${this.version}-${this.builderPlatform}`,"-")}get image(){return Zv(`${this.repository}/${this.name}`,"/")}toString(){const{image:e,tag:t}=this;if(this.customImage&&this.customImage!==""){return this.customImage}return`${e}:${t}-0`}}var Ij=image_tag_ImageTag;class docker_Docker{static async build(e,t=false){const{path:i,dockerfile:n,baseImage:a}=e;const{version:r,platform:s}=a;const o=new Ij({repository:"",name:"unity-builder",version:r,platform:s});const u=`docker build ${i} --file ${n} --build-arg IMAGE=${a} --tag ${o}`;await Object(m.exec)(u,undefined,{silent:t});return o}static async run(e,t,i=false){const{version:n,workspace:a,runnerTempPath:r,platform:s,projectPath:o,buildName:u,buildPath:l,buildFile:c,buildMethod:d,buildVersion:p,androidVersionCode:f,androidKeystoreName:h,androidKeystoreBase64:b,androidKeystorePass:g,androidKeyaliasName:y,androidKeyaliasPass:S,customParameters:w}=t;const v=`docker run --workdir /github/workspace --rm --env UNITY_LICENSE --env UNITY_LICENSE_FILE --env UNITY_EMAIL --env UNITY_PASSWORD --env UNITY_SERIAL --env UNITY_VERSION="${n}" --env PROJECT_PATH="${o}" --env BUILD_TARGET="${s}" --env BUILD_NAME="${u}" --env BUILD_PATH="${l}" --env BUILD_FILE="${c}" --env BUILD_METHOD="${d}" --env VERSION="${p}" --env ANDROID_VERSION_CODE="${f}" --env ANDROID_KEYSTORE_NAME="${h}" --env ANDROID_KEYSTORE_BASE64="${b}" --env ANDROID_KEYSTORE_PASS="${g}" --env ANDROID_KEYALIAS_NAME="${y}" --env ANDROID_KEYALIAS_PASS="${S}" --env CUSTOM_PARAMETERS="${w}" --env HOME=/github/home --env GITHUB_REF --env GITHUB_SHA --env GITHUB_REPOSITORY --env GITHUB_ACTOR --env GITHUB_WORKFLOW --env GITHUB_HEAD_REF --env GITHUB_BASE_REF --env GITHUB_EVENT_NAME --env GITHUB_WORKSPACE=/github/workspace --env GITHUB_ACTION --env GITHUB_EVENT_PATH --env RUNNER_OS --env RUNNER_TOOL_CACHE --env RUNNER_TEMP --env RUNNER_WORKSPACE --volume "/var/run/docker.sock":"/var/run/docker.sock" --volume "${r}/_github_home":"/github/home" --volume "${r}/_github_workflow":"/github/workflow" --volume "${a}":"/github/workspace" ${e}`;await Object(m.exec)(v,undefined,{silent:i})}}var _j=docker_Docker;const qj=i(470);class Output{static async setBuildVersion(e){await qj.setOutput("buildVersion",e)}}var Bj=Output;var Mj=i(868);var Uj=i(610);var Lj=i.n(Uj);const Hj=i(470);const Qj=i(870);const Wj=1e4;class kubernetes_Kubernetes{static async runBuildJob(e,t){const i=new Mj.KubeConfig;i.loadFromString(Qj.decode(e.kubeConfig));const n=new Lj.a({kubeconfig:i});const a=new Mj.Client(n);await a.loadSpec();const r=kubernetes_Kubernetes.uuidv4();const s=`unity-builder-pvc-${r}`;const o=`build-credentials-${r}`;const u=`unity-builder-job-${r}`;const l="default";Object.assign(this,{kubeClient:a,buildId:r,buildParameters:e,baseImage:t,pvcName:s,secretName:o,jobName:u,namespace:l});await kubernetes_Kubernetes.createSecret();await kubernetes_Kubernetes.createPersistentVolumeClaim();await kubernetes_Kubernetes.scheduleBuildJob();await kubernetes_Kubernetes.watchBuildJobUntilFinished();await kubernetes_Kubernetes.cleanup();Hj.setOutput("volume",s)}static async createSecret(){const e={apiVersion:"v1",kind:"Secret",metadata:{name:this.secretName},type:"Opaque",data:{GITHUB_TOKEN:Qj.encode(this.buildParameters.githubToken),UNITY_LICENSE:Qj.encode(process.env.UNITY_LICENSE),ANDROID_KEYSTORE_BASE64:Qj.encode(this.buildParameters.androidKeystoreBase64),ANDROID_KEYSTORE_PASS:Qj.encode(this.buildParameters.androidKeystorePass),ANDROID_KEYALIAS_PASS:Qj.encode(this.buildParameters.androidKeyaliasPass)}};await this.kubeClient.api.v1.namespaces(this.namespace).secrets.post({body:e})}static async createPersistentVolumeClaim(){if(this.buildParameters.kubeVolume){Hj.info(this.buildParameters.kubeVolume);this.pvcName=this.buildParameters.kubeVolume;return}const e={apiVersion:"v1",kind:"PersistentVolumeClaim",metadata:{name:this.pvcName},spec:{accessModes:["ReadWriteOnce"],volumeMode:"Filesystem",resources:{requests:{storage:this.buildParameters.kubeVolumeSize}}}};await this.kubeClient.api.v1.namespaces(this.namespace).persistentvolumeclaims.post({body:e});Hj.info("Persistent Volume created, waiting for ready state...");await kubernetes_Kubernetes.watchPersistentVolumeClaimUntilReady();Hj.info("Persistent Volume ready for claims")}static async watchPersistentVolumeClaimUntilReady(){await new Promise(e=>setTimeout(e,Wj));const e=await this.kubeClient.api.v1.namespaces(this.namespace).persistentvolumeclaims(this.pvcName).get();if(e.body.status.phase==="Pending"){await kubernetes_Kubernetes.watchPersistentVolumeClaimUntilReady()}}static async scheduleBuildJob(){Hj.info("Creating build job");const e={apiVersion:"batch/v1",kind:"Job",metadata:{name:this.jobName,labels:{app:"unity-builder"}},spec:{template:{backoffLimit:1,spec:{volumes:[{name:"data",persistentVolumeClaim:{claimName:this.pvcName}},{name:"credentials",secret:{secretName:this.secretName}}],initContainers:[{name:"clone",image:"alpine/git",command:["/bin/sh","-c",`apk update;\n apk add git-lfs;\n export GITHUB_TOKEN=$(cat /credentials/GITHUB_TOKEN);\n cd /data;\n git clone https://github.com/${process.env.GITHUB_REPOSITORY}.git repo;\n git clone https://github.com/webbertakken/unity-builder.git builder;\n cd repo;\n git checkout $GITHUB_SHA;\n ls`],volumeMounts:[{name:"data",mountPath:"/data"},{name:"credentials",mountPath:"/credentials",readOnly:true}],env:[{name:"GITHUB_SHA",value:this.buildId}]}],containers:[{name:"main",image:`${this.baseImage.toString()}`,command:["bin/bash","-c",`for f in ./credentials/*; do export $(basename $f)="$(cat $f)"; done\n cp -r /data/builder/action/default-build-script /UnityBuilderAction\n cp -r /data/builder/action/entrypoint.sh /entrypoint.sh\n cp -r /data/builder/action/steps /steps\n chmod -R +x /entrypoint.sh;\n chmod -R +x /steps;\n /entrypoint.sh;\n `],resources:{requests:{memory:this.buildParameters.kubeContainerMemory,cpu:this.buildParameters.kubeContainerCPU}},env:[{name:"GITHUB_WORKSPACE",value:"/data/repo"},{name:"PROJECT_PATH",value:this.buildParameters.projectPath},{name:"BUILD_PATH",value:this.buildParameters.buildPath},{name:"BUILD_FILE",value:this.buildParameters.buildFile},{name:"BUILD_NAME",value:this.buildParameters.buildName},{name:"BUILD_METHOD",value:this.buildParameters.buildMethod},{name:"CUSTOM_PARAMETERS",value:this.buildParameters.customParameters},{name:"BUILD_TARGET",value:this.buildParameters.platform},{name:"ANDROID_VERSION_CODE",value:this.buildParameters.androidVersionCode.toString()},{name:"ANDROID_KEYSTORE_NAME",value:this.buildParameters.androidKeystoreName},{name:"ANDROID_KEYALIAS_NAME",value:this.buildParameters.androidKeyaliasName}],volumeMounts:[{name:"data",mountPath:"/data"},{name:"credentials",mountPath:"/credentials",readOnly:true}],lifeCycle:{preStop:{exec:{command:["bin/bash","-c",`cd /data/builder/action/steps;\n chmod +x /return_license.sh;\n /return_license.sh;`]}}}}],restartPolicy:"Never"}}}};await this.kubeClient.apis.batch.v1.namespaces(this.namespace).jobs.post({body:e});Hj.info("Job created")}static async watchBuildJobUntilFinished(){let e;let t=false;while(!t){await new Promise(e=>setTimeout(e,Wj));const i=await this.kubeClient.api.v1.namespaces(this.namespace).pods.get();for(let n=0;n<i.body.items.length;n++){const a=i.body.items[n];if(a.metadata.labels["job-name"]===this.jobName){if(a.status.phase!=="Pending"){Hj.info("Pod no longer pending");if(a.status.phase==="Failure"){Hj.error("Kubernetes job failed")}else{t=true;e=a.metadata.name}}}}}Hj.info(`Watching build job ${e}`);let i;let n=false;while(!n){await new Promise(e=>setTimeout(e,Wj));const t=await this.kubeClient.api.v1.namespaces(this.namespace).pod(e).get();if(t.body.status.phase!=="Running"){n=true}const a=await this.kubeClient.api.v1.namespaces(this.namespace).pod(e).log.get({qs:{sinceTime:i,timestamps:true}});if(a.body!==undefined){const e=a.body.match(/[^\n\r]+/g).reverse();for(let t=0;t<e.length;t+=1){const n=e[t];const[a,...r]=n.split(" ");if(a!==i){Hj.info(r.join(" "))}else{break}}if(t.body.status.phase==="Failed"){throw new Error("Kubernetes job failed")}i=e[0].split(" ")[0]}}}static async cleanup(){await this.kubeClient.apis.batch.v1.namespaces(this.namespace).jobs(this.jobName).delete();await this.kubeClient.api.v1.namespaces(this.namespace).secrets(this.secretName).delete()}static uuidv4(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=Math.random()*16|0;const i=e==="x"?t:t&3|8;return i.toString(16)})}}var Gj=kubernetes_Kubernetes;const Kj=i(470);async function src_action(){r.checkCompatibility();w.verify();const{dockerfile:e,workspace:t,actionFolder:i}=r;const n=await g.create();const a=new Ij(n);if(n.kubeConfig){Kj.info("Building with Kubernetes");await Gj.runBuildJob(n,a)}else{const r=await _j.build({path:i,dockerfile:e,baseImage:a});await _j.run(r,{workspace:t,...n})}await Bj.setBuildVersion(n.buildVersion)}src_action().catch(e=>{Kj.setFailed(e.message)})},function(e,t,i){var n=i(357);var a=i(669);t.sprintf=jsSprintf;t.printf=jsPrintf;t.fprintf=jsFprintf;function jsSprintf(e){var t=["([^%]*)","%","(['\\-+ #0]*?)","([1-9]\\d*)?","(\\.([1-9]\\d*))?","[lhjztL]*?","([diouxXfFeEgGaAcCsSp%jr])"].join("");var i=new RegExp(t);var r=Array.prototype.slice.call(arguments,1);var s,o,u,l;var c,d,p,f,h;var m="";var b=1;n.equal("string",typeof e);while((h=i.exec(e))!==null){m+=h[1];e=e.substring(h[0].length);s=h[2]||"";o=h[3]||0;u=h[4]||"";l=h[6];c=false;p=false;d=" ";if(l=="%"){m+="%";continue}if(r.length===0)throw new Error("too few args to sprintf");f=r.shift();b++;if(s.match(/[\' #]/))throw new Error("unsupported flags: "+s);if(u.length>0)throw new Error("non-zero precision not supported");if(s.match(/-/))c=true;if(s.match(/0/))d="0";if(s.match(/\+/))p=true;switch(l){case"s":if(f===undefined||f===null)throw new Error("argument "+b+": attempted to print undefined or null "+"as a string");m+=doPad(d,o,c,f.toString());break;case"d":f=Math.floor(f);case"f":p=p&&f>0?"+":"";m+=p+doPad(d,o,c,f.toString());break;case"x":m+=doPad(d,o,c,f.toString(16));break;case"j":if(o===0)o=10;m+=a.inspect(f,false,o);break;case"r":m+=dumpException(f);break;default:throw new Error("unsupported conversion: "+l)}}m+=e;return m}function jsPrintf(){var e=Array.prototype.slice.call(arguments);e.unshift(process.stdout);jsFprintf.apply(null,e)}function jsFprintf(e){var t=Array.prototype.slice.call(arguments,1);return e.write(jsSprintf.apply(this,t))}function doPad(e,t,i,n){var a=n;while(a.length<t){if(i)a+=e;else a=e+a}return a}function dumpException(e){var t;if(!(e instanceof Error))throw new Error(jsSprintf("invalid type for %%r: %j",e));t="EXCEPTION: "+e.constructor.name+": "+e.stack;if(e.cause&&typeof e.cause==="function"){var i=e.cause();if(i){t+="\nCaused by: "+dumpException(i)}}return t}},,,,function(e,t,i){"use strict";var n=i(631);var a=i(835).parse;var r=i(669);var s=i(519);var o=i(627).Store;var u=i(349).MemoryCookieStore;var l=i(54).pathMatch;var c=i(459);var d;try{d=i(213)}catch(e){console.warn("tough-cookie: can't load punycode; won't use punycode for domain normalization")}var p=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/;var f=/[\x00-\x1F]/;var h=["\n","\r","\0"];var m=/[\x20-\x3A\x3C-\x7E]+/;var b=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/;var g={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11};var y=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var S=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var w=2147483647e3;var v=0;function parseDigits(e,t,i,n){var a=0;while(a<e.length){var r=e.charCodeAt(a);if(r<=47||r>=58){break}a++}if(a<t||a>i){return null}if(!n&&a!=e.length){return null}return parseInt(e.substr(0,a),10)}function parseTime(e){var t=e.split(":");var i=[0,0,0];if(t.length!==3){return null}for(var n=0;n<3;n++){var a=n==2;var r=parseDigits(t[n],1,2,a);if(r===null){return null}i[n]=r}return i}function parseMonth(e){e=String(e).substr(0,3).toLowerCase();var t=g[e];return t>=0?t:null}function parseDate(e){if(!e){return}var t=e.split(b);if(!t){return}var i=null;var n=null;var a=null;var r=null;var s=null;var o=null;for(var u=0;u<t.length;u++){var l=t[u].trim();if(!l.length){continue}var c;if(a===null){c=parseTime(l);if(c){i=c[0];n=c[1];a=c[2];continue}}if(r===null){c=parseDigits(l,1,2,true);if(c!==null){r=c;continue}}if(s===null){c=parseMonth(l);if(c!==null){s=c;continue}}if(o===null){c=parseDigits(l,2,4,true);if(c!==null){o=c;if(o>=70&&o<=99){o+=1900}else if(o>=0&&o<=69){o+=2e3}}}}if(r===null||s===null||o===null||a===null||r<1||r>31||o<1601||i>23||n>59||a>59){return}return new Date(Date.UTC(o,s,r,i,n,a))}function formatDate(e){var t=e.getUTCDate();t=t>=10?t:"0"+t;var i=e.getUTCHours();i=i>=10?i:"0"+i;var n=e.getUTCMinutes();n=n>=10?n:"0"+n;var a=e.getUTCSeconds();a=a>=10?a:"0"+a;return S[e.getUTCDay()]+", "+t+" "+y[e.getUTCMonth()]+" "+e.getUTCFullYear()+" "+i+":"+n+":"+a+" GMT"}function canonicalDomain(e){if(e==null){return null}e=e.trim().replace(/^\./,"");if(d&&/[^\u0001-\u007f]/.test(e)){e=d.toASCII(e)}return e.toLowerCase()}function domainMatch(e,t,i){if(e==null||t==null){return null}if(i!==false){e=canonicalDomain(e);t=canonicalDomain(t)}if(e==t){return true}if(n.isIP(e)){return false}var a=e.indexOf(t);if(a<=0){return false}if(e.length!==t.length+a){return false}if(e.substr(a-1,1)!=="."){return false}return true}function defaultPath(e){if(!e||e.substr(0,1)!=="/"){return"/"}if(e==="/"){return e}var t=e.lastIndexOf("/");if(t===0){return"/"}return e.slice(0,t)}function trimTerminator(e){for(var t=0;t<h.length;t++){var i=e.indexOf(h[t]);if(i!==-1){e=e.substr(0,i)}}return e}function parseCookiePair(e,t){e=trimTerminator(e);var i=e.indexOf("=");if(t){if(i===0){e=e.substr(1);i=e.indexOf("=")}}else{if(i<=0){return}}var n,a;if(i<=0){n="";a=e.trim()}else{n=e.substr(0,i).trim();a=e.substr(i+1).trim()}if(f.test(n)||f.test(a)){return}var r=new Cookie;r.key=n;r.value=a;return r}function parse(e,t){if(!t||typeof t!=="object"){t={}}e=e.trim();var i=e.indexOf(";");var n=i===-1?e:e.substr(0,i);var a=parseCookiePair(n,!!t.loose);if(!a){return}if(i===-1){return a}var r=e.slice(i+1).trim();if(r.length===0){return a}var s=r.split(";");while(s.length){var o=s.shift().trim();if(o.length===0){continue}var u=o.indexOf("=");var l,c;if(u===-1){l=o;c=null}else{l=o.substr(0,u);c=o.substr(u+1)}l=l.trim().toLowerCase();if(c){c=c.trim()}switch(l){case"expires":if(c){var d=parseDate(c);if(d){a.expires=d}}break;case"max-age":if(c){if(/^-?[0-9]+$/.test(c)){var p=parseInt(c,10);a.setMaxAge(p)}}break;case"domain":if(c){var f=c.trim().replace(/^\./,"");if(f){a.domain=f.toLowerCase()}}break;case"path":a.path=c&&c[0]==="/"?c:null;break;case"secure":a.secure=true;break;case"httponly":a.httpOnly=true;break;default:a.extensions=a.extensions||[];a.extensions.push(o);break}}return a}function jsonParse(e){var t;try{t=JSON.parse(e)}catch(e){return e}return t}function fromJSON(e){if(!e){return null}var t;if(typeof e==="string"){t=jsonParse(e);if(t instanceof Error){return null}}else{t=e}var i=new Cookie;for(var n=0;n<Cookie.serializableProperties.length;n++){var a=Cookie.serializableProperties[n];if(t[a]===undefined||t[a]===Cookie.prototype[a]){continue}if(a==="expires"||a==="creation"||a==="lastAccessed"){if(t[a]===null){i[a]=null}else{i[a]=t[a]=="Infinity"?"Infinity":new Date(t[a])}}else{i[a]=t[a]}}return i}function cookieCompare(e,t){var i=0;var n=e.path?e.path.length:0;var a=t.path?t.path.length:0;i=a-n;if(i!==0){return i}var r=e.creation?e.creation.getTime():w;var s=t.creation?t.creation.getTime():w;i=r-s;if(i!==0){return i}i=e.creationIndex-t.creationIndex;return i}function permutePath(e){if(e==="/"){return["/"]}if(e.lastIndexOf("/")===e.length-1){e=e.substr(0,e.length-1)}var t=[e];while(e.length>1){var i=e.lastIndexOf("/");if(i===0){break}e=e.substr(0,i);t.push(e)}t.push("/");return t}function getCookieContext(e){if(e instanceof Object){return e}try{e=decodeURI(e)}catch(e){}return a(e)}function Cookie(e){e=e||{};Object.keys(e).forEach(function(t){if(Cookie.prototype.hasOwnProperty(t)&&Cookie.prototype[t]!==e[t]&&t.substr(0,1)!=="_"){this[t]=e[t]}},this);this.creation=this.creation||new Date;Object.defineProperty(this,"creationIndex",{configurable:false,enumerable:false,writable:true,value:++Cookie.cookiesCreated})}Cookie.cookiesCreated=0;Cookie.parse=parse;Cookie.fromJSON=fromJSON;Cookie.prototype.key="";Cookie.prototype.value="";Cookie.prototype.expires="Infinity";Cookie.prototype.maxAge=null;Cookie.prototype.domain=null;Cookie.prototype.path=null;Cookie.prototype.secure=false;Cookie.prototype.httpOnly=false;Cookie.prototype.extensions=null;Cookie.prototype.hostOnly=null;Cookie.prototype.pathIsDefault=null;Cookie.prototype.creation=null;Cookie.prototype.lastAccessed=null;Object.defineProperty(Cookie.prototype,"creationIndex",{configurable:true,enumerable:false,writable:true,value:0});Cookie.serializableProperties=Object.keys(Cookie.prototype).filter(function(e){return!(Cookie.prototype[e]instanceof Function||e==="creationIndex"||e.substr(0,1)==="_")});Cookie.prototype.inspect=function inspect(){var e=Date.now();return'Cookie="'+this.toString()+"; hostOnly="+(this.hostOnly!=null?this.hostOnly:"?")+"; aAge="+(this.lastAccessed?e-this.lastAccessed.getTime()+"ms":"?")+"; cAge="+(this.creation?e-this.creation.getTime()+"ms":"?")+'"'};if(r.inspect.custom){Cookie.prototype[r.inspect.custom]=Cookie.prototype.inspect}Cookie.prototype.toJSON=function(){var e={};var t=Cookie.serializableProperties;for(var i=0;i<t.length;i++){var n=t[i];if(this[n]===Cookie.prototype[n]){continue}if(n==="expires"||n==="creation"||n==="lastAccessed"){if(this[n]===null){e[n]=null}else{e[n]=this[n]=="Infinity"?"Infinity":this[n].toISOString()}}else if(n==="maxAge"){if(this[n]!==null){e[n]=this[n]==Infinity||this[n]==-Infinity?this[n].toString():this[n]}}else{if(this[n]!==Cookie.prototype[n]){e[n]=this[n]}}}return e};Cookie.prototype.clone=function(){return fromJSON(this.toJSON())};Cookie.prototype.validate=function validate(){if(!p.test(this.value)){return false}if(this.expires!=Infinity&&!(this.expires instanceof Date)&&!parseDate(this.expires)){return false}if(this.maxAge!=null&&this.maxAge<=0){return false}if(this.path!=null&&!m.test(this.path)){return false}var e=this.cdomain();if(e){if(e.match(/\.$/)){return false}var t=s.getPublicSuffix(e);if(t==null){return false}}return true};Cookie.prototype.setExpires=function setExpires(e){if(e instanceof Date){this.expires=e}else{this.expires=parseDate(e)||"Infinity"}};Cookie.prototype.setMaxAge=function setMaxAge(e){if(e===Infinity||e===-Infinity){this.maxAge=e.toString()}else{this.maxAge=e}};Cookie.prototype.cookieString=function cookieString(){var e=this.value;if(e==null){e=""}if(this.key===""){return e}return this.key+"="+e};Cookie.prototype.toString=function toString(){var e=this.cookieString();if(this.expires!=Infinity){if(this.expires instanceof Date){e+="; Expires="+formatDate(this.expires)}else{e+="; Expires="+this.expires}}if(this.maxAge!=null&&this.maxAge!=Infinity){e+="; Max-Age="+this.maxAge}if(this.domain&&!this.hostOnly){e+="; Domain="+this.domain}if(this.path){e+="; Path="+this.path}if(this.secure){e+="; Secure"}if(this.httpOnly){e+="; HttpOnly"}if(this.extensions){this.extensions.forEach(function(t){e+="; "+t})}return e};Cookie.prototype.TTL=function TTL(e){if(this.maxAge!=null){return this.maxAge<=0?0:this.maxAge*1e3}var t=this.expires;if(t!=Infinity){if(!(t instanceof Date)){t=parseDate(t)||Infinity}if(t==Infinity){return Infinity}return t.getTime()-(e||Date.now())}return Infinity};Cookie.prototype.expiryTime=function expiryTime(e){if(this.maxAge!=null){var t=e||this.creation||new Date;var i=this.maxAge<=0?-Infinity:this.maxAge*1e3;return t.getTime()+i}if(this.expires==Infinity){return Infinity}return this.expires.getTime()};Cookie.prototype.expiryDate=function expiryDate(e){var t=this.expiryTime(e);if(t==Infinity){return new Date(w)}else if(t==-Infinity){return new Date(v)}else{return new Date(t)}};Cookie.prototype.isPersistent=function isPersistent(){return this.maxAge!=null||this.expires!=Infinity};Cookie.prototype.cdomain=Cookie.prototype.canonicalizedDomain=function canonicalizedDomain(){if(this.domain==null){return null}return canonicalDomain(this.domain)};function CookieJar(e,t){if(typeof t==="boolean"){t={rejectPublicSuffixes:t}}else if(t==null){t={}}if(t.rejectPublicSuffixes!=null){this.rejectPublicSuffixes=t.rejectPublicSuffixes}if(t.looseMode!=null){this.enableLooseMode=t.looseMode}if(!e){e=new u}this.store=e}CookieJar.prototype.store=null;CookieJar.prototype.rejectPublicSuffixes=true;CookieJar.prototype.enableLooseMode=false;var z=[];z.push("setCookie");CookieJar.prototype.setCookie=function(e,t,i,n){var a;var r=getCookieContext(t);if(i instanceof Function){n=i;i={}}var o=canonicalDomain(r.hostname);var u=this.enableLooseMode;if(i.loose!=null){u=i.loose}if(!(e instanceof Cookie)){e=Cookie.parse(e,{loose:u})}if(!e){a=new Error("Cookie failed to parse");return n(i.ignoreError?null:a)}var l=i.now||new Date;if(this.rejectPublicSuffixes&&e.domain){var c=s.getPublicSuffix(e.cdomain());if(c==null){a=new Error("Cookie has domain set to a public suffix");return n(i.ignoreError?null:a)}}if(e.domain){if(!domainMatch(o,e.cdomain(),false)){a=new Error("Cookie not in this host's domain. Cookie:"+e.cdomain()+" Request:"+o);return n(i.ignoreError?null:a)}if(e.hostOnly==null){e.hostOnly=false}}else{e.hostOnly=true;e.domain=o}if(!e.path||e.path[0]!=="/"){e.path=defaultPath(r.pathname);e.pathIsDefault=true}if(i.http===false&&e.httpOnly){a=new Error("Cookie is HttpOnly and this isn't an HTTP API");return n(i.ignoreError?null:a)}var d=this.store;if(!d.updateCookie){d.updateCookie=function(e,t,i){this.putCookie(t,i)}}function withCookie(t,a){if(t){return n(t)}var r=function(t){if(t){return n(t)}else{n(null,e)}};if(a){if(i.http===false&&a.httpOnly){t=new Error("old Cookie is HttpOnly and this isn't an HTTP API");return n(i.ignoreError?null:t)}e.creation=a.creation;e.creationIndex=a.creationIndex;e.lastAccessed=l;d.updateCookie(a,e,r)}else{e.creation=e.lastAccessed=l;d.putCookie(e,r)}}d.findCookie(e.domain,e.path,e.key,withCookie)};z.push("getCookies");CookieJar.prototype.getCookies=function(e,t,i){var n=getCookieContext(e);if(t instanceof Function){i=t;t={}}var a=canonicalDomain(n.hostname);var r=n.pathname||"/";var s=t.secure;if(s==null&&n.protocol&&(n.protocol=="https:"||n.protocol=="wss:")){s=true}var o=t.http;if(o==null){o=true}var u=t.now||Date.now();var c=t.expire!==false;var d=!!t.allPaths;var p=this.store;function matchingCookie(e){if(e.hostOnly){if(e.domain!=a){return false}}else{if(!domainMatch(a,e.domain,false)){return false}}if(!d&&!l(r,e.path)){return false}if(e.secure&&!s){return false}if(e.httpOnly&&!o){return false}if(c&&e.expiryTime()<=u){p.removeCookie(e.domain,e.path,e.key,function(){});return false}return true}p.findCookies(a,d?null:r,function(e,n){if(e){return i(e)}n=n.filter(matchingCookie);if(t.sort!==false){n=n.sort(cookieCompare)}var a=new Date;n.forEach(function(e){e.lastAccessed=a});i(null,n)})};z.push("getCookieString");CookieJar.prototype.getCookieString=function(){var e=Array.prototype.slice.call(arguments,0);var t=e.pop();var i=function(e,i){if(e){t(e)}else{t(null,i.sort(cookieCompare).map(function(e){return e.cookieString()}).join("; "))}};e.push(i);this.getCookies.apply(this,e)};z.push("getSetCookieStrings");CookieJar.prototype.getSetCookieStrings=function(){var e=Array.prototype.slice.call(arguments,0);var t=e.pop();var i=function(e,i){if(e){t(e)}else{t(null,i.map(function(e){return e.toString()}))}};e.push(i);this.getCookies.apply(this,e)};z.push("serialize");CookieJar.prototype.serialize=function(e){var t=this.store.constructor.name;if(t==="Object"){t=null}var i={version:"tough-cookie@"+c,storeType:t,rejectPublicSuffixes:!!this.rejectPublicSuffixes,cookies:[]};if(!(this.store.getAllCookies&&typeof this.store.getAllCookies==="function")){return e(new Error("store does not support getAllCookies and cannot be serialized"))}this.store.getAllCookies(function(t,n){if(t){return e(t)}i.cookies=n.map(function(e){e=e instanceof Cookie?e.toJSON():e;delete e.creationIndex;return e});return e(null,i)})};CookieJar.prototype.toJSON=function(){return this.serializeSync()};z.push("_importCookies");CookieJar.prototype._importCookies=function(e,t){var i=this;var n=e.cookies;if(!n||!Array.isArray(n)){return t(new Error("serialized jar has no cookies array"))}n=n.slice();function putNext(e){if(e){return t(e)}if(!n.length){return t(e,i)}var a;try{a=fromJSON(n.shift())}catch(e){return t(e)}if(a===null){return putNext(null)}i.store.putCookie(a,putNext)}putNext()};CookieJar.deserialize=function(e,t,i){if(arguments.length!==3){i=t;t=null}var n;if(typeof e==="string"){n=jsonParse(e);if(n instanceof Error){return i(n)}}else{n=e}var a=new CookieJar(t,n.rejectPublicSuffixes);a._importCookies(n,function(e){if(e){return i(e)}i(null,a)})};CookieJar.deserializeSync=function(e,t){var i=typeof e==="string"?JSON.parse(e):e;var n=new CookieJar(t,i.rejectPublicSuffixes);if(!n.store.synchronous){throw new Error("CookieJar store is not synchronous; use async API instead.")}n._importCookiesSync(i);return n};CookieJar.fromJSON=CookieJar.deserializeSync;CookieJar.prototype.clone=function(e,t){if(arguments.length===1){t=e;e=null}this.serialize(function(i,n){if(i){return t(i)}CookieJar.deserialize(n,e,t)})};z.push("removeAllCookies");CookieJar.prototype.removeAllCookies=function(e){var t=this.store;if(t.removeAllCookies instanceof Function&&t.removeAllCookies!==o.prototype.removeAllCookies){return t.removeAllCookies(e)}t.getAllCookies(function(i,n){if(i){return e(i)}if(n.length===0){return e(null)}var a=0;var r=[];function removeCookieCb(t){if(t){r.push(t)}a++;if(a===n.length){return e(r.length?r[0]:null)}}n.forEach(function(e){t.removeCookie(e.domain,e.path,e.key,removeCookieCb)})})};CookieJar.prototype._cloneSync=syncWrap("clone");CookieJar.prototype.cloneSync=function(e){if(!e.synchronous){throw new Error("CookieJar clone destination store is not synchronous; use async API instead.")}return this._cloneSync(e)};function syncWrap(e){return function(){if(!this.store.synchronous){throw new Error("CookieJar store is not synchronous; use async API instead.")}var t=Array.prototype.slice.call(arguments);var i,n;t.push(function syncCb(e,t){i=e;n=t});this[e].apply(this,t);if(i){throw i}return n}}z.forEach(function(e){CookieJar.prototype[e+"Sync"]=syncWrap(e)});t.version=c;t.CookieJar=CookieJar;t.Cookie=Cookie;t.Store=o;t.MemoryCookieStore=u;t.parseDate=parseDate;t.formatDate=formatDate;t.parse=parse;t.fromJSON=fromJSON;t.domainMatch=domainMatch;t.defaultPath=defaultPath;t.pathMatch=l;t.getPublicSuffix=s.getPublicSuffix;t.cookieCompare=cookieCompare;t.permuteDomain=i(383).permuteDomain;t.permutePath=permutePath;t.canonicalDomain=canonicalDomain},function(e,t,i){"use strict";const n=i(612);const a=Symbol("max");const r=Symbol("length");const s=Symbol("lengthCalculator");const o=Symbol("allowStale");const u=Symbol("maxAge");const l=Symbol("dispose");const c=Symbol("noDisposeOnSet");const d=Symbol("lruList");const p=Symbol("cache");const f=Symbol("updateAgeOnGet");const h=()=>1;class LRUCache{constructor(e){if(typeof e==="number")e={max:e};if(!e)e={};if(e.max&&(typeof e.max!=="number"||e.max<0))throw new TypeError("max must be a non-negative number");const t=this[a]=e.max||Infinity;const i=e.length||h;this[s]=typeof i!=="function"?h:i;this[o]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[u]=e.maxAge||0;this[l]=e.dispose;this[c]=e.noDisposeOnSet||false;this[f]=e.updateAgeOnGet||false;this.reset()}set max(e){if(typeof e!=="number"||e<0)throw new TypeError("max must be a non-negative number");this[a]=e||Infinity;g(this)}get max(){return this[a]}set allowStale(e){this[o]=!!e}get allowStale(){return this[o]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[u]=e;g(this)}get maxAge(){return this[u]}set lengthCalculator(e){if(typeof e!=="function")e=h;if(e!==this[s]){this[s]=e;this[r]=0;this[d].forEach(e=>{e.length=this[s](e.value,e.key);this[r]+=e.length})}g(this)}get lengthCalculator(){return this[s]}get length(){return this[r]}get itemCount(){return this[d].length}rforEach(e,t){t=t||this;for(let i=this[d].tail;i!==null;){const n=i.prev;S(this,e,i,t);i=n}}forEach(e,t){t=t||this;for(let i=this[d].head;i!==null;){const n=i.next;S(this,e,i,t);i=n}}keys(){return this[d].toArray().map(e=>e.key)}values(){return this[d].toArray().map(e=>e.value)}reset(){if(this[l]&&this[d]&&this[d].length){this[d].forEach(e=>this[l](e.key,e.value))}this[p]=new Map;this[d]=new n;this[r]=0}dump(){return this[d].map(e=>b(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[d]}set(e,t,i){i=i||this[u];if(i&&typeof i!=="number")throw new TypeError("maxAge must be a number");const n=i?Date.now():0;const o=this[s](t,e);if(this[p].has(e)){if(o>this[a]){y(this,this[p].get(e));return false}const s=this[p].get(e);const u=s.value;if(this[l]){if(!this[c])this[l](e,u.value)}u.now=n;u.maxAge=i;u.value=t;this[r]+=o-u.length;u.length=o;this.get(e);g(this);return true}const f=new Entry(e,t,o,n,i);if(f.length>this[a]){if(this[l])this[l](e,t);return false}this[r]+=f.length;this[d].unshift(f);this[p].set(e,this[d].head);g(this);return true}has(e){if(!this[p].has(e))return false;const t=this[p].get(e).value;return!b(this,t)}get(e){return m(this,e,true)}peek(e){return m(this,e,false)}pop(){const e=this[d].tail;if(!e)return null;y(this,e);return e.value}del(e){y(this,this[p].get(e))}load(e){this.reset();const t=Date.now();for(let i=e.length-1;i>=0;i--){const n=e[i];const a=n.e||0;if(a===0)this.set(n.k,n.v);else{const e=a-t;if(e>0){this.set(n.k,n.v,e)}}}}prune(){this[p].forEach((e,t)=>m(this,t,false))}}const m=(e,t,i)=>{const n=e[p].get(t);if(n){const t=n.value;if(b(e,t)){y(e,n);if(!e[o])return undefined}else{if(i){if(e[f])n.value.now=Date.now();e[d].unshiftNode(n)}}return t.value}};const b=(e,t)=>{if(!t||!t.maxAge&&!e[u])return false;const i=Date.now()-t.now;return t.maxAge?i>t.maxAge:e[u]&&i>e[u]};const g=e=>{if(e[r]>e[a]){for(let t=e[d].tail;e[r]>e[a]&&t!==null;){const i=t.prev;y(e,t);t=i}}};const y=(e,t)=>{if(t){const i=t.value;if(e[l])e[l](i.key,i.value);e[r]-=i.length;e[p].delete(i.key);e[d].removeNode(t)}};class Entry{constructor(e,t,i,n,a){this.key=e;this.value=t;this.length=i;this.now=n;this.maxAge=a||0}}const S=(e,t,i,n)=>{let a=i.value;if(b(e,a)){y(e,i);if(!e[o])a=undefined}if(a)t.call(n,a.value,a.key,e)};e.exports=LRUCache},function(e){(function(t,i){if(typeof define==="function"&&define.amd){define([],function(){return i()})}else if(true&&e.exports){e.exports=i()}else{t.jsonSchema=i()}})(this,function(){var e=validate;e.Integer={type:"integer"};var t={String:String,Boolean:Boolean,Number:Number,Object:Object,Array:Array,Date:Date};e.validate=validate;function validate(e,t){return validate(e,t,{changing:false})}e.checkPropertyChange=function(e,t,i){return validate(e,t,{changing:i||"property"})};var validate=e._validate=function(e,i,n){if(!n)n={};var a=n.changing;function getType(e){return e.type||t[e.name]==e&&e.name.toLowerCase()}var r=[];function checkProp(e,t,i,s){var o;i+=i?typeof s=="number"?"["+s+"]":typeof s=="undefined"?"":"."+s:s;function addError(e){r.push({property:i,message:e})}if((typeof t!="object"||t instanceof Array)&&(i||typeof t!="function")&&!(t&&getType(t))){if(typeof t=="function"){if(!(e instanceof t)){addError("is not an instance of the class/constructor "+t.name)}}else if(t){addError("Invalid schema/property definition "+t)}return null}if(a&&t.readonly){addError("is a readonly field, it can not be changed")}if(t["extends"]){checkProp(e,t["extends"],i,s)}function checkType(e,t){if(e){if(typeof e=="string"&&e!="any"&&(e=="null"?t!==null:typeof t!=e)&&!(t instanceof Array&&e=="array")&&!(t instanceof Date&&e=="date")&&!(e=="integer"&&t%1===0)){return[{property:i,message:typeof t+" value found, but a "+e+" is required"}]}if(e instanceof Array){var n=[];for(var a=0;a<e.length;a++){if(!(n=checkType(e[a],t)).length){break}}if(n.length){return n}}else if(typeof e=="object"){var s=r;r=[];checkProp(t,e,i);var o=r;r=s;return o}}return[]}if(e===undefined){if(t.required){addError("is missing and it is required")}}else{r=r.concat(checkType(getType(t),e));if(t.disallow&&!checkType(t.disallow,e).length){addError(" disallowed value was matched")}if(e!==null){if(e instanceof Array){if(t.items){var u=t.items instanceof Array;var l=t.items;for(s=0,o=e.length;s<o;s+=1){if(u)l=t.items[s];if(n.coerce)e[s]=n.coerce(e[s],l);r.concat(checkProp(e[s],l,i,s))}}if(t.minItems&&e.length<t.minItems){addError("There must be a minimum of "+t.minItems+" in the array")}if(t.maxItems&&e.length>t.maxItems){addError("There must be a maximum of "+t.maxItems+" in the array")}}else if(t.properties||t.additionalProperties){r.concat(checkObj(e,t.properties,i,t.additionalProperties))}if(t.pattern&&typeof e=="string"&&!e.match(t.pattern)){addError("does not match the regex pattern "+t.pattern)}if(t.maxLength&&typeof e=="string"&&e.length>t.maxLength){addError("may only be "+t.maxLength+" characters long")}if(t.minLength&&typeof e=="string"&&e.length<t.minLength){addError("must be at least "+t.minLength+" characters long")}if(typeof t.minimum!==undefined&&typeof e==typeof t.minimum&&t.minimum>e){addError("must have a minimum value of "+t.minimum)}if(typeof t.maximum!==undefined&&typeof e==typeof t.maximum&&t.maximum<e){addError("must have a maximum value of "+t.maximum)}if(t["enum"]){var c=t["enum"];o=c.length;var d;for(var p=0;p<o;p++){if(c[p]===e){d=1;break}}if(!d){addError("does not have a value in the enumeration "+c.join(", "))}}if(typeof t.maxDecimal=="number"&&e.toString().match(new RegExp("\\.[0-9]{"+(t.maxDecimal+1)+",}"))){addError("may only have "+t.maxDecimal+" digits of decimal places")}}}return null}function checkObj(e,t,i,s){if(typeof t=="object"){if(typeof e!="object"||e instanceof Array){r.push({property:i,message:"an object is required"})}for(var o in t){if(t.hasOwnProperty(o)){var u=e[o];if(u===undefined&&n.existingOnly)continue;var l=t[o];if(u===undefined&&l["default"]){u=e[o]=l["default"]}if(n.coerce&&o in e){u=e[o]=n.coerce(u,l)}checkProp(u,l,i,o)}}}for(o in e){if(e.hasOwnProperty(o)&&!(o.charAt(0)=="_"&&o.charAt(1)=="_")&&t&&!t[o]&&s===false){if(n.filter){delete e[o];continue}else{r.push({property:i,message:typeof u+"The property "+o+" is not defined in the schema and the schema does not allow additional properties"})}}var c=t&&t[o]&&t[o].requires;if(c&&!(c in e)){r.push({property:i,message:"the presence of the property "+o+" requires that "+c+" also be present"})}u=e[o];if(s&&(!(t&&typeof t=="object")||!(o in t))){if(n.coerce){u=e[o]=n.coerce(u,s)}checkProp(u,s,i,o)}if(!a&&u&&u.$schema){r=r.concat(checkProp(u,u.$schema,i,o))}}return r}if(i){checkProp(e,i,"",a||"")}if(!a&&e&&e.$schema){checkProp(e,e.$schema,"","")}return{valid:!r.length,errors:r}};e.mustBeValid=function(e){if(!e.valid){throw new TypeError(e.errors.map(function(e){return"for property "+e.property+": "+e.message}).join(", \n"))}};return e})},function(e,t){t=e.exports=stringify;t.getSerialize=serializer;function stringify(e,t,i,n){return JSON.stringify(e,serializer(t,n),i)}function serializer(e,t){var i=[],n=[];if(t==null)t=function(e,t){if(i[0]===t)return"[Circular ~]";return"[Circular ~."+n.slice(0,i.indexOf(t)).join(".")+"]"};return function(a,r){if(i.length>0){var s=i.indexOf(this);~s?i.splice(s+1):i.push(this);~s?n.splice(s,Infinity,a):n.push(a);if(~i.indexOf(r))r=t.call(this,a,r)}else i.push(r);return e==null?r:e.call(this,a,r)}}},function(e,t,i){var n=i(622);var a=i(747);var r=i(602);var s=i(402);var o=n.sep+"**";r.register("ls",_ls,{cmdOptions:{R:"recursive",A:"all",L:"link",a:"all_deprecated",d:"directory",l:"long"}});function _ls(e,t){if(e.all_deprecated){r.log("ls: Option -a is deprecated. Use -A instead");e.all=true}if(!t){t=["."]}else{t=[].slice.call(arguments,1)}var i=[];function pushFile(t,n,a){if(process.platform==="win32"){n=n.replace(/\\/g,"/")}if(e.long){a=a||(e.link?r.statFollowLinks(t):r.statNoFollowLinks(t));i.push(addLsAttributes(n,a))}else{i.push(n)}}t.forEach(function(t){var i;try{i=e.link?r.statFollowLinks(t):r.statNoFollowLinks(t);if(i.isSymbolicLink()){try{var u=r.statFollowLinks(t);if(u.isDirectory()){i=u}}catch(e){}}}catch(e){r.error("no such file or directory: "+t,2,{continue:true});return}if(i.isDirectory()&&!e.directory){if(e.recursive){s.sync(t+o,{dot:e.all,follow:e.link}).forEach(function(e){if(n.relative(t,e)){pushFile(e,n.relative(t,e))}})}else if(e.all){a.readdirSync(t).forEach(function(e){pushFile(n.join(t,e),e)})}else{a.readdirSync(t).forEach(function(e){if(e[0]!=="."){pushFile(n.join(t,e),e)}})}}else{pushFile(t,t,i)}});return i}function addLsAttributes(e,t){t.name=e;t.toString=function(){return[this.mode,this.nlink,this.uid,this.gid,this.size,this.mtime,this.name].join(" ")};return t}e.exports=_ls},function(e){"use strict";e.exports=function generate_propertyNames(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="errs__"+a;var p=e.util.copy(e);var f="";p.level++;var h="valid"+p.level;n+="var "+d+" = errors;";if(e.opts.strictKeywords?typeof s=="object"&&Object.keys(s).length>0:e.util.schemaHasRules(s,e.RULES.all)){p.schema=s;p.schemaPath=o;p.errSchemaPath=u;var m="key"+a,b="idx"+a,g="i"+a,y="' + "+m+" + '",S=p.dataLevel=e.dataLevel+1,w="data"+S,v="dataProperties"+a,z=e.opts.ownProperties,j=e.baseId;if(z){n+=" var "+v+" = undefined; "}if(z){n+=" "+v+" = "+v+" || Object.keys("+c+"); for (var "+b+"=0; "+b+"<"+v+".length; "+b+"++) { var "+m+" = "+v+"["+b+"]; "}else{n+=" for (var "+m+" in "+c+") { "}n+=" var startErrs"+a+" = errors; ";var O=m;var k=e.compositeRule;e.compositeRule=p.compositeRule=true;var C=e.validate(p);p.baseId=j;if(e.util.varOccurences(C,w)<2){n+=" "+e.util.varReplace(C,w,O)+" "}else{n+=" var "+w+" = "+O+"; "+C+" "}e.compositeRule=p.compositeRule=k;n+=" if (!"+h+") { for (var "+g+"=startErrs"+a+"; "+g+"<errors; "+g+"++) { vErrors["+g+"].propertyName = "+m+"; } var err = ";if(e.createErrors!==false){n+=" { keyword: '"+"propertyNames"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { propertyName: '"+y+"' } ";if(e.opts.messages!==false){n+=" , message: 'property name \\'"+y+"\\' is invalid' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(vErrors); "}else{n+=" validate.errors = vErrors; return false; "}}if(l){n+=" break; "}n+=" } }"}if(l){n+=" "+f+" if ("+d+" == errors) {"}return n}},function(e,t,i){e.exports={read:read,readPkcs8:readPkcs8,write:write,writePkcs8:writePkcs8,pkcs8ToBuffer:pkcs8ToBuffer,readECDSACurve:readECDSACurve,writeECDSACurve:writeECDSACurve};var n=i(872);var a=i(325);var r=i(215).Buffer;var s=i(98);var o=i(270);var u=i(852);var l=i(502);var c=i(268);function read(e,t){return c.read(e,t,"pkcs8")}function write(e,t){return c.write(e,t,"pkcs8")}function readMPInt(e,t){n.strictEqual(e.peek(),a.Ber.Integer,t+" is not an Integer");return o.mpNormalize(e.readString(a.Ber.Integer,true))}function readPkcs8(e,t,i){if(i.peek()===a.Ber.Integer){n.strictEqual(t,"private","unexpected Integer at start of public key");i.readString(a.Ber.Integer,true)}i.readSequence();var r=i.offset+i.length;var s=i.readOID();switch(s){case"1.2.840.113549.1.1.1":i._offset=r;if(t==="public")return readPkcs8RSAPublic(i);else return readPkcs8RSAPrivate(i);case"1.2.840.10040.4.1":if(t==="public")return readPkcs8DSAPublic(i);else return readPkcs8DSAPrivate(i);case"1.2.840.10045.2.1":if(t==="public")return readPkcs8ECDSAPublic(i);else return readPkcs8ECDSAPrivate(i);case"1.3.101.112":if(t==="public"){return readPkcs8EdDSAPublic(i)}else{return readPkcs8EdDSAPrivate(i)}case"1.3.101.110":if(t==="public"){return readPkcs8X25519Public(i)}else{return readPkcs8X25519Private(i)}default:throw new Error("Unknown key type OID "+s)}}function readPkcs8RSAPublic(e){e.readSequence(a.Ber.BitString);e.readByte();e.readSequence();var t=readMPInt(e,"modulus");var i=readMPInt(e,"exponent");var n={type:"rsa",source:e.originalInput,parts:[{name:"e",data:i},{name:"n",data:t}]};return new u(n)}function readPkcs8RSAPrivate(e){e.readSequence(a.Ber.OctetString);e.readSequence();var t=readMPInt(e,"version");n.equal(t[0],0,"unknown RSA private key version");var i=readMPInt(e,"modulus");var r=readMPInt(e,"public exponent");var s=readMPInt(e,"private exponent");var o=readMPInt(e,"prime1");var u=readMPInt(e,"prime2");var c=readMPInt(e,"exponent1");var d=readMPInt(e,"exponent2");var p=readMPInt(e,"iqmp");var f={type:"rsa",parts:[{name:"n",data:i},{name:"e",data:r},{name:"d",data:s},{name:"iqmp",data:p},{name:"p",data:o},{name:"q",data:u},{name:"dmodp",data:c},{name:"dmodq",data:d}]};return new l(f)}function readPkcs8DSAPublic(e){e.readSequence();var t=readMPInt(e,"p");var i=readMPInt(e,"q");var n=readMPInt(e,"g");e.readSequence(a.Ber.BitString);e.readByte();var r=readMPInt(e,"y");var s={type:"dsa",parts:[{name:"p",data:t},{name:"q",data:i},{name:"g",data:n},{name:"y",data:r}]};return new u(s)}function readPkcs8DSAPrivate(e){e.readSequence();var t=readMPInt(e,"p");var i=readMPInt(e,"q");var n=readMPInt(e,"g");e.readSequence(a.Ber.OctetString);var r=readMPInt(e,"x");var s=o.calculateDSAPublic(n,t,r);var u={type:"dsa",parts:[{name:"p",data:t},{name:"q",data:i},{name:"g",data:n},{name:"y",data:s},{name:"x",data:r}]};return new l(u)}function readECDSACurve(e){var t,i;var u,l,c;if(e.peek()===a.Ber.OID){var d=e.readOID();i=Object.keys(s.curves);for(u=0;u<i.length;++u){l=i[u];c=s.curves[l];if(c.pkcs8oid===d){t=l;break}}}else{e.readSequence();var p=e.readString(a.Ber.Integer,true);n.strictEqual(p[0],1,"ECDSA key not version 1");var f={};e.readSequence();var h=e.readOID();n.strictEqual(h,"1.2.840.10045.1.1","ECDSA key is not from a prime-field");var m=f.p=o.mpNormalize(e.readString(a.Ber.Integer,true));f.size=m.length*8-o.countZeros(m);e.readSequence();f.a=o.mpNormalize(e.readString(a.Ber.OctetString,true));f.b=o.mpNormalize(e.readString(a.Ber.OctetString,true));if(e.peek()===a.Ber.BitString)f.s=e.readString(a.Ber.BitString,true);f.G=e.readString(a.Ber.OctetString,true);n.strictEqual(f.G[0],4,"uncompressed G is required");f.n=o.mpNormalize(e.readString(a.Ber.Integer,true));f.h=o.mpNormalize(e.readString(a.Ber.Integer,true));n.strictEqual(f.h[0],1,"a cofactor=1 curve is "+"required");i=Object.keys(s.curves);var b=Object.keys(f);for(u=0;u<i.length;++u){l=i[u];c=s.curves[l];var g=true;for(var y=0;y<b.length;++y){var S=b[y];if(c[S]===undefined)continue;if(typeof c[S]==="object"&&c[S].equals!==undefined){if(!c[S].equals(f[S])){g=false;break}}else if(r.isBuffer(c[S])){if(c[S].toString("binary")!==f[S].toString("binary")){g=false;break}}else{if(c[S]!==f[S]){g=false;break}}}if(g){t=l;break}}}return t}function readPkcs8ECDSAPrivate(e){var t=readECDSACurve(e);n.string(t,"a known elliptic curve");e.readSequence(a.Ber.OctetString);e.readSequence();var i=readMPInt(e,"version");n.equal(i[0],1,"unknown version of ECDSA key");var s=e.readString(a.Ber.OctetString,true);var u;if(e.peek()==160){e.readSequence(160);e._offset+=e.length}if(e.peek()==161){e.readSequence(161);u=e.readString(a.Ber.BitString,true);u=o.ecNormalize(u)}if(u===undefined){var c=o.publicFromPrivateECDSA(t,s);u=c.part.Q.data}var d={type:"ecdsa",parts:[{name:"curve",data:r.from(t)},{name:"Q",data:u},{name:"d",data:s}]};return new l(d)}function readPkcs8ECDSAPublic(e){var t=readECDSACurve(e);n.string(t,"a known elliptic curve");var i=e.readString(a.Ber.BitString,true);i=o.ecNormalize(i);var s={type:"ecdsa",parts:[{name:"curve",data:r.from(t)},{name:"Q",data:i}]};return new u(s)}function readPkcs8EdDSAPublic(e){if(e.peek()===0)e.readByte();var t=o.readBitString(e);var i={type:"ed25519",parts:[{name:"A",data:o.zeroPadToLength(t,32)}]};return new u(i)}function readPkcs8X25519Public(e){var t=o.readBitString(e);var i={type:"curve25519",parts:[{name:"A",data:o.zeroPadToLength(t,32)}]};return new u(i)}function readPkcs8EdDSAPrivate(e){if(e.peek()===0)e.readByte();e.readSequence(a.Ber.OctetString);var t=e.readString(a.Ber.OctetString,true);t=o.zeroPadToLength(t,32);var i;if(e.peek()===a.Ber.BitString){i=o.readBitString(e);i=o.zeroPadToLength(i,32)}else{i=o.calculateED25519Public(t)}var n={type:"ed25519",parts:[{name:"A",data:o.zeroPadToLength(i,32)},{name:"k",data:o.zeroPadToLength(t,32)}]};return new l(n)}function readPkcs8X25519Private(e){if(e.peek()===0)e.readByte();e.readSequence(a.Ber.OctetString);var t=e.readString(a.Ber.OctetString,true);t=o.zeroPadToLength(t,32);var i=o.calculateX25519Public(t);var n={type:"curve25519",parts:[{name:"A",data:o.zeroPadToLength(i,32)},{name:"k",data:o.zeroPadToLength(t,32)}]};return new l(n)}function pkcs8ToBuffer(e){var t=new a.BerWriter;writePkcs8(t,e);return t.buffer}function writePkcs8(e,t){e.startSequence();if(l.isPrivateKey(t)){var i=r.from([0]);e.writeBuffer(i,a.Ber.Integer)}e.startSequence();switch(t.type){case"rsa":e.writeOID("1.2.840.113549.1.1.1");if(l.isPrivateKey(t))writePkcs8RSAPrivate(t,e);else writePkcs8RSAPublic(t,e);break;case"dsa":e.writeOID("1.2.840.10040.4.1");if(l.isPrivateKey(t))writePkcs8DSAPrivate(t,e);else writePkcs8DSAPublic(t,e);break;case"ecdsa":e.writeOID("1.2.840.10045.2.1");if(l.isPrivateKey(t))writePkcs8ECDSAPrivate(t,e);else writePkcs8ECDSAPublic(t,e);break;case"ed25519":e.writeOID("1.3.101.112");if(l.isPrivateKey(t))throw new Error("Ed25519 private keys in pkcs8 "+"format are not supported");writePkcs8EdDSAPublic(t,e);break;default:throw new Error("Unsupported key type: "+t.type)}e.endSequence()}function writePkcs8RSAPrivate(e,t){t.writeNull();t.endSequence();t.startSequence(a.Ber.OctetString);t.startSequence();var i=r.from([0]);t.writeBuffer(i,a.Ber.Integer);t.writeBuffer(e.part.n.data,a.Ber.Integer);t.writeBuffer(e.part.e.data,a.Ber.Integer);t.writeBuffer(e.part.d.data,a.Ber.Integer);t.writeBuffer(e.part.p.data,a.Ber.Integer);t.writeBuffer(e.part.q.data,a.Ber.Integer);if(!e.part.dmodp||!e.part.dmodq)o.addRSAMissing(e);t.writeBuffer(e.part.dmodp.data,a.Ber.Integer);t.writeBuffer(e.part.dmodq.data,a.Ber.Integer);t.writeBuffer(e.part.iqmp.data,a.Ber.Integer);t.endSequence();t.endSequence()}function writePkcs8RSAPublic(e,t){t.writeNull();t.endSequence();t.startSequence(a.Ber.BitString);t.writeByte(0);t.startSequence();t.writeBuffer(e.part.n.data,a.Ber.Integer);t.writeBuffer(e.part.e.data,a.Ber.Integer);t.endSequence();t.endSequence()}function writePkcs8DSAPrivate(e,t){t.startSequence();t.writeBuffer(e.part.p.data,a.Ber.Integer);t.writeBuffer(e.part.q.data,a.Ber.Integer);t.writeBuffer(e.part.g.data,a.Ber.Integer);t.endSequence();t.endSequence();t.startSequence(a.Ber.OctetString);t.writeBuffer(e.part.x.data,a.Ber.Integer);t.endSequence()}function writePkcs8DSAPublic(e,t){t.startSequence();t.writeBuffer(e.part.p.data,a.Ber.Integer);t.writeBuffer(e.part.q.data,a.Ber.Integer);t.writeBuffer(e.part.g.data,a.Ber.Integer);t.endSequence();t.endSequence();t.startSequence(a.Ber.BitString);t.writeByte(0);t.writeBuffer(e.part.y.data,a.Ber.Integer);t.endSequence()}function writeECDSACurve(e,t){var i=s.curves[e.curve];if(i.pkcs8oid){t.writeOID(i.pkcs8oid)}else{t.startSequence();var n=r.from([1]);t.writeBuffer(n,a.Ber.Integer);t.startSequence();t.writeOID("1.2.840.10045.1.1");t.writeBuffer(i.p,a.Ber.Integer);t.endSequence();t.startSequence();var o=i.p;if(o[0]===0)o=o.slice(1);t.writeBuffer(o,a.Ber.OctetString);t.writeBuffer(i.b,a.Ber.OctetString);t.writeBuffer(i.s,a.Ber.BitString);t.endSequence();t.writeBuffer(i.G,a.Ber.OctetString);t.writeBuffer(i.n,a.Ber.Integer);var u=i.h;if(!u){u=r.from([1])}t.writeBuffer(u,a.Ber.Integer);t.endSequence()}}function writePkcs8ECDSAPublic(e,t){writeECDSACurve(e,t);t.endSequence();var i=o.ecNormalize(e.part.Q.data,true);t.writeBuffer(i,a.Ber.BitString)}function writePkcs8ECDSAPrivate(e,t){writeECDSACurve(e,t);t.endSequence();t.startSequence(a.Ber.OctetString);t.startSequence();var i=r.from([1]);t.writeBuffer(i,a.Ber.Integer);t.writeBuffer(e.part.d.data,a.Ber.OctetString);t.startSequence(161);var n=o.ecNormalize(e.part.Q.data,true);t.writeBuffer(n,a.Ber.BitString);t.endSequence();t.endSequence();t.endSequence()}function writePkcs8EdDSAPublic(e,t){t.endSequence();o.writeBitString(t,e.part.A.data)}function writePkcs8EdDSAPrivate(e,t){t.endSequence();var i=o.mpNormalize(e.part.k.data,true);t.startSequence(a.Ber.OctetString);t.writeBuffer(i,a.Ber.OctetString);t.endSequence()}},,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(645);const a=i(739);class CloudAuth{isAuthProvider(e){if(!e||!e.authProvider){return false}return e.authProvider.name==="azure"||e.authProvider.name==="gcp"}getToken(e){const t=e.authProvider.config;if(this.isExpired(t)){this.updateAccessToken(t)}return"Bearer "+t["access-token"]}isExpired(e){const t=e["access-token"];const i=e.expiry;if(!t){return true}if(!i){return false}const n=Date.parse(i);if(n<Date.now()){return true}return false}updateAccessToken(e){if(!e["cmd-path"]){throw new Error("Token is expired!")}const t=e["cmd-args"];let i;try{let n=e["cmd-path"];if(t){n=`"${n}" ${t}`}i=a.exec(n,{silent:true});if(i.code!==0){throw new Error(i.stderr)}}catch(e){throw new Error("Failed to refresh token: "+e.message)}const r=i.stdout.toString();const s=JSON.parse(r);const o=e["token-key"];const u=e["expiry-key"];const l="$"+o.slice(1,-1);const c="$"+u.slice(1,-1);e["access-token"]=n.JSONPath(l,s);e.expiry=n.JSONPath(c,s)}}t.CloudAuth=CloudAuth},,,,function(e,t,i){const{improvedDH:n}=i(915);const{KEYOBJECT:a}=i(771);const{generateSync:r}=i(626);const{name:s}=i(997);const{ECDH_DERIVE_LENGTHS:o}=i(962);const u=i(68);const l=(e,t,i,n)=>{const s=r(i.kty,i.crv);const o=t(s,i,n);const u=e({[a]:o},n);u.header=u.header||{};Object.assign(u.header,{epk:{kty:i.kty,crv:i.crv,x:s.x,y:s.y}});return u};const c=(e,t,i,n,r)=>{const{epk:s}=r;const o=t(i,s,r);return e({[a]:o},n,r)};e.exports=((e,t)=>{["ECDH-ES+A128KW","ECDH-ES+A192KW","ECDH-ES+A256KW"].forEach(i=>{const a=i.substr(-6);const r=e.keyManagementEncrypt.get(a);const d=e.keyManagementDecrypt.get(a);const p=parseInt(i.substr(9,3),10);o.set(i,p);if(r&&d){e.keyManagementEncrypt.set(i,l.bind(undefined,r,u.bind(undefined,i,p)));e.keyManagementDecrypt.set(i,c.bind(undefined,d,u.bind(undefined,i,p)));t.EC.deriveKey[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.crv!==s);if(n){t.OKP.deriveKey[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.keyObject.asymmetricKeyType.startsWith("x"))}}})});e.exports.wrapKey=l;e.exports.unwrapKey=c},function(e,t,i){const n=i(830);const a=(e,t)=>{const i=n(e,t);return i?i.version:null};e.exports=a},function(e,t,i){const n=i(849);const a=i(96);const r=i(973);const s=i(115);const o=i(592);const u=i(626);e.exports={...u,asKey:o,isKey:e=>e instanceof n,None:a,EmbeddedJWK:r,EmbeddedX5C:s};Object.defineProperty(e.exports,"importKey",{value:o.deprecated,enumerable:false})},function(e){"use strict";function isObject(e){return e!=null&&typeof e==="object"&&Array.isArray(e)===false}function isObjectObject(e){return isObject(e)===true&&Object.prototype.toString.call(e)==="[object Object]"}function isPlainObject(e){var t,i;if(isObjectObject(e)===false)return false;t=e.constructor;if(typeof t!=="function")return false;i=t.prototype;if(isObjectObject(i)===false)return false;if(i.hasOwnProperty("isPrototypeOf")===false){return false}return true}e.exports=isPlainObject},,function(e,t,i){"use strict";var n=i(413);function DuplexWrapper(e,t,i){if(typeof i==="undefined"){i=t;t=e;e=null}n.Duplex.call(this,e);if(typeof i.read!=="function"){i=new n.Readable(e).wrap(i)}this._writable=t;this._readable=i;this._waiting=false;var a=this;t.once("finish",function(){a.end()});this.once("finish",function(){t.end()});i.on("readable",function(){if(a._waiting){a._waiting=false;a._read()}});i.once("end",function(){a.push(null)});if(!e||typeof e.bubbleErrors==="undefined"||e.bubbleErrors){t.on("error",function(e){a.emit("error",e)});i.on("error",function(e){a.emit("error",e)})}}DuplexWrapper.prototype=Object.create(n.Duplex.prototype,{constructor:{value:DuplexWrapper}});DuplexWrapper.prototype._write=function _write(e,t,i){this._writable.write(e,t,i)};DuplexWrapper.prototype._read=function _read(){var e;var t=0;while((e=this._readable.read())!==null){this.push(e);t++}if(t===0){this._waiting=true}};e.exports=function duplex2(e,t,i){return new DuplexWrapper(e,t,i)};e.exports.DuplexWrapper=DuplexWrapper},function(e,t,i){"use strict";var n=String.prototype.replace;var a=/%20/g;var r=i(4);var s={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=r.assign({default:s.RFC3986,formatters:{RFC1738:function(e){return n.call(e,a,"+")},RFC3986:function(e){return String(e)}}},s)},function(e,t,i){const{strict:n}=i(357);const{Reporter:a}=i(452);const{DecoderBuffer:r,EncoderBuffer:s}=i(335);const o=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"];const u=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(o);const l=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function Node(e,t,i){const n={};this._baseState=n;n.name=i;n.enc=e;n.parent=t||null;n.children=null;n.tag=null;n.args=null;n.reverseArgs=null;n.choice=null;n.optional=false;n.any=false;n.obj=false;n.use=null;n.useDecoder=null;n.key=null;n.default=null;n.explicit=null;n.implicit=null;n.contains=null;if(!n.parent){n.children=[];this._wrap()}}const c=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];Node.prototype.clone=function clone(){const e=this._baseState;const t={};c.forEach(function(i){t[i]=e[i]});const i=new this.constructor(t.parent);i._baseState=t;return i};Node.prototype._wrap=function wrap(){const e=this._baseState;u.forEach(function(t){this[t]=function _wrappedMethod(){const i=new this.constructor(this);e.children.push(i);return i[t].apply(i,arguments)}},this)};Node.prototype._init=function init(e){const t=this._baseState;n(t.parent===null);e.call(this);t.children=t.children.filter(function(e){return e._baseState.parent===this},this);n.equal(t.children.length,1,"Root node can have only one child")};Node.prototype._useArgs=function useArgs(e){const t=this._baseState;const i=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this);if(i.length!==0){n(t.children===null);t.children=i;i.forEach(function(e){e._baseState.parent=this},this)}if(e.length!==0){n(t.args===null);t.args=e;t.reverseArgs=e.map(function(e){if(typeof e!=="object"||e.constructor!==Object){return e}const t={};Object.keys(e).forEach(function(i){if(i==(i|0)){i|=0}const n=e[i];t[n]=i});return t})}};l.forEach(function(e){Node.prototype[e]=function _overrided(){const t=this._baseState;throw new Error(`${e} not implemented for encoding: ${t.enc}`)}});o.forEach(function(e){Node.prototype[e]=function _tagMethod(){const t=this._baseState;const i=Array.prototype.slice.call(arguments);n(t.tag===null);t.tag=e;this._useArgs(i);return this}});Node.prototype.use=function use(e){n(e);const t=this._baseState;n(t.use===null);t.use=e;return this};Node.prototype.optional=function optional(){const e=this._baseState;e.optional=true;return this};Node.prototype.def=function def(e){const t=this._baseState;n(t.default===null);t.default=e;t.optional=true;return this};Node.prototype.explicit=function explicit(e){const t=this._baseState;n(t.explicit===null&&t.implicit===null);t.explicit=e;return this};Node.prototype.implicit=function implicit(e){const t=this._baseState;n(t.explicit===null&&t.implicit===null);t.implicit=e;return this};Node.prototype.obj=function obj(){const e=this._baseState;const t=Array.prototype.slice.call(arguments);e.obj=true;if(t.length!==0){this._useArgs(t)}return this};Node.prototype.key=function key(e){const t=this._baseState;n(t.key===null);t.key=e;return this};Node.prototype.any=function any(){const e=this._baseState;e.any=true;return this};Node.prototype.choice=function choice(e){const t=this._baseState;n(t.choice===null);t.choice=e;this._useArgs(Object.keys(e).map(function(t){return e[t]}));return this};Node.prototype.contains=function contains(e){const t=this._baseState;n(t.use===null);t.contains=e;return this};Node.prototype._decode=function decode(e,t){const i=this._baseState;if(i.parent===null){return e.wrapResult(i.children[0]._decode(e,t))}let n=i.default;let a=true;let s=null;if(i.key!==null){s=e.enterKey(i.key)}if(i.optional){let n=null;if(i.explicit!==null){n=i.explicit}else if(i.implicit!==null){n=i.implicit}else if(i.tag!==null){n=i.tag}if(n===null&&!i.any){const n=e.save();try{if(i.choice===null){this._decodeGeneric(i.tag,e,t)}else{this._decodeChoice(e,t)}a=true}catch(e){a=false}e.restore(n)}else{a=this._peekTag(e,n,i.any);if(e.isError(a)){return a}}}let o;if(i.obj&&a){o=e.enterObject()}if(a){if(i.explicit!==null){const t=this._decodeTag(e,i.explicit);if(e.isError(t)){return t}e=t}const a=e.offset;if(i.use===null&&i.choice===null){let t;if(i.any){t=e.save()}const a=this._decodeTag(e,i.implicit!==null?i.implicit:i.tag,i.any);if(e.isError(a)){return a}if(i.any){n=e.raw(t)}else{e=a}}if(t&&t.track&&i.tag!==null){t.track(e.path(),a,e.length,"tagged")}if(t&&t.track&&i.tag!==null){t.track(e.path(),e.offset,e.length,"content")}if(i.any){}else if(i.choice===null){n=this._decodeGeneric(i.tag,e,t)}else{n=this._decodeChoice(e,t)}if(e.isError(n)){return n}if(!i.any&&i.choice===null&&i.children!==null){i.children.forEach(function decodeChildren(i){i._decode(e,t)})}if(i.contains&&(i.tag==="octstr"||i.tag==="bitstr")){const a=new r(n);n=this._getUse(i.contains,e._reporterState.obj)._decode(a,t)}}if(i.obj&&a){n=e.leaveObject(o)}if(i.key!==null&&(n!==null||a===true)){e.leaveKey(s,i.key,n)}else if(s!==null){e.exitKey(s)}return n};Node.prototype._decodeGeneric=function decodeGeneric(e,t,i){const n=this._baseState;if(e==="seq"||e==="set"){return null}if(e==="seqof"||e==="setof"){return this._decodeList(t,e,n.args[0],i)}else if(/str$/.test(e)){return this._decodeStr(t,e,i)}else if(e==="objid"&&n.args){return this._decodeObjid(t,n.args[0],n.args[1],i)}else if(e==="objid"){return this._decodeObjid(t,null,null,i)}else if(e==="gentime"||e==="utctime"){return this._decodeTime(t,e,i)}else if(e==="null_"){return this._decodeNull(t,i)}else if(e==="bool"){return this._decodeBool(t,i)}else if(e==="objDesc"){return this._decodeStr(t,e,i)}else if(e==="int"||e==="enum"){return this._decodeInt(t,n.args&&n.args[0],i)}if(n.use!==null){return this._getUse(n.use,t._reporterState.obj)._decode(t,i)}else{return t.error(`unknown tag: ${e}`)}};Node.prototype._getUse=function _getUse(e,t){const i=this._baseState;i.useDecoder=this._use(e,t);n(i.useDecoder._baseState.parent===null);i.useDecoder=i.useDecoder._baseState.children[0];if(i.implicit!==i.useDecoder._baseState.implicit){i.useDecoder=i.useDecoder.clone();i.useDecoder._baseState.implicit=i.implicit}return i.useDecoder};Node.prototype._decodeChoice=function decodeChoice(e,t){const i=this._baseState;let n=null;let a=false;Object.keys(i.choice).some(function(r){const s=e.save();const o=i.choice[r];try{const i=o._decode(e,t);if(e.isError(i)){return false}n={type:r,value:i};a=true}catch(t){e.restore(s);return false}return true},this);if(!a){return e.error("Choice not matched")}return n};Node.prototype._createEncoderBuffer=function createEncoderBuffer(e){return new s(e,this.reporter)};Node.prototype._encode=function encode(e,t,i){const n=this._baseState;if(n.default!==null&&n.default===e){return}const a=this._encodeValue(e,t,i);if(a===undefined){return}if(this._skipDefault(a,t,i)){return}return a};Node.prototype._encodeValue=function encode(e,t,i){const n=this._baseState;if(n.parent===null){return n.children[0]._encode(e,t||new a)}let r=null;this.reporter=t;if(n.optional&&e===undefined){if(n.default!==null){e=n.default}else{return}}let s=null;let o=false;if(n.any){r=this._createEncoderBuffer(e)}else if(n.choice){r=this._encodeChoice(e,t)}else if(n.contains){s=this._getUse(n.contains,i)._encode(e,t);o=true}else if(n.children){s=n.children.map(function(i){if(i._baseState.tag==="null_"){return i._encode(null,t,e)}if(i._baseState.key===null){return t.error("Child should have a key")}const n=t.enterKey(i._baseState.key);if(typeof e!=="object"){return t.error("Child expected, but input is not object")}const a=i._encode(e[i._baseState.key],t,e);t.leaveKey(n);return a},this).filter(function(e){return e});s=this._createEncoderBuffer(s)}else{if(n.tag==="seqof"||n.tag==="setof"){if(!(n.args&&n.args.length===1)){return t.error(`Too many args for: ${n.tag}`)}if(!Array.isArray(e)){return t.error("seqof/setof, but data is not Array")}const i=this.clone();i._baseState.implicit=null;s=this._createEncoderBuffer(e.map(function(i){const n=this._baseState;return this._getUse(n.args[0],e)._encode(i,t)},i))}else if(n.use!==null){r=this._getUse(n.use,i)._encode(e,t)}else{s=this._encodePrimitive(n.tag,e);o=true}}if(!n.any&&n.choice===null){const e=n.implicit!==null?n.implicit:n.tag;const i=n.implicit===null?"universal":"context";if(e===null){if(n.use===null){t.error("Tag could be omitted only for .use()")}}else{if(n.use===null){r=this._encodeComposite(e,o,i,s)}}}if(n.explicit!==null){r=this._encodeComposite(n.explicit,false,"context",r)}return r};Node.prototype._encodeChoice=function encodeChoice(e,t){const i=this._baseState;const a=i.choice[e.type];if(!a){n(false,`${e.type} not found in ${JSON.stringify(Object.keys(i.choice))}`)}return a._encode(e.value,t)};Node.prototype._encodePrimitive=function encodePrimitive(e,t){const i=this._baseState;if(/str$/.test(e)){return this._encodeStr(t,e)}else if(e==="objid"&&i.args){return this._encodeObjid(t,i.reverseArgs[0],i.args[1])}else if(e==="objid"){return this._encodeObjid(t,null,null)}else if(e==="gentime"||e==="utctime"){return this._encodeTime(t,e)}else if(e==="null_"){return this._encodeNull()}else if(e==="int"||e==="enum"){return this._encodeInt(t,i.args&&i.reverseArgs[0])}else if(e==="bool"){return this._encodeBool(t)}else if(e==="objDesc"){return this._encodeStr(t,e)}else{throw new Error(`Unsupported tag: ${e}`)}};Node.prototype._isNumstr=function isNumstr(e){return/^[0-9 ]*$/.test(e)};Node.prototype._isPrintstr=function isPrintstr(e){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(e)};e.exports=Node},function(e){"use strict";function formatHostname(e){return e.replace(/^\.*/,".").toLowerCase()}function parseNoProxyZone(e){e=e.trim().toLowerCase();var t=e.split(":",2);var i=formatHostname(t[0]);var n=t[1];var a=e.indexOf(":")>-1;return{hostname:i,port:n,hasPort:a}}function uriInNoProxy(e,t){var i=e.port||(e.protocol==="https:"?"443":"80");var n=formatHostname(e.hostname);var a=t.split(",");return a.map(parseNoProxyZone).some(function(e){var t=n.indexOf(e.hostname);var a=t>-1&&t===n.length-e.hostname.length;if(e.hasPort){return i===e.port&&a}return a})}function getProxyFromURI(e){var t=process.env.NO_PROXY||process.env.no_proxy||"";if(t==="*"){return null}if(t!==""&&uriInNoProxy(e,t)){return null}if(e.protocol==="http:"){return process.env.HTTP_PROXY||process.env.http_proxy||null}if(e.protocol==="https:"){return process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||null}return null}e.exports=getProxyFromURI},function(e){var t=[];for(var i=0;i<256;++i){t[i]=(i+256).toString(16).substr(1)}function bytesToUuid(e,i){var n=i||0;var a=t;return[a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]]].join("")}e.exports=bytesToUuid},function(e,t,i){"use strict";var n=i(43);e.exports=new n({include:[i(611)],implicit:[i(841),i(633)],explicit:[i(913),i(842),i(947),i(100)]})},,,,function(e,t,i){var n=i(293);var a=n.Buffer;function copyProps(e,t){for(var i in e){t[i]=e[i]}}if(a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow){e.exports=n}else{copyProps(n,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,i){return a(e,t,i)}SafeBuffer.prototype=Object.create(a.prototype);copyProps(a,SafeBuffer);SafeBuffer.from=function(e,t,i){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return a(e,t,i)};SafeBuffer.alloc=function(e,t,i){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var n=a(e);if(t!==undefined){if(typeof i==="string"){n.fill(t,i)}else{n.fill(t)}}else{n.fill(0)}return n};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return a(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return n.SlowBuffer(e)}},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{OKP_CURVES:p}=i(962);const{edDSASupported:f}=i(915);const h=i(466);const m=i(849);const b=r(a);const g=new Set(["crv","x"]);Object.freeze(g);const y=new Set([...g,"d"]);Object.freeze(y);class OKPKey extends m{constructor(...e){super(...e);this[o]();Object.defineProperty(this,"kty",{value:"OKP",enumerable:true});if(!p.has(this.crv)){throw new h.JOSENotSupported("unsupported OKP key curve")}}static get[u](){return g}static get[l](){return y}[s](){return{crv:this.crv,kty:"OKP",x:this.x}}[d](){return this.algorithms("deriveKey")}[c](){if(this.public){return new Set}return this.algorithms("deriveKey")}static async generate(e="Ed25519",t=true){if(!f){throw new h.JOSENotSupported("OKP keys are not supported in your Node.js runtime version")}if(!p.has(e)){throw new h.JOSENotSupported(`unsupported OKP key curve: ${e}`)}const{privateKey:i,publicKey:n}=await b(e.toLowerCase());return t?i:n}static generateSync(e="Ed25519",t=true){if(!f){throw new h.JOSENotSupported("OKP keys are not supported in your Node.js runtime version")}if(!p.has(e)){throw new h.JOSENotSupported(`unsupported OKP key curve: ${e}`)}const{privateKey:i,publicKey:a}=n(e.toLowerCase());return t?i:a}}e.exports=OKPKey},function(e,t,i){var n=i(242).BigInteger;var a=n.prototype.Barrett;function ECFieldElementFp(e,t){this.x=t;this.q=e}function feFpEquals(e){if(e==this)return true;return this.q.equals(e.q)&&this.x.equals(e.x)}function feFpToBigInteger(){return this.x}function feFpNegate(){return new ECFieldElementFp(this.q,this.x.negate().mod(this.q))}function feFpAdd(e){return new ECFieldElementFp(this.q,this.x.add(e.toBigInteger()).mod(this.q))}function feFpSubtract(e){return new ECFieldElementFp(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))}function feFpMultiply(e){return new ECFieldElementFp(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))}function feFpSquare(){return new ECFieldElementFp(this.q,this.x.square().mod(this.q))}function feFpDivide(e){return new ECFieldElementFp(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))}ECFieldElementFp.prototype.equals=feFpEquals;ECFieldElementFp.prototype.toBigInteger=feFpToBigInteger;ECFieldElementFp.prototype.negate=feFpNegate;ECFieldElementFp.prototype.add=feFpAdd;ECFieldElementFp.prototype.subtract=feFpSubtract;ECFieldElementFp.prototype.multiply=feFpMultiply;ECFieldElementFp.prototype.square=feFpSquare;ECFieldElementFp.prototype.divide=feFpDivide;function ECPointFp(e,t,i,a){this.curve=e;this.x=t;this.y=i;if(a==null){this.z=n.ONE}else{this.z=a}this.zinv=null}function pointFpGetX(){if(this.zinv==null){this.zinv=this.z.modInverse(this.curve.q)}var e=this.x.toBigInteger().multiply(this.zinv);this.curve.reduce(e);return this.curve.fromBigInteger(e)}function pointFpGetY(){if(this.zinv==null){this.zinv=this.z.modInverse(this.curve.q)}var e=this.y.toBigInteger().multiply(this.zinv);this.curve.reduce(e);return this.curve.fromBigInteger(e)}function pointFpEquals(e){if(e==this)return true;if(this.isInfinity())return e.isInfinity();if(e.isInfinity())return this.isInfinity();var t,i;t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q);if(!t.equals(n.ZERO))return false;i=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);return i.equals(n.ZERO)}function pointFpIsInfinity(){if(this.x==null&&this.y==null)return true;return this.z.equals(n.ZERO)&&!this.y.toBigInteger().equals(n.ZERO)}function pointFpNegate(){return new ECPointFp(this.curve,this.x,this.y.negate(),this.z)}function pointFpAdd(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q);var i=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(n.ZERO.equals(i)){if(n.ZERO.equals(t)){return this.twice()}return this.curve.getInfinity()}var a=new n("3");var r=this.x.toBigInteger();var s=this.y.toBigInteger();var o=e.x.toBigInteger();var u=e.y.toBigInteger();var l=i.square();var c=l.multiply(i);var d=r.multiply(l);var p=t.square().multiply(this.z);var f=p.subtract(d.shiftLeft(1)).multiply(e.z).subtract(c).multiply(i).mod(this.curve.q);var h=d.multiply(a).multiply(t).subtract(s.multiply(c)).subtract(p.multiply(t)).multiply(e.z).add(t.multiply(c)).mod(this.curve.q);var m=c.multiply(this.z).multiply(e.z).mod(this.curve.q);return new ECPointFp(this.curve,this.curve.fromBigInteger(f),this.curve.fromBigInteger(h),m)}function pointFpTwice(){if(this.isInfinity())return this;if(this.y.toBigInteger().signum()==0)return this.curve.getInfinity();var e=new n("3");var t=this.x.toBigInteger();var i=this.y.toBigInteger();var a=i.multiply(this.z);var r=a.multiply(i).mod(this.curve.q);var s=this.curve.a.toBigInteger();var o=t.square().multiply(e);if(!n.ZERO.equals(s)){o=o.add(this.z.square().multiply(s))}o=o.mod(this.curve.q);var u=o.square().subtract(t.shiftLeft(3).multiply(r)).shiftLeft(1).multiply(a).mod(this.curve.q);var l=o.multiply(e).multiply(t).subtract(r.shiftLeft(1)).shiftLeft(2).multiply(r).subtract(o.square().multiply(o)).mod(this.curve.q);var c=a.square().multiply(a).shiftLeft(3).mod(this.curve.q);return new ECPointFp(this.curve,this.curve.fromBigInteger(u),this.curve.fromBigInteger(l),c)}function pointFpMultiply(e){if(this.isInfinity())return this;if(e.signum()==0)return this.curve.getInfinity();var t=e;var i=t.multiply(new n("3"));var a=this.negate();var r=this;var s;for(s=i.bitLength()-2;s>0;--s){r=r.twice();var o=i.testBit(s);var u=t.testBit(s);if(o!=u){r=r.add(o?this:a)}}return r}function pointFpMultiplyTwo(e,t,i){var n;if(e.bitLength()>i.bitLength())n=e.bitLength()-1;else n=i.bitLength()-1;var a=this.curve.getInfinity();var r=this.add(t);while(n>=0){a=a.twice();if(e.testBit(n)){if(i.testBit(n)){a=a.add(r)}else{a=a.add(this)}}else{if(i.testBit(n)){a=a.add(t)}}--n}return a}ECPointFp.prototype.getX=pointFpGetX;ECPointFp.prototype.getY=pointFpGetY;ECPointFp.prototype.equals=pointFpEquals;ECPointFp.prototype.isInfinity=pointFpIsInfinity;ECPointFp.prototype.negate=pointFpNegate;ECPointFp.prototype.add=pointFpAdd;ECPointFp.prototype.twice=pointFpTwice;ECPointFp.prototype.multiply=pointFpMultiply;ECPointFp.prototype.multiplyTwo=pointFpMultiplyTwo;function ECCurveFp(e,t,i){this.q=e;this.a=this.fromBigInteger(t);this.b=this.fromBigInteger(i);this.infinity=new ECPointFp(this,null,null);this.reducer=new a(this.q)}function curveFpGetQ(){return this.q}function curveFpGetA(){return this.a}function curveFpGetB(){return this.b}function curveFpEquals(e){if(e==this)return true;return this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)}function curveFpGetInfinity(){return this.infinity}function curveFpFromBigInteger(e){return new ECFieldElementFp(this.q,e)}function curveReduce(e){this.reducer.reduce(e)}function curveFpDecodePointHex(e){switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:return null;case 4:case 6:case 7:var t=(e.length-2)/2;var i=e.substr(2,t);var a=e.substr(t+2,t);return new ECPointFp(this,this.fromBigInteger(new n(i,16)),this.fromBigInteger(new n(a,16)));default:return null}}function curveFpEncodePointHex(e){if(e.isInfinity())return"00";var t=e.getX().toBigInteger().toString(16);var i=e.getY().toBigInteger().toString(16);var n=this.getQ().toString(16).length;if(n%2!=0)n++;while(t.length<n){t="0"+t}while(i.length<n){i="0"+i}return"04"+t+i}ECCurveFp.prototype.getQ=curveFpGetQ;ECCurveFp.prototype.getA=curveFpGetA;ECCurveFp.prototype.getB=curveFpGetB;ECCurveFp.prototype.equals=curveFpEquals;ECCurveFp.prototype.getInfinity=curveFpGetInfinity;ECCurveFp.prototype.fromBigInteger=curveFpFromBigInteger;ECCurveFp.prototype.reduce=curveReduce;ECCurveFp.prototype.encodePointHex=curveFpEncodePointHex;ECCurveFp.prototype.decodePointHex=function(e){var t;switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:t=false;case 3:if(t==undefined)t=true;var i=e.length-2;var a=e.substr(2,i);var r=this.fromBigInteger(new n(a,16));var s=r.multiply(r.square().add(this.getA())).add(this.getB());var o=s.sqrt();if(o==null)throw"Invalid point compression";var u=o.toBigInteger();if(u.testBit(0)!=t){o=this.fromBigInteger(this.getQ().subtract(u))}return new ECPointFp(this,r,o);case 4:case 6:case 7:var i=(e.length-2)/2;var a=e.substr(2,i);var l=e.substr(i+2,i);return new ECPointFp(this,this.fromBigInteger(new n(a,16)),this.fromBigInteger(new n(l,16)));default:return null}};ECCurveFp.prototype.encodeCompressedPointHex=function(e){if(e.isInfinity())return"00";var t=e.getX().toBigInteger().toString(16);var i=this.getQ().toString(16).length;if(i%2!=0)i++;while(t.length<i)t="0"+t;var n;if(e.getY().toBigInteger().isEven())n="02";else n="03";return n+t};ECFieldElementFp.prototype.getR=function(){if(this.r!=undefined)return this.r;this.r=null;var e=this.q.bitLength();if(e>128){var t=this.q.shiftRight(e-64);if(t.intValue()==-1){this.r=n.ONE.shiftLeft(e).subtract(this.q)}}return this.r};ECFieldElementFp.prototype.modMult=function(e,t){return this.modReduce(e.multiply(t))};ECFieldElementFp.prototype.modReduce=function(e){if(this.getR()!=null){var t=q.bitLength();while(e.bitLength()>t+1){var i=e.shiftRight(t);var a=e.subtract(i.shiftLeft(t));if(!this.getR().equals(n.ONE)){i=i.multiply(this.getR())}e=i.add(a)}while(e.compareTo(q)>=0){e=e.subtract(q)}}else{e=e.mod(q)}return e};ECFieldElementFp.prototype.sqrt=function(){if(!this.q.testBit(0))throw"unsupported";if(this.q.testBit(1)){var e=new ECFieldElementFp(this.q,this.x.modPow(this.q.shiftRight(2).add(n.ONE),this.q));return e.square().equals(this)?e:null}var t=this.q.subtract(n.ONE);var i=t.shiftRight(1);if(!this.x.modPow(i,this.q).equals(n.ONE)){return null}var a=t.shiftRight(2);var r=a.shiftLeft(1).add(n.ONE);var s=this.x;var o=modDouble(modDouble(s));var u,l;do{var c;do{c=new n(this.q.bitLength(),new SecureRandom)}while(c.compareTo(this.q)>=0||!c.multiply(c).subtract(o).modPow(i,this.q).equals(t));var d=this.lucasSequence(c,s,r);u=d[0];l=d[1];if(this.modMult(l,l).equals(o)){if(l.testBit(0)){l=l.add(q)}l=l.shiftRight(1);return new ECFieldElementFp(q,l)}}while(u.equals(n.ONE)||u.equals(t));return null};ECFieldElementFp.prototype.lucasSequence=function(e,t,i){var a=i.bitLength();var r=i.getLowestSetBit();var s=n.ONE;var o=n.TWO;var u=e;var l=n.ONE;var c=n.ONE;for(var d=a-1;d>=r+1;--d){l=this.modMult(l,c);if(i.testBit(d)){c=this.modMult(l,t);s=this.modMult(s,u);o=this.modReduce(u.multiply(o).subtract(e.multiply(l)));u=this.modReduce(u.multiply(u).subtract(c.shiftLeft(1)))}else{c=l;s=this.modReduce(s.multiply(o).subtract(l));u=this.modReduce(u.multiply(o).subtract(e.multiply(l)));o=this.modReduce(o.multiply(o).subtract(l.shiftLeft(1)))}}l=this.modMult(l,c);c=this.modMult(l,t);s=this.modReduce(s.multiply(o).subtract(l));o=this.modReduce(u.multiply(o).subtract(e.multiply(l)));l=this.modMult(l,c);for(var d=1;d<=r;++d){s=this.modMult(s,o);o=this.modReduce(o.multiply(o).subtract(l.shiftLeft(1)));l=this.modMult(l,l)}return[s,o]};var r={ECCurveFp:ECCurveFp,ECPointFp:ECPointFp,ECFieldElementFp:ECFieldElementFp};e.exports=r},,,,function(e,t,i){var n=i(357);var a=i(215).Buffer;var r=i(362);var s=i(584);var o=s.newInvalidAsn1Error;function Reader(e){if(!e||!a.isBuffer(e))throw new TypeError("data must be a node Buffer");this._buf=e;this._size=e.length;this._len=0;this._offset=0}Object.defineProperty(Reader.prototype,"length",{enumerable:true,get:function(){return this._len}});Object.defineProperty(Reader.prototype,"offset",{enumerable:true,get:function(){return this._offset}});Object.defineProperty(Reader.prototype,"remain",{get:function(){return this._size-this._offset}});Object.defineProperty(Reader.prototype,"buffer",{get:function(){return this._buf.slice(this._offset)}});Reader.prototype.readByte=function(e){if(this._size-this._offset<1)return null;var t=this._buf[this._offset]&255;if(!e)this._offset+=1;return t};Reader.prototype.peek=function(){return this.readByte(true)};Reader.prototype.readLength=function(e){if(e===undefined)e=this._offset;if(e>=this._size)return null;var t=this._buf[e++]&255;if(t===null)return null;if((t&128)===128){t&=127;if(t===0)throw o("Indefinite length not supported");if(t>4)throw o("encoding too long");if(this._size-e<t)return null;this._len=0;for(var i=0;i<t;i++)this._len=(this._len<<8)+(this._buf[e++]&255)}else{this._len=t}return e};Reader.prototype.readSequence=function(e){var t=this.peek();if(t===null)return null;if(e!==undefined&&e!==t)throw o("Expected 0x"+e.toString(16)+": got 0x"+t.toString(16));var i=this.readLength(this._offset+1);if(i===null)return null;this._offset=i;return t};Reader.prototype.readInt=function(){return this._readTag(r.Integer)};Reader.prototype.readBoolean=function(){return this._readTag(r.Boolean)===0?false:true};Reader.prototype.readEnumeration=function(){return this._readTag(r.Enumeration)};Reader.prototype.readString=function(e,t){if(!e)e=r.OctetString;var i=this.peek();if(i===null)return null;if(i!==e)throw o("Expected 0x"+e.toString(16)+": got 0x"+i.toString(16));var n=this.readLength(this._offset+1);if(n===null)return null;if(this.length>this._size-n)return null;this._offset=n;if(this.length===0)return t?a.alloc(0):"";var s=this._buf.slice(this._offset,this._offset+this.length);this._offset+=this.length;return t?s:s.toString("utf8")};Reader.prototype.readOID=function(e){if(!e)e=r.OID;var t=this.readString(e,true);if(t===null)return null;var i=[];var n=0;for(var a=0;a<t.length;a++){var s=t[a]&255;n<<=7;n+=s&127;if((s&128)===0){i.push(n);n=0}}n=i.shift();i.unshift(n%40);i.unshift(n/40>>0);return i.join(".")};Reader.prototype._readTag=function(e){n.ok(e!==undefined);var t=this.peek();if(t===null)return null;if(t!==e)throw o("Expected 0x"+e.toString(16)+": got 0x"+t.toString(16));var i=this.readLength(this._offset+1);if(i===null)return null;if(this.length>4)throw o("Integer too long: "+this.length);if(this.length>this._size-i)return null;this._offset=i;var a=this._buf[this._offset];var r=0;for(var s=0;s<this.length;s++){r<<=8;r|=this._buf[this._offset++]&255}if((a&128)===128&&s!==4)r-=1<<s*8;return r>>0};e.exports=Reader},,,function(e,t,i){const{sign:n,verify:a}=i(373);const{KEYOBJECT:r}=i(771);const{edDSASupported:s}=i(915);const o=({[r]:e},t)=>{if(typeof t==="string"){t=Buffer.from(t)}return n(undefined,t,e)};const u=({[r]:e},t,i)=>{return a(undefined,t,e,i)};e.exports=((e,t)=>{if(s){e.sign.set("EdDSA",o);e.verify.set("EdDSA",u);t.OKP.sign.EdDSA=(e=>e.private&&t.OKP.verify.EdDSA(e));t.OKP.verify.EdDSA=(e=>(e.use==="sig"||e.use===undefined)&&e.keyObject.asymmetricKeyType.startsWith("ed"))}})},,function(e,t,i){"use strict";const{Writable:n}=i(413);const a=i(301);const{BINARY_TYPES:r,EMPTY_BUFFER:s,kStatusCode:o,kWebSocket:u}=i(799);const{concat:l,toArrayBuffer:c,unmask:d}=i(104);const{isValidStatusCode:p,isValidUTF8:f}=i(562);const h=0;const m=1;const b=2;const g=3;const y=4;const S=5;class Receiver extends n{constructor(e,t,i){super();this._binaryType=e||r[0];this[u]=undefined;this._extensions=t||{};this._maxPayload=i|0;this._bufferedBytes=0;this._buffers=[];this._compressed=false;this._payloadLength=0;this._mask=undefined;this._fragmented=0;this._masked=false;this._fin=false;this._opcode=0;this._totalPayloadLength=0;this._messageLength=0;this._fragments=[];this._state=h;this._loop=false}_write(e,t,i){if(this._opcode===8&&this._state==h)return i();this._bufferedBytes+=e.length;this._buffers.push(e);this.startLoop(i)}consume(e){this._bufferedBytes-=e;if(e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){const t=this._buffers[0];this._buffers[0]=t.slice(e);return t.slice(0,e)}const t=Buffer.allocUnsafe(e);do{const i=this._buffers[0];if(e>=i.length){this._buffers.shift().copy(t,t.length-e)}else{i.copy(t,t.length-e,0,e);this._buffers[0]=i.slice(e)}e-=i.length}while(e>0);return t}startLoop(e){var t;this._loop=true;do{switch(this._state){case h:t=this.getInfo();break;case m:t=this.getPayloadLength16();break;case b:t=this.getPayloadLength64();break;case g:this.getMask();break;case y:t=this.getData(e);break;default:this._loop=false;return}}while(this._loop);e(t)}getInfo(){if(this._bufferedBytes<2){this._loop=false;return}const e=this.consume(2);if((e[0]&48)!==0){this._loop=false;return error(RangeError,"RSV2 and RSV3 must be clear",true,1002)}const t=(e[0]&64)===64;if(t&&!this._extensions[a.extensionName]){this._loop=false;return error(RangeError,"RSV1 must be clear",true,1002)}this._fin=(e[0]&128)===128;this._opcode=e[0]&15;this._payloadLength=e[1]&127;if(this._opcode===0){if(t){this._loop=false;return error(RangeError,"RSV1 must be clear",true,1002)}if(!this._fragmented){this._loop=false;return error(RangeError,"invalid opcode 0",true,1002)}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){this._loop=false;return error(RangeError,`invalid opcode ${this._opcode}`,true,1002)}this._compressed=t}else if(this._opcode>7&&this._opcode<11){if(!this._fin){this._loop=false;return error(RangeError,"FIN must be set",true,1002)}if(t){this._loop=false;return error(RangeError,"RSV1 must be clear",true,1002)}if(this._payloadLength>125){this._loop=false;return error(RangeError,`invalid payload length ${this._payloadLength}`,true,1002)}}else{this._loop=false;return error(RangeError,`invalid opcode ${this._opcode}`,true,1002)}if(!this._fin&&!this._fragmented)this._fragmented=this._opcode;this._masked=(e[1]&128)===128;if(this._payloadLength===126)this._state=m;else if(this._payloadLength===127)this._state=b;else return this.haveLength()}getPayloadLength16(){if(this._bufferedBytes<2){this._loop=false;return}this._payloadLength=this.consume(2).readUInt16BE(0);return this.haveLength()}getPayloadLength64(){if(this._bufferedBytes<8){this._loop=false;return}const e=this.consume(8);const t=e.readUInt32BE(0);if(t>Math.pow(2,53-32)-1){this._loop=false;return error(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",false,1009)}this._payloadLength=t*Math.pow(2,32)+e.readUInt32BE(4);return this.haveLength()}haveLength(){if(this._payloadLength&&this._opcode<8){this._totalPayloadLength+=this._payloadLength;if(this._totalPayloadLength>this._maxPayload&&this._maxPayload>0){this._loop=false;return error(RangeError,"Max payload size exceeded",false,1009)}}if(this._masked)this._state=g;else this._state=y}getMask(){if(this._bufferedBytes<4){this._loop=false;return}this._mask=this.consume(4);this._state=y}getData(e){var t=s;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength){this._loop=false;return}t=this.consume(this._payloadLength);if(this._masked)d(t,this._mask)}if(this._opcode>7)return this.controlMessage(t);if(this._compressed){this._state=S;this.decompress(t,e);return}if(t.length){this._messageLength=this._totalPayloadLength;this._fragments.push(t)}return this.dataMessage()}decompress(e,t){const i=this._extensions[a.extensionName];i.decompress(e,this._fin,(e,i)=>{if(e)return t(e);if(i.length){this._messageLength+=i.length;if(this._messageLength>this._maxPayload&&this._maxPayload>0){return t(error(RangeError,"Max payload size exceeded",false,1009))}this._fragments.push(i)}const n=this.dataMessage();if(n)return t(n);this.startLoop(t)})}dataMessage(){if(this._fin){const t=this._messageLength;const i=this._fragments;this._totalPayloadLength=0;this._messageLength=0;this._fragmented=0;this._fragments=[];if(this._opcode===2){var e;if(this._binaryType==="nodebuffer"){e=l(i,t)}else if(this._binaryType==="arraybuffer"){e=c(l(i,t))}else{e=i}this.emit("message",e)}else{const e=l(i,t);if(!f(e)){this._loop=false;return error(Error,"invalid UTF-8 sequence",true,1007)}this.emit("message",e.toString())}}this._state=h}controlMessage(e){if(this._opcode===8){this._loop=false;if(e.length===0){this.emit("conclude",1005,"");this.end()}else if(e.length===1){return error(RangeError,"invalid payload length 1",true,1002)}else{const t=e.readUInt16BE(0);if(!p(t)){return error(RangeError,`invalid status code ${t}`,true,1002)}const i=e.slice(2);if(!f(i)){return error(Error,"invalid UTF-8 sequence",true,1007)}this.emit("conclude",t,i.toString());this.end()}}else if(this._opcode===9){this.emit("ping",e)}else{this.emit("pong",e)}this._state=h}}e.exports=Receiver;function error(e,t,i,n){const a=new e(i?`Invalid WebSocket frame: ${t}`:t);Error.captureStackTrace(a,error);a[o]=n;return a}},function(e,t,i){function __ncc_wildcard$0(e){if(e==="cat.js"||e==="cat")return i(833);else if(e==="cd.js"||e==="cd")return i(8);else if(e==="chmod.js"||e==="chmod")return i(477);else if(e==="common.js"||e==="common")return i(602);else if(e==="cp.js"||e==="cp")return i(838);else if(e==="dirs.js"||e==="dirs")return i(542);else if(e==="echo.js"||e==="echo")return i(757);else if(e==="error.js"||e==="error")return i(605);else if(e==="exec-child.js"||e==="exec-child")return i(761);else if(e==="exec.js"||e==="exec")return i(693);else if(e==="find.js"||e==="find")return i(216);else if(e==="grep.js"||e==="grep")return i(199);else if(e==="head.js"||e==="head")return i(890);else if(e==="ln.js"||e==="ln")return i(535);else if(e==="ls.js"||e==="ls")return i(705);else if(e==="mkdir.js"||e==="mkdir")return i(661);else if(e==="mv.js"||e==="mv")return i(63);else if(e==="popd.js"||e==="popd")return i(409);else if(e==="pushd.js"||e==="pushd")return i(188);else if(e==="pwd.js"||e==="pwd")return i(359);else if(e==="rm.js"||e==="rm")return i(688);else if(e==="sed.js"||e==="sed")return i(989);else if(e==="set.js"||e==="set")return i(936);else if(e==="sort.js"||e==="sort")return i(340);else if(e==="tail.js"||e==="tail")return i(62);else if(e==="tempdir.js"||e==="tempdir")return i(953);else if(e==="test.js"||e==="test")return i(284);else if(e==="to.js"||e==="to")return i(380);else if(e==="toEnd.js"||e==="toEnd")return i(240);else if(e==="touch.js"||e==="touch")return i(505);else if(e==="uniq.js"||e==="uniq")return i(554);else if(e==="which.js"||e==="which")return i(691)}var n=i(602);i(233).forEach(function(e){__ncc_wildcard$0(e)});t.exit=process.exit;t.error=i(605);t.ShellString=n.ShellString;t.env=process.env;t.config=n.config},function(e,t,i){const n=i(65);const a=i(124);const r=(e,t,i)=>{let r=null;let s=null;let o=null;try{o=new a(t,i)}catch(e){return null}e.forEach(e=>{if(o.test(e)){if(!r||s.compare(e)===1){r=e;s=new n(r,i)}}});return r};e.exports=r},function(e){"use strict";var t=String.prototype.replace;var i=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return t.call(e,i,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(e){(function(){var t,i,n,a,r,s;if(typeof performance!=="undefined"&&performance!==null&&performance.now){e.exports=function(){return performance.now()}}else if(typeof process!=="undefined"&&process!==null&&process.hrtime){e.exports=function(){return(t()-r)/1e6};i=process.hrtime;t=function(){var e;e=i();return e[0]*1e9+e[1]};a=t();s=process.uptime()*1e9;r=a-s}else if(Date.now){e.exports=function(){return Date.now()-n};n=Date.now()}else{e.exports=function(){return(new Date).getTime()-n};n=(new Date).getTime()}}).call(this)},,function(e,t,i){const n=i(65);const a=(e,t)=>new n(e,t).major;e.exports=a},function(e,t,i){const n=i(274);const a=i(0);const r=i(38);const s=i(322);const{bare:o}=i(797);const{JWTClaimInvalid:u,JWTExpired:l}=i(466);const{isString:c,isNotString:d}=i(518);const p=i(150);const f=c.bind(undefined,u);const h=c.bind(undefined,TypeError);const m="id_token";const b="logout_token";const g="at+JWT";const y=(e,t,i=false)=>{if(i&&e===undefined){throw new u(`"${t}" claim is missing`,t,"missing")}if(e!==undefined&&typeof e!=="number"){throw new u(`"${t}" claim must be a JSON numeric value`,t,"invalid")}};const S=(e,t,i=false)=>{if(i&&e===undefined){throw new u(`"${t}" claim is missing`,t,"missing")}if(e!==undefined&&(d(e)&&w(e))){throw new u(`"${t}" claim must be a string or array of strings`,t,"invalid")}};const w=e=>!Array.isArray(e)||e.length===0||e.some(d);const v=e=>e.toLowerCase().replace(/^application\//,"");const z=({algorithms:e,audience:t,clockTolerance:i,complete:n=false,crit:a,ignoreExp:r=false,ignoreIat:s=false,ignoreNbf:o=false,issuer:u,jti:l,maxAuthAge:c,maxTokenAge:p,nonce:f,now:y=new Date,profile:S,subject:v,typ:z})=>{h(S,"options.profile");if(typeof n!=="boolean"){throw new TypeError("options.complete must be a boolean")}if(typeof r!=="boolean"){throw new TypeError("options.ignoreExp must be a boolean")}if(typeof o!=="boolean"){throw new TypeError("options.ignoreNbf must be a boolean")}if(typeof s!=="boolean"){throw new TypeError("options.ignoreIat must be a boolean")}h(p,"options.maxTokenAge");h(v,"options.subject");h(c,"options.maxAuthAge");h(l,"options.jti");h(i,"options.clockTolerance");h(z,"options.typ");if(u!==undefined&&(d(u)&&w(u))){throw new TypeError("options.issuer must be a string or an array of strings")}if(t!==undefined&&(d(t)&&w(t))){throw new TypeError("options.audience must be a string or an array of strings")}if(e!==undefined&&w(e)){throw new TypeError("options.algorithms must be an array of strings")}h(f,"options.nonce");if(!(y instanceof Date)||!y.getTime()){throw new TypeError("options.now must be a valid Date object")}if(s&&p!==undefined){throw new TypeError("options.ignoreIat and options.maxTokenAge cannot used together")}if(a!==undefined&&w(a)){throw new TypeError("options.crit must be an array of strings")}switch(S){case m:if(!u){throw new TypeError('"issuer" option is required to validate an ID Token')}if(!t){throw new TypeError('"audience" option is required to validate an ID Token')}break;case g:if(!u){throw new TypeError('"issuer" option is required to validate a JWT Access Token')}if(!t){throw new TypeError('"audience" option is required to validate a JWT Access Token')}z=g;break;case b:if(!u){throw new TypeError('"issuer" option is required to validate a Logout Token')}if(!t){throw new TypeError('"audience" option is required to validate a Logout Token')}break;case undefined:break;default:throw new TypeError(`unsupported options.profile value "${S}"`)}return{algorithms:e,audience:t,clockTolerance:i,complete:n,crit:a,ignoreExp:r,ignoreIat:s,ignoreNbf:o,issuer:u,jti:l,maxAuthAge:c,maxTokenAge:p,nonce:f,now:y,profile:S,subject:v,typ:z}};const j=({header:e,payload:t},i,a)=>{f(e.alg,'"alg" header parameter',"alg",true);y(t.iat,"iat",i===m||i===b||i===g||!!a.maxTokenAge);y(t.exp,"exp",i===m||i===g);y(t.auth_time,"auth_time",!!a.maxAuthAge);y(t.nbf,"nbf");f(t.jti,'"jti" claim',"jti",i===b||i===g||!!a.jti);f(t.acr,'"acr" claim',"acr");f(t.nonce,'"nonce" claim',"nonce",!!a.nonce);S(t.iss,"iss",!!a.issuer);f(t.sub,'"sub" claim',"sub",i===m||i===g||!!a.subject);S(t.aud,"aud",!!a.audience);f(t.azp,'"azp" claim',"azp",i===m&&Array.isArray(t.aud)&&t.aud.length>1);S(t.amr,"amr");f(e.typ,'"typ" header parameter',"typ",!!a.typ);if(i===g){f(t.client_id,'"client_id" claim',"client_id",true)}if(i===b){f(t.sid,'"sid" claim',"sid");if(!("sid"in t)&&!("sub"in t)){throw new u('either "sid" or "sub" (or both) claims must be present')}if("nonce"in t){throw new u('"nonce" claim is prohibited',"nonce","prohibited")}if(!("events"in t)){throw new u('"events" claim is missing',"events","missing")}if(!n(t.events)){throw new u('"events" claim must be an object',"events","invalid")}if(!("http://schemas.openid.net/event/backchannel-logout"in t.events)){throw new u('"http://schemas.openid.net/event/backchannel-logout" member is missing in the "events" claim',"events","invalid")}if(!n(t.events["http://schemas.openid.net/event/backchannel-logout"])){throw new u('"http://schemas.openid.net/event/backchannel-logout" member in the "events" claim must be an object',"events","invalid")}}};const O=(e,t,i)=>{if(typeof e==="string"){return t.includes(e)}e=new Set(e);return t.some(Set.prototype.has.bind(e))};e.exports=((e,t,i={})=>{if(!n(i)){throw new TypeError("options must be an object")}const{algorithms:c,audience:d,clockTolerance:f,complete:h,crit:b,ignoreExp:g,ignoreIat:y,ignoreNbf:S,issuer:w,jti:k,maxAuthAge:C,maxTokenAge:T,nonce:R,now:E,profile:A,subject:x,typ:N}=i=z(i);const V=p(e,{complete:true});t=s(t,true);if(h){({key:t}=o(true,"preparsed",{decoded:V,token:e},t,{crit:b,algorithms:c,complete:true}));V.key=t}else{o(true,"preparsed",{decoded:V,token:e},t,{crit:b,algorithms:c})}const P=a(E);j(V,A,i);if(w&&(typeof V.payload.iss!=="string"||!(typeof w==="string"?[w]:w).includes(V.payload.iss))){throw new u('unexpected "iss" claim value',"iss","check_failed")}if(R&&V.payload.nonce!==R){throw new u('unexpected "nonce" claim value',"nonce","check_failed")}if(x&&V.payload.sub!==x){throw new u('unexpected "sub" claim value',"sub","check_failed")}if(k&&V.payload.jti!==k){throw new u('unexpected "jti" claim value',"jti","check_failed")}if(d&&!O(V.payload.aud,typeof d==="string"?[d]:d,A)){throw new u('unexpected "aud" claim value',"aud","check_failed")}if(N&&v(V.header.typ)!==v(N)){throw new u('unexpected "typ" JWT header value',"typ","check_failed")}const D=f?r(f):0;if(C){const e=r(C);if(V.payload.auth_time+e<P-D){throw new u('"auth_time" claim timestamp check failed (too much time has elapsed since the last End-User authentication)',"auth_time","check_failed")}}if(!y&&!("exp"in V.payload)&&"iat"in V.payload&&V.payload.iat>P+D){throw new u('"iat" claim timestamp check failed (it should be in the past)',"iat","check_failed")}if(!S&&"nbf"in V.payload&&V.payload.nbf>P+D){throw new u('"nbf" claim timestamp check failed',"nbf","check_failed")}if(!g&&"exp"in V.payload&&V.payload.exp<=P-D){throw new l('"exp" claim timestamp check failed',"exp","check_failed")}if(T){const e=P-V.payload.iat;const t=r(T);if(e-D>t){throw new l('"iat" claim timestamp check failed (too far in the past)',"iat","check_failed")}if(e<0-D){throw new u('"iat" claim timestamp check failed (it should be in the past)',"iat","check_failed")}}if(A===m&&Array.isArray(V.payload.aud)&&V.payload.aud.length>1&&V.payload.azp!==d){throw new u('unexpected "azp" claim value',"azp","check_failed")}return h?V:V.payload})},,function(e){e.exports=require("fs")},,function(e){const t=()=>Buffer.from("");const i=(e,t,i)=>!i.length;e.exports=((e,n)=>{e.sign.set("none",t);e.verify.set("none",i)})},function(e,t,i){"use strict";var n=i(213);var a={};a.rules=i(50).map(function(e){return{rule:e,suffix:e.replace(/^(\*\.|\!)/,""),punySuffix:-1,wildcard:e.charAt(0)==="*",exception:e.charAt(0)==="!"}});a.endsWith=function(e,t){return e.indexOf(t,e.length-t.length)!==-1};a.findRule=function(e){var t=n.toASCII(e);return a.rules.reduce(function(e,i){if(i.punySuffix===-1){i.punySuffix=n.toASCII(i.suffix)}if(!a.endsWith(t,"."+i.punySuffix)&&t!==i.punySuffix){return e}return i},null)};t.errorCodes={DOMAIN_TOO_SHORT:"Domain name too short.",DOMAIN_TOO_LONG:"Domain name too long. It should be no more than 255 chars.",LABEL_STARTS_WITH_DASH:"Domain name label can not start with a dash.",LABEL_ENDS_WITH_DASH:"Domain name label can not end with a dash.",LABEL_TOO_LONG:"Domain name label should be at most 63 chars long.",LABEL_TOO_SHORT:"Domain name label should be at least 1 character long.",LABEL_INVALID_CHARS:"Domain name label can only contain alphanumeric characters or dashes."};a.validate=function(e){var t=n.toASCII(e);if(t.length<1){return"DOMAIN_TOO_SHORT"}if(t.length>255){return"DOMAIN_TOO_LONG"}var i=t.split(".");var a;for(var r=0;r<i.length;++r){a=i[r];if(!a.length){return"LABEL_TOO_SHORT"}if(a.length>63){return"LABEL_TOO_LONG"}if(a.charAt(0)==="-"){return"LABEL_STARTS_WITH_DASH"}if(a.charAt(a.length-1)==="-"){return"LABEL_ENDS_WITH_DASH"}if(!/^[a-z0-9\-]+$/.test(a)){return"LABEL_INVALID_CHARS"}}};t.parse=function(e){if(typeof e!=="string"){throw new TypeError("Domain name must be a string.")}var i=e.slice(0).toLowerCase();if(i.charAt(i.length-1)==="."){i=i.slice(0,i.length-1)}var r=a.validate(i);if(r){return{input:e,error:{message:t.errorCodes[r],code:r}}}var s={input:e,tld:null,sld:null,domain:null,subdomain:null,listed:false};var o=i.split(".");if(o[o.length-1]==="local"){return s}var u=function(){if(!/xn--/.test(i)){return s}if(s.domain){s.domain=n.toASCII(s.domain)}if(s.subdomain){s.subdomain=n.toASCII(s.subdomain)}return s};var l=a.findRule(i);if(!l){if(o.length<2){return s}s.tld=o.pop();s.sld=o.pop();s.domain=[s.sld,s.tld].join(".");if(o.length){s.subdomain=o.pop()}return u()}s.listed=true;var c=l.suffix.split(".");var d=o.slice(0,o.length-c.length);if(l.exception){d.push(c.shift())}s.tld=c.join(".");if(!d.length){return u()}if(l.wildcard){c.unshift(d.pop());s.tld=c.join(".")}if(!d.length){return u()}s.sld=d.pop();s.domain=[s.sld,s.tld].join(".");if(d.length){s.subdomain=d.join(".")}return u()};t.get=function(e){if(!e){return null}return t.parse(e).domain||null};t.isValid=function(e){var i=t.parse(e);return Boolean(i.domain&&i.listed)}},function(e,t,i){var n=i(500);e.exports=async;function async(e){var t=false;n(function(){t=true});return function async_callback(i,a){if(t){e(i,a)}else{n(function nextTick_callback(){e(i,a)})}}}},function(e,t,i){const n=i(298);const a=i(873);const r=i(486);const s=i(167);const o=i(586);const u=i(898);const l=(e,t,i,l)=>{switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof i==="object")i=i.version;return e===i;case"!==":if(typeof e==="object")e=e.version;if(typeof i==="object")i=i.version;return e!==i;case"":case"=":case"==":return n(e,i,l);case"!=":return a(e,i,l);case">":return r(e,i,l);case">=":return s(e,i,l);case"<":return o(e,i,l);case"<=":return u(e,i,l);default:throw new TypeError(`Invalid operator: ${t}`)}};e.exports=l},function(e,t,i){var n=i(872);var a=i(669);function FingerprintFormatError(e,t){if(Error.captureStackTrace)Error.captureStackTrace(this,FingerprintFormatError);this.name="FingerprintFormatError";this.fingerprint=e;this.format=t;this.message="Fingerprint format is not supported, or is invalid: ";if(e!==undefined)this.message+=" fingerprint = "+e;if(t!==undefined)this.message+=" format = "+t}a.inherits(FingerprintFormatError,Error);function InvalidAlgorithmError(e){if(Error.captureStackTrace)Error.captureStackTrace(this,InvalidAlgorithmError);this.name="InvalidAlgorithmError";this.algorithm=e;this.message='Algorithm "'+e+'" is not supported'}a.inherits(InvalidAlgorithmError,Error);function KeyParseError(e,t,i){if(Error.captureStackTrace)Error.captureStackTrace(this,KeyParseError);this.name="KeyParseError";this.format=t;this.keyName=e;this.innerErr=i;this.message="Failed to parse "+e+" as a valid "+t+" format key: "+i.message}a.inherits(KeyParseError,Error);function SignatureParseError(e,t,i){if(Error.captureStackTrace)Error.captureStackTrace(this,SignatureParseError);this.name="SignatureParseError";this.type=e;this.format=t;this.innerErr=i;this.message="Failed to parse the given data as a "+e+" signature in "+t+" format: "+i.message}a.inherits(SignatureParseError,Error);function CertificateParseError(e,t,i){if(Error.captureStackTrace)Error.captureStackTrace(this,CertificateParseError);this.name="CertificateParseError";this.format=t;this.certName=e;this.innerErr=i;this.message="Failed to parse "+e+" as a valid "+t+" format certificate: "+i.message}a.inherits(CertificateParseError,Error);function KeyEncryptedError(e,t){if(Error.captureStackTrace)Error.captureStackTrace(this,KeyEncryptedError);this.name="KeyEncryptedError";this.format=t;this.keyName=e;this.message="The "+t+" format key "+e+" is "+"encrypted (password-protected), and no passphrase was "+"provided in `options`"}a.inherits(KeyEncryptedError,Error);e.exports={FingerprintFormatError:FingerprintFormatError,InvalidAlgorithmError:InvalidAlgorithmError,KeyParseError:KeyParseError,SignatureParseError:SignatureParseError,KeyEncryptedError:KeyEncryptedError,CertificateParseError:CertificateParseError}},,function(e,t,i){"use strict";var n=i(4);var a=Object.prototype.hasOwnProperty;var r=Array.isArray;var s={allowDots:false,allowPrototypes:false,arrayLimit:20,charset:"utf-8",charsetSentinel:false,comma:false,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:false,interpretNumericEntities:false,parameterLimit:1e3,parseArrays:true,plainObjects:false,strictNullHandling:false};var o=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})};var u=function(e,t){if(e&&typeof e==="string"&&t.comma&&e.indexOf(",")>-1){return e.split(",")}return e};var l="utf8=%26%2310003%3B";var c="utf8=%E2%9C%93";var d=function parseQueryStringValues(e,t){var i={};var d=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;var p=t.parameterLimit===Infinity?undefined:t.parameterLimit;var f=d.split(t.delimiter,p);var h=-1;var m;var b=t.charset;if(t.charsetSentinel){for(m=0;m<f.length;++m){if(f[m].indexOf("utf8=")===0){if(f[m]===c){b="utf-8"}else if(f[m]===l){b="iso-8859-1"}h=m;m=f.length}}}for(m=0;m<f.length;++m){if(m===h){continue}var g=f[m];var y=g.indexOf("]=");var S=y===-1?g.indexOf("="):y+1;var w,v;if(S===-1){w=t.decoder(g,s.decoder,b,"key");v=t.strictNullHandling?null:""}else{w=t.decoder(g.slice(0,S),s.decoder,b,"key");v=n.maybeMap(u(g.slice(S+1),t),function(e){return t.decoder(e,s.decoder,b,"value")})}if(v&&t.interpretNumericEntities&&b==="iso-8859-1"){v=o(v)}if(g.indexOf("[]=")>-1){v=r(v)?[v]:v}if(a.call(i,w)){i[w]=n.combine(i[w],v)}else{i[w]=v}}return i};var p=function(e,t,i,n){var a=n?t:u(t,i);for(var r=e.length-1;r>=0;--r){var s;var o=e[r];if(o==="[]"&&i.parseArrays){s=[].concat(a)}else{s=i.plainObjects?Object.create(null):{};var l=o.charAt(0)==="["&&o.charAt(o.length-1)==="]"?o.slice(1,-1):o;var c=parseInt(l,10);if(!i.parseArrays&&l===""){s={0:a}}else if(!isNaN(c)&&o!==l&&String(c)===l&&c>=0&&(i.parseArrays&&c<=i.arrayLimit)){s=[];s[c]=a}else{s[l]=a}}a=s}return a};var f=function parseQueryStringKeys(e,t,i,n){if(!e){return}var r=i.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;var s=/(\[[^[\]]*])/;var o=/(\[[^[\]]*])/g;var u=i.depth>0&&s.exec(r);var l=u?r.slice(0,u.index):r;var c=[];if(l){if(!i.plainObjects&&a.call(Object.prototype,l)){if(!i.allowPrototypes){return}}c.push(l)}var d=0;while(i.depth>0&&(u=o.exec(r))!==null&&d<i.depth){d+=1;if(!i.plainObjects&&a.call(Object.prototype,u[1].slice(1,-1))){if(!i.allowPrototypes){return}}c.push(u[1])}if(u){c.push("["+r.slice(u.index)+"]")}return p(c,t,i,n)};var h=function normalizeParseOptions(e){if(!e){return s}if(e.decoder!==null&&e.decoder!==undefined&&typeof e.decoder!=="function"){throw new TypeError("Decoder has to be a function.")}if(typeof e.charset!=="undefined"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1"){throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined")}var t=typeof e.charset==="undefined"?s.charset:e.charset;return{allowDots:typeof e.allowDots==="undefined"?s.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes==="boolean"?e.allowPrototypes:s.allowPrototypes,arrayLimit:typeof e.arrayLimit==="number"?e.arrayLimit:s.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel==="boolean"?e.charsetSentinel:s.charsetSentinel,comma:typeof e.comma==="boolean"?e.comma:s.comma,decoder:typeof e.decoder==="function"?e.decoder:s.decoder,delimiter:typeof e.delimiter==="string"||n.isRegExp(e.delimiter)?e.delimiter:s.delimiter,depth:typeof e.depth==="number"||e.depth===false?+e.depth:s.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===true,interpretNumericEntities:typeof e.interpretNumericEntities==="boolean"?e.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:typeof e.parameterLimit==="number"?e.parameterLimit:s.parameterLimit,parseArrays:e.parseArrays!==false,plainObjects:typeof e.plainObjects==="boolean"?e.plainObjects:s.plainObjects,strictNullHandling:typeof e.strictNullHandling==="boolean"?e.strictNullHandling:s.strictNullHandling}};e.exports=function(e,t){var i=h(t);if(e===""||e===null||typeof e==="undefined"){return i.plainObjects?Object.create(null):{}}var a=typeof e==="string"?d(e,i):e;var r=i.plainObjects?Object.create(null):{};var s=Object.keys(a);for(var o=0;o<s.length;++o){var u=s[o];var l=f(u,a[u],i,typeof e==="string");r=n.merge(r,l,i)}return n.compact(r)}},,function(e,t,i){var n=i(669).format;var a=i(602);a.register("echo",_echo,{allowGlobbing:false});function _echo(e){var t=[].slice.call(arguments,e?0:1);var i={};try{i=a.parseOptions(t[0],{e:"escapes",n:"no_newline"},{silent:true});if(t[0]){t.shift()}}catch(e){a.state.error=null}var r=n.apply(null,t);if(!i.no_newline){r+="\n"}process.stdout.write(r);return r}e.exports=_echo},function(e){e.exports={$id:"timings.json#",$schema:"http://json-schema.org/draft-06/schema#",required:["send","wait","receive"],properties:{dns:{type:"number",min:-1},connect:{type:"number",min:-1},blocked:{type:"number",min:-1},send:{type:"number",min:-1},wait:{type:"number",min:-1},receive:{type:"number",min:-1},ssl:{type:"number",min:-1},comment:{type:"string"}}}},,function(e){const t=/^[0-9]+$/;const i=(e,i)=>{const n=t.test(e);const a=t.test(i);if(n&&a){e=+e;i=+i}return e===i?0:n&&!a?-1:a&&!n?1:e<i?-1:1};const n=(e,t)=>i(t,e);e.exports={compareIdentifiers:i,rcompareIdentifiers:n}},function(e,t,i){e=i.nmd(e);if(require.main!==e){throw new Error("This file should not be required")}var n=i(129);var a=i(747);var r=process.argv[2];var s=a.readFileSync(r,"utf8");var o=JSON.parse(s);var u=o.command;var l=o.execOptions;var c=o.pipe;var d=o.stdoutFile;var p=o.stderrFile;var f=n.exec(u,l,function(e){if(!e){process.exitCode=0}else if(e.code===undefined){process.exitCode=1}else{process.exitCode=e.code}});var h=a.createWriteStream(d);var m=a.createWriteStream(p);f.stdout.pipe(h);f.stderr.pipe(m);f.stdout.pipe(process.stdout);f.stderr.pipe(process.stderr);if(c){f.stdin.end(c)}},,function(e){"use strict";var t=e.exports=function(e,t,i){if(typeof t=="function"){i=t;t={}}i=t.cb||i;var n=typeof i=="function"?i:i.pre||function(){};var a=i.post||function(){};_traverse(t,n,a,e,"",e)};t.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};t.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};t.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};t.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(e,i,n,a,r,s,o,u,l,c){if(a&&typeof a=="object"&&!Array.isArray(a)){i(a,r,s,o,u,l,c);for(var d in a){var p=a[d];if(Array.isArray(p)){if(d in t.arrayKeywords){for(var f=0;f<p.length;f++)_traverse(e,i,n,p[f],r+"/"+d+"/"+f,s,r,d,a,f)}}else if(d in t.propsKeywords){if(p&&typeof p=="object"){for(var h in p)_traverse(e,i,n,p[h],r+"/"+d+"/"+escapeJsonPtr(h),s,r,d,a,h)}}else if(d in t.keywords||e.allKeys&&!(d in t.skipKeywords)){_traverse(e,i,n,p,r+"/"+d,s,r,d,a)}}n(a,r,s,o,u,l,c)}}function escapeJsonPtr(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}},,,function(e,t,i){const{Reporter:n}=i(452);const{DecoderBuffer:a,EncoderBuffer:r}=i(335);const s=i(720);e.exports={DecoderBuffer:a,EncoderBuffer:r,Node:s,Reporter:n}},function(e){"use strict";e.exports=function ucs2length(e){var t=0,i=e.length,n=0,a;while(n<i){t++;a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<i){a=e.charCodeAt(n);if((a&64512)==56320)n++}}return t}},function(e,t,i){const{inherits:n}=i(669);const{DecoderBuffer:a}=i(335);const r=i(720);const s=i(313);function DERDecoder(e){this.enc="der";this.name=e.name;this.entity=e;this.tree=new DERNode;this.tree._init(e.body)}DERDecoder.prototype.decode=function decode(e,t){if(!a.isDecoderBuffer(e)){e=new a(e,t)}return this.tree._decode(e,t)};function DERNode(e){r.call(this,"der",e)}n(DERNode,r);DERNode.prototype._peekTag=function peekTag(e,t,i){if(e.isEmpty()){return false}const n=e.save();const a=derDecodeTag(e,`Failed to peek tag: "${t}"`);if(e.isError(a)){return a}e.restore(n);return a.tag===t||a.tagStr===t||a.tagStr+"of"===t||i};DERNode.prototype._decodeTag=function decodeTag(e,t,i){const n=derDecodeTag(e,`Failed to decode tag of "${t}"`);if(e.isError(n)){return n}let a=derDecodeLen(e,n.primitive,`Failed to get length of "${t}"`);if(e.isError(a)){return a}if(!i&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t){return e.error(`Failed to match tag: "${t}"`)}if(n.primitive||a!==null){return e.skip(a,`Failed to match body of: "${t}"`)}const r=e.save();const s=this._skipUntilEnd(e,`Failed to skip indefinite length body: "${this.tag}"`);if(e.isError(s)){return s}a=e.offset-r.offset;e.restore(r);return e.skip(a,`Failed to match body of: "${t}"`)};DERNode.prototype._skipUntilEnd=function skipUntilEnd(e,t){for(;;){const i=derDecodeTag(e,t);if(e.isError(i)){return i}const n=derDecodeLen(e,i.primitive,t);if(e.isError(n)){return n}let a;if(i.primitive||n!==null){a=e.skip(n)}else{a=this._skipUntilEnd(e,t)}if(e.isError(a)){return a}if(i.tagStr==="end"){break}}};DERNode.prototype._decodeList=function decodeList(e,t,i,n){const a=[];while(!e.isEmpty()){const t=this._peekTag(e,"end");if(e.isError(t)){return t}const r=i.decode(e,"der",n);if(e.isError(r)&&t){break}a.push(r)}return a};DERNode.prototype._decodeStr=function decodeStr(e,t){if(t==="bitstr"){const t=e.readUInt8();if(e.isError(t)){return t}return{unused:t,data:e.raw()}}else if(t==="bmpstr"){const t=e.raw();if(t.length%2===1){return e.error("Decoding of string type: bmpstr length mismatch")}let i="";for(let e=0;e<t.length/2;e++){i+=String.fromCharCode(t.readUInt16BE(e*2))}return i}else if(t==="numstr"){const t=e.raw().toString("ascii");if(!this._isNumstr(t)){return e.error("Decoding of string type: numstr unsupported characters")}return t}else if(t==="octstr"){return e.raw()}else if(t==="objDesc"){return e.raw()}else if(t==="printstr"){const t=e.raw().toString("ascii");if(!this._isPrintstr(t)){return e.error("Decoding of string type: printstr unsupported characters")}return t}else if(/str$/.test(t)){return e.raw().toString()}else{return e.error(`Decoding of string type: ${t} unsupported`)}};DERNode.prototype._decodeObjid=function decodeObjid(e,t,i){let n;const a=[];let r=0;let s=0;while(!e.isEmpty()){s=e.readUInt8();r<<=7;r|=s&127;if((s&128)===0){a.push(r);r=0}}if(s&128){a.push(r)}const o=a[0]/40|0;const u=a[0]%40;if(i){n=a}else{n=[o,u].concat(a.slice(1))}if(t){let e=t[n.join(" ")];if(e===undefined){e=t[n.join(".")]}if(e!==undefined){n=e}}return n};DERNode.prototype._decodeTime=function decodeTime(e,t){const i=e.raw().toString();let n;let a;let r;let s;let o;let u;if(t==="gentime"){n=i.slice(0,4)|0;a=i.slice(4,6)|0;r=i.slice(6,8)|0;s=i.slice(8,10)|0;o=i.slice(10,12)|0;u=i.slice(12,14)|0}else if(t==="utctime"){n=i.slice(0,2)|0;a=i.slice(2,4)|0;r=i.slice(4,6)|0;s=i.slice(6,8)|0;o=i.slice(8,10)|0;u=i.slice(10,12)|0;if(n<70){n=2e3+n}else{n=1900+n}}else{return e.error(`Decoding ${t} time is not supported yet`)}return Date.UTC(n,a-1,r,s,o,u,0)};DERNode.prototype._decodeNull=function decodeNull(){return null};DERNode.prototype._decodeBool=function decodeBool(e){const t=e.readUInt8();if(e.isError(t)){return t}else{return t!==0}};DERNode.prototype._decodeInt=function decodeInt(e,t){const i=e.raw();let n=BigInt(`0x${i.toString("hex")}`);if(t){n=t[n.toString(10)]||n}return n};DERNode.prototype._use=function use(e,t){if(typeof e==="function"){e=e(t)}return e._getDecoder("der").tree};function derDecodeTag(e,t){let i=e.readUInt8(t);if(e.isError(i)){return i}const n=s.tagClass[i>>6];const a=(i&32)===0;if((i&31)===31){let n=i;i=0;while((n&128)===128){n=e.readUInt8(t);if(e.isError(n)){return n}i<<=7;i|=n&127}}else{i&=31}const r=s.tag[i];return{cls:n,primitive:a,tag:i,tagStr:r}}function derDecodeLen(e,t,i){let n=e.readUInt8(i);if(e.isError(n)){return n}if(!t&&n===128){return null}if((n&128)===0){return n}const a=n&127;if(a>4){return e.error("length octect is too long")}n=0;for(let t=0;t<a;t++){n<<=8;const t=e.readUInt8(i);if(e.isError(t)){return t}n|=t}return n}e.exports=DERDecoder},,function(e){function assertSigningAlgValuesSupport(e,t,i){if(!t[`${e}_endpoint`])return;const n=`${e}_endpoint_auth_method`;const a=`${e}_endpoint_auth_signing_alg`;const r=`${e}_endpoint_auth_signing_alg_values_supported`;if(i[n]&&i[n].endsWith("_jwt")&&!i[a]&&!t[r]){throw new TypeError(`${r} must be configured on the issuer if ${a} is not defined on a client`)}}function assertIssuerConfiguration(e,t){if(!e[t]){throw new TypeError(`${t} must be configured on the issuer`)}}e.exports={assertSigningAlgValuesSupport:assertSigningAlgValuesSupport,assertIssuerConfiguration:assertIssuerConfiguration}},function(e){e.exports.KEYOBJECT=Symbol("KEYOBJECT");e.exports.PRIVATE_MEMBERS=Symbol("PRIVATE_MEMBERS");e.exports.PUBLIC_MEMBERS=Symbol("PUBLIC_MEMBERS");e.exports.THUMBPRINT_MATERIAL=Symbol("THUMBPRINT_MATERIAL");e.exports.JWK_MEMBERS=Symbol("JWK_MEMBERS");e.exports.KEY_MANAGEMENT_ENCRYPT=Symbol("KEY_MANAGEMENT_ENCRYPT");e.exports.KEY_MANAGEMENT_DECRYPT=Symbol("KEY_MANAGEMENT_DECRYPT");const t={sig:new Set(["sign","verify"]),enc:new Set(["encrypt","decrypt","wrapKey","unwrapKey","deriveKey"])};const i=new Set([...t.sig,...t.enc]);const n=new Set(Object.keys(t));e.exports.USES_MAPPING=t;e.exports.OPS=i;e.exports.USES=n},function(e){"use strict";e.exports=function generate__limitLength(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=="maxLength"?">":"<";n+="if ( ";if(p){n+=" ("+f+" !== undefined && typeof "+f+" != 'number') || "}if(e.opts.unicode===false){n+=" "+d+".length "}else{n+=" ucs2length("+d+") "}n+=" "+h+" "+f+") { ";var c=t;var m=m||[];m.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(c||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+f+" } ";if(e.opts.messages!==false){n+=" , message: 'should NOT be ";if(t=="maxLength"){n+="longer"}else{n+="shorter"}n+=" than ";if(p){n+="' + "+f+" + '"}else{n+=""+s}n+=" characters' "}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,t,i){"use strict";const n=i(835);const a=i(363);const r=i(657);const s=i(534);class GotError extends Error{constructor(e,t,i){super(e);Error.captureStackTrace(this,this.constructor);this.name="GotError";if(!s.undefined(t.code)){this.code=t.code}Object.assign(this,{host:i.host,hostname:i.hostname,method:i.method,path:i.path,socketPath:i.socketPath,protocol:i.protocol,url:i.href,gotOptions:i})}}e.exports.GotError=GotError;e.exports.CacheError=class extends GotError{constructor(e,t){super(e.message,e,t);this.name="CacheError"}};e.exports.RequestError=class extends GotError{constructor(e,t){super(e.message,e,t);this.name="RequestError"}};e.exports.ReadError=class extends GotError{constructor(e,t){super(e.message,e,t);this.name="ReadError"}};e.exports.ParseError=class extends GotError{constructor(e,t,i,r){super(`${e.message} in "${n.format(i)}": \n${r.slice(0,77)}...`,e,i);this.name="ParseError";this.statusCode=t;this.statusMessage=a.STATUS_CODES[this.statusCode]}};e.exports.HTTPError=class extends GotError{constructor(e,t){const{statusCode:i}=e;let{statusMessage:n}=e;if(n){n=n.replace(/\r?\n/g," ").trim()}else{n=a.STATUS_CODES[i]}super(`Response code ${i} (${n})`,{},t);this.name="HTTPError";this.statusCode=i;this.statusMessage=n;this.headers=e.headers;this.body=e.body}};e.exports.MaxRedirectsError=class extends GotError{constructor(e,t,i){super("Redirected 10 times. Aborting.",{},i);this.name="MaxRedirectsError";this.statusCode=e;this.statusMessage=a.STATUS_CODES[this.statusCode];this.redirectUrls=t}};e.exports.UnsupportedProtocolError=class extends GotError{constructor(e){super(`Unsupported protocol "${e.protocol}"`,{},e);this.name="UnsupportedProtocolError"}};e.exports.TimeoutError=class extends GotError{constructor(e,t){super(e.message,{code:"ETIMEDOUT"},t);this.name="TimeoutError";this.event=e.event}};e.exports.CancelError=r.CancelError},,function(e){e.exports={$id:"creator.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,t,i){"use strict";var n=i(972);var a=i(622).extname;var r=/^\s*([^;\s]*)(?:;|\s|$)/;var s=/^text\//i;t.charset=charset;t.charsets={lookup:charset};t.contentType=contentType;t.extension=extension;t.extensions=Object.create(null);t.lookup=lookup;t.types=Object.create(null);populateMaps(t.extensions,t.types);function charset(e){if(!e||typeof e!=="string"){return false}var t=r.exec(e);var i=t&&n[t[1].toLowerCase()];if(i&&i.charset){return i.charset}if(t&&s.test(t[1])){return"UTF-8"}return false}function contentType(e){if(!e||typeof e!=="string"){return false}var i=e.indexOf("/")===-1?t.lookup(e):e;if(!i){return false}if(i.indexOf("charset")===-1){var n=t.charset(i);if(n)i+="; charset="+n.toLowerCase()}return i}function extension(e){if(!e||typeof e!=="string"){return false}var i=r.exec(e);var n=i&&t.extensions[i[1].toLowerCase()];if(!n||!n.length){return false}return n[0]}function lookup(e){if(!e||typeof e!=="string"){return false}var i=a("x."+e).toLowerCase().substr(1);if(!i){return false}return t.types[i]||false}function populateMaps(e,t){var i=["nginx","apache",undefined,"iana"];Object.keys(n).forEach(function forEachMimeType(a){var r=n[a];var s=r.extensions;if(!s||!s.length){return}e[a]=s;for(var o=0;o<s.length;o++){var u=s[o];if(t[u]){var l=i.indexOf(n[t[u]].source);var c=i.indexOf(r.source);if(t[u]!=="application/octet-stream"&&(l>c||l===c&&t[u].substr(0,12)==="application/")){continue}}t[u]=a}})}},function(e,t,i){"use strict";const{constants:n}=i(293);const a=i(453);const r=i(375);class MaxBufferError extends Error{constructor(){super("maxBuffer exceeded");this.name="MaxBufferError"}}async function getStream(e,t){if(!e){return Promise.reject(new Error("Expected a stream"))}t={maxBuffer:Infinity,...t};const{maxBuffer:i}=t;let s;await new Promise((o,u)=>{const l=e=>{if(e&&s.getBufferedLength()<=n.MAX_LENGTH){e.bufferedData=s.getBufferedValue()}u(e)};s=a(e,r(t),e=>{if(e){l(e);return}o()});s.on("data",()=>{if(s.getBufferedLength()>i){l(new MaxBufferError)}})});return s.getBufferedValue()}e.exports=getStream;e.exports.default=getStream;e.exports.buffer=((e,t)=>getStream(e,{...t,encoding:"buffer"}));e.exports.array=((e,t)=>getStream(e,{...t,array:true}));e.exports.MaxBufferError=MaxBufferError},,function(e,t,i){const{inherits:n}=i(669);const a=i(768);function PEMDecoder(e){a.call(this,e);this.enc="pem"}n(PEMDecoder,a);PEMDecoder.prototype.decode=function decode(e,t){const i=e.toString().split(/[\r\n]+/g);const n=t.label.toUpperCase();const r=/^-----(BEGIN|END) ([^-]+)-----$/;let s=-1;let o=-1;for(let e=0;e<i.length;e++){const t=i[e].match(r);if(t===null){continue}if(t[2]!==n){continue}if(s===-1){if(t[1]!=="BEGIN"){break}s=e}else{if(t[1]!=="END"){break}o=e;break}}if(s===-1||o===-1){throw new Error(`PEM section not found for: ${n}`)}const u=i.slice(s+1,o).join("");u.replace(/[^a-z0-9+/=]+/gi,"");const l=Buffer.from(u,"base64");return a.prototype.decode.call(this,l,t)};e.exports=PEMDecoder},function(e){"use strict";e.exports=((e,t)=>{if(typeof e!=="string"){throw new TypeError(`Expected \`url\` to be of type \`string\`, got \`${typeof e}\``)}e=e.trim();t=Object.assign({https:false},t);if(/^\.*\/|^(?!localhost)\w+:/.test(e)){return e}return e.replace(/^(?!(?:\w+:)?\/\/)/,t.https?"https://":"http://")})},function(e){"use strict";e.exports=(e=>{const t={};for(const[i,n]of Object.entries(e)){t[i.toLowerCase()]=n}return t})},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{keyObjectSupported:p}=i(915);const{createPublicKey:f,createPrivateKey:h}=i(40);const m=i(849);const b=r(a);const g=new Set(["e","n"]);Object.freeze(g);const y=new Set([...g,"d","p","q","dp","dq","qi"]);Object.freeze(y);class RSAKey extends m{constructor(...e){super(...e);this[o]();Object.defineProperties(this,{kty:{value:"RSA",enumerable:true},length:{get(){Object.defineProperty(this,"length",{value:Buffer.byteLength(this.n,"base64")*8,configurable:false});return this.length},configurable:true}})}static get[u](){return g}static get[l](){return y}[s](){return{e:this.e,kty:"RSA",n:this.n}}[d](){return this.algorithms("wrapKey")}[c](){return this.algorithms("unwrapKey")}static async generate(e=2048,t=true){if(!Number.isSafeInteger(e)||e<512||e%8!==0||"electron"in process.versions&&e%128!==0){throw new TypeError("invalid bit length")}let i,n;if(p){({privateKey:i,publicKey:n}=await b("rsa",{modulusLength:e}));return t?i:n}({privateKey:i,publicKey:n}=await b("rsa",{modulusLength:e,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}}));if(t){return h(i)}else{return f(n)}}static generateSync(e=2048,t=true){if(!Number.isSafeInteger(e)||e<512||e%8!==0||"electron"in process.versions&&e%128!==0){throw new TypeError("invalid bit length")}let i,a;if(p){({privateKey:i,publicKey:a}=n("rsa",{modulusLength:e}));return t?i:a}({privateKey:i,publicKey:a}=n("rsa",{modulusLength:e,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}}));if(t){return h(i)}else{return f(a)}}}e.exports=RSAKey},,function(e,t,i){const{sign:n,verify:a,createSign:r,createVerify:s,getCurves:o}=i(373);const{derToJose:u,joseToDer:l}=i(97);const{KEYOBJECT:c}=i(771);const d=i(165);const{asInput:p}=i(40);const{dsaEncodingSupported:f}=i(915);const{name:h}=i(997);let m,b;if(f){m=((e,t,{[c]:i},a)=>{if(typeof a==="string"){a=Buffer.from(a)}return n(t,a,{key:p(i,false),dsaEncoding:"ieee-p1363"})});b=((e,t,{[c]:i},n,r)=>{try{return a(t,n,{key:p(i,true),dsaEncoding:"ieee-p1363"},r)}catch(e){return false}})}else{m=((e,t,{[c]:i},n)=>{return u(r(t).update(n).sign(p(i,false)),e)});b=((e,t,{[c]:i},n,a)=>{try{return s(t).update(n).verify(p(i,true),l(a,e))}catch(e){return false}})}const g=e=>{switch(e){case"P-256":return"ES256";case h:return"ES256K";case"P-384":return"ES384";case"P-521":return"ES512"}};e.exports=((e,t)=>{const i=[];if(o().includes("prime256v1")){i.push("ES256")}if(o().includes("secp256k1")){i.push("ES256K")}if(o().includes("secp384r1")){i.push("ES384")}if(o().includes("secp521r1")){i.push("ES512")}i.forEach(i=>{const n=d(i);e.sign.set(i,m.bind(undefined,i,n));e.verify.set(i,b.bind(undefined,i,n));t.EC.sign[i]=(e=>e.private&&t.EC.verify[i](e));t.EC.verify[i]=(e=>(e.use==="sig"||e.use===undefined)&&g(e.crv)===i)})})},,function(e,t,i){var n=i(342);var a=i(64);var r=i(428);var s=i(909);e.exports={parse:n.parseRequest,parseRequest:n.parseRequest,sign:a.signRequest,signRequest:a.signRequest,createSigner:a.createSigner,isSigner:a.isSigner,sshKeyToPEM:s.sshKeyToPEM,sshKeyFingerprint:s.fingerprint,pemToRsaSSHKey:s.pemToRsaSSHKey,verify:r.verifySignature,verifySignature:r.verifySignature,verifyHMAC:r.verifyHMAC}},,,function(e,t,i){e.exports=ForeverAgent;ForeverAgent.SSL=ForeverAgentSSL;var n=i(669),a=i(363).Agent,r=i(631),s=i(818),o=i(211).Agent;function getConnectionName(e,t){var i="";if(typeof e==="string"){i=e+":"+t}else{i=e.host+":"+e.port+":"+(e.localAddress?e.localAddress+":":":")}return i}function ForeverAgent(e){var t=this;t.options=e||{};t.requests={};t.sockets={};t.freeSockets={};t.maxSockets=t.options.maxSockets||a.defaultMaxSockets;t.minSockets=t.options.minSockets||ForeverAgent.defaultMinSockets;t.on("free",function(e,i,n){var a=getConnectionName(i,n);if(t.requests[a]&&t.requests[a].length){t.requests[a].shift().onSocket(e)}else if(t.sockets[a].length<t.minSockets){if(!t.freeSockets[a])t.freeSockets[a]=[];t.freeSockets[a].push(e);var r=function(){e.destroy()};e._onIdleError=r;e.on("error",r)}else{e.destroy()}})}n.inherits(ForeverAgent,a);ForeverAgent.defaultMinSockets=5;ForeverAgent.prototype.createConnection=r.createConnection;ForeverAgent.prototype.addRequestNoreuse=a.prototype.addRequest;ForeverAgent.prototype.addRequest=function(e,t,i){var n=getConnectionName(t,i);if(typeof t!=="string"){var a=t;i=a.port;t=a.host}if(this.freeSockets[n]&&this.freeSockets[n].length>0&&!e.useChunkedEncodingByDefault){var r=this.freeSockets[n].pop();r.removeListener("error",r._onIdleError);delete r._onIdleError;e._reusedSocket=true;e.onSocket(r)}else{this.addRequestNoreuse(e,t,i)}};ForeverAgent.prototype.removeSocket=function(e,t,i,n){if(this.sockets[t]){var a=this.sockets[t].indexOf(e);if(a!==-1){this.sockets[t].splice(a,1)}}else if(this.sockets[t]&&this.sockets[t].length===0){delete this.sockets[t];delete this.requests[t]}if(this.freeSockets[t]){var a=this.freeSockets[t].indexOf(e);if(a!==-1){this.freeSockets[t].splice(a,1);if(this.freeSockets[t].length===0){delete this.freeSockets[t]}}}if(this.requests[t]&&this.requests[t].length){this.createSocket(t,i,n).emit("free")}};function ForeverAgentSSL(e){ForeverAgent.call(this,e)}n.inherits(ForeverAgentSSL,ForeverAgent);ForeverAgentSSL.prototype.createConnection=createConnectionSSL;ForeverAgentSSL.prototype.addRequestNoreuse=o.prototype.addRequest;function createConnectionSSL(e,t,i){if(typeof e==="object"){i=e}else if(typeof t==="object"){i=t}else if(typeof i==="object"){i=i}else{i={}}if(typeof e==="number"){i.port=e}if(typeof t==="string"){i.host=t}return s.connect(i)}},,function(e,t,i){"use strict";const{PassThrough:n}=i(413);const a=i(718);const r=i(678);const{HTTPError:s,ReadError:o}=i(774);e.exports=(e=>{const t=new n;const i=new n;const u=a(t,i);const l=new Set;let c=false;e.retry.retries=(()=>0);if(e.body){u.write=(()=>{throw new Error("Got's stream is not writable when the `body` option is used")})}const d=r(e,t);u._destroy=d.abort;d.on("response",t=>{const{statusCode:n}=t;t.on("error",t=>{u.emit("error",new o(t,e))});if(e.throwHttpErrors&&n!==304&&(n<200||n>299)){u.emit("error",new s(t,e),null,t);return}c=true;t.pipe(i);for(const i of l){if(i.headersSent){continue}for(const[n,a]of Object.entries(t.headers)){const t=e.decompress?n!=="content-encoding":true;if(t){i.setHeader(n,a)}}i.statusCode=t.statusCode}u.emit("response",t)});["error","request","redirect","uploadProgress","downloadProgress"].forEach(e=>d.on(e,(...t)=>u.emit(e,...t)));const p=u.pipe.bind(u);const f=u.unpipe.bind(u);u.pipe=((e,t)=>{if(c){throw new Error("Failed to pipe. The response has been emitted already.")}const i=p(e,t);if(Reflect.has(e,"setHeader")){l.add(e)}return i});u.unpipe=(e=>{l.delete(e);return f(e)});return u})},,,function(e,t,i){const{EOL:n}=i(87);const a=i(208);const r=i(490);const s=i(274);let o=i(918);const u=i(322);const{KeyStore:l}=i(851);const c=i(466);const{check:d,verify:p}=i(179);const f=i(715);const{detect:h}=i(995);o=o.bind(undefined,c.JWSInvalid);const m=new Set(["compact","flattened","preparsed"]);const b=(e,t,i,g,{crit:y=[],complete:S=false,algorithms:w,parse:v=true,encoding:z="utf8"}={})=>{g=u(g,true);if(w!==undefined&&(!Array.isArray(w)||w.some(e=>typeof e!=="string"||!e))){throw new TypeError('"algorithms" option must be an array of non-empty strings')}else if(w){w=new Set(w)}if(!Array.isArray(y)||y.some(e=>typeof e!=="string"||!e)){throw new TypeError('"crit" option must be an array of non-empty strings')}if(!t){t=h(i)}let j;let O;let k;let C;let T;if(t==="general"&&i.signatures.length===1){t="flattened";const{signatures:e,...n}=i;i={...n,...e[0]}}let R;if(m.has(t)){let u={};switch(t){case"compact":[j,k,C]=i.split(".");break;case"flattened":({protected:j,payload:k,signature:C,header:O}=i);break;case"preparsed":{({decoded:R}=i);[j,k,C]=i.token.split(".");break}}if(!O){e=true}if(R){u=R.header}else if(j){try{u=a.JSON.decode(j)}catch(e){throw new c.JWSInvalid("could not parse JWS protected header")}}else{e=e||true}if(!e&&!r(u,O)){throw new c.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint")}const h={...u,...O};o(u,O,y);T=u.alg||O&&O.alg;if(!T){throw new c.JWSInvalid("missing JWS signature algorithm")}else if(w&&!w.has(T)){throw new c.JOSEAlgNotWhitelisted("alg not whitelisted")}if(g instanceof l){const e=g;const n=e.all({kid:h.kid,alg:h.alg,key_ops:["verify"]});switch(n.length){case 0:throw new c.JWKSNoMatchingKey;case 1:g=n[0];break;default:{const e=[];for(const a of n){try{return b(true,t,i,a,{crit:y,complete:S,encoding:z,parse:v,algorithms:w?[...w]:undefined})}catch(t){e.push(t);continue}}const a=new c.JOSEMultiError(e);if([...a].some(e=>e instanceof c.JWSVerificationFailed)){throw new c.JWSVerificationFailed}throw a}}}if(g===f.EmbeddedJWK){if(!s(h.jwk)){throw new c.JWSInvalid('JWS Header Parameter "jwk" must be a JSON object')}g=f.asKey(h.jwk);if(g.type!=="public"){throw new c.JWSInvalid('JWS Header Parameter "jwk" must be a public key')}}else if(g===f.EmbeddedX5C){if(!Array.isArray(h.x5c)||!h.x5c.length||h.x5c.some(e=>typeof e!=="string"||!e)){throw new c.JWSInvalid('JWS Header Parameter "x5c" must be a JSON array of certificate value strings')}g=f.asKey(`-----BEGIN CERTIFICATE-----${n}${(h.x5c[0].match(/.{1,64}/g)||[]).join(n)}${n}-----END CERTIFICATE-----`,{x5c:h.x5c})}d(g,"verify",T);const m=Buffer.concat([Buffer.from(j||""),Buffer.from("."),Buffer.isBuffer(k)?k:Buffer.from(k)]);if(!p(T,g,m,a.decodeToBuffer(C))){throw new c.JWSVerificationFailed}if(!h.crit||!h.crit.includes("b64")||h.b64){if(v){k=R?R.payload:a.JSON.decode.try(k,z)}else{k=a.decodeToBuffer(k)}}if(S){const e={payload:k,key:g};if(j)e.protected=u;if(O)e.header=O;return e}return k}const{signatures:E,...A}=i;const x=[];for(const e of E){try{return b(false,"flattened",{...A,...e},g,{crit:y,complete:S,encoding:z,parse:v,algorithms:w?[...w]:undefined})}catch(e){x.push(e);continue}}const N=new c.JOSEMultiError(x);if([...N].some(e=>e instanceof c.JWSVerificationFailed)){throw new c.JWSVerificationFailed}else if([...N].every(e=>e instanceof c.JWKSNoMatchingKey)){throw new c.JWKSNoMatchingKey}throw N};e.exports={bare:b,verify:b.bind(undefined,false,undefined)}},function(e){const t=new Set(["Ed25519"]);if(!("electron"in process.versions)){t.add("Ed448");t.add("X25519");t.add("X448")}e.exports=t},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){const n=i(65);const a=(e,t)=>new n(e,t).minor;e.exports=a},,function(e,t,i){"use strict";var n=i(862),a=i(855),r=i(844),s=i(156);var o=i(967);var u=a.ucs2length;var l=i(832);var c=r.Validation;e.exports=compile;function compile(e,t,i,d){var p=this,f=this._opts,h=[undefined],m={},b=[],g={},y=[],S={},w=[];t=t||{schema:e,refVal:h,refs:m};var v=checkCompiling.call(this,e,t,d);var z=this._compilations[v.index];if(v.compiling)return z.callValidate=callValidate;var j=this._formats;var O=this.RULES;try{var k=localCompile(e,t,i,d);z.validate=k;var C=z.callValidate;if(C){C.schema=k.schema;C.errors=null;C.refs=k.refs;C.refVal=k.refVal;C.root=k.root;C.$async=k.$async;if(f.sourceCode)C.source=k.source}return k}finally{endCompiling.call(this,e,t,d)}function callValidate(){var e=z.validate;var t=e.apply(this,arguments);callValidate.errors=e.errors;return t}function localCompile(e,i,s,d){var g=!i||i&&i.schema==e;if(i.schema!=t.schema)return compile.call(p,e,i,s,d);var S=e.$async===true;var v=o({isTop:true,schema:e,isRoot:g,baseId:d,root:i,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:r.MissingRef,RULES:O,validate:o,util:a,resolve:n,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:f,formats:j,logger:p.logger,self:p});v=vars(h,refValCode)+vars(b,patternCode)+vars(y,defaultCode)+vars(w,customRuleCode)+v;if(f.processCode)v=f.processCode(v,e);var z;try{var k=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",v);z=k(p,O,j,t,h,y,w,l,u,c);h[0]=z}catch(e){p.logger.error("Error compiling schema, function code:",v);throw e}z.schema=e;z.errors=null;z.refs=m;z.refVal=h;z.root=g?z:i;if(S)z.$async=true;if(f.sourceCode===true){z.source={code:v,patterns:b,defaults:y}}return z}function resolveRef(e,a,r){a=n.url(e,a);var s=m[a];var o,u;if(s!==undefined){o=h[s];u="refVal["+s+"]";return resolvedRef(o,u)}if(!r&&t.refs){var l=t.refs[a];if(l!==undefined){o=t.refVal[l];u=addLocalRef(a,o);return resolvedRef(o,u)}}u=addLocalRef(a);var c=n.call(p,localCompile,t,a);if(c===undefined){var d=i&&i[a];if(d){c=n.inlineRef(d,f.inlineRefs)?d:compile.call(p,d,t,i,e)}}if(c===undefined){removeLocalRef(a)}else{replaceLocalRef(a,c);return resolvedRef(c,u)}}function addLocalRef(e,t){var i=h.length;h[i]=t;m[e]=i;return"refVal"+i}function removeLocalRef(e){delete m[e]}function replaceLocalRef(e,t){var i=m[e];h[i]=t}function resolvedRef(e,t){return typeof e=="object"||typeof e=="boolean"?{code:t,schema:e,inline:true}:{code:t,$async:e&&!!e.$async}}function usePattern(e){var t=g[e];if(t===undefined){t=g[e]=b.length;b[t]=e}return"pattern"+t}function useDefault(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return a.toQuotedString(e);case"object":if(e===null)return"null";var t=s(e);var i=S[t];if(i===undefined){i=S[t]=y.length;y[i]=e}return"default"+i}}function useCustomRule(e,t,i,n){if(p._opts.validateSchema!==false){var a=e.definition.dependencies;if(a&&!a.every(function(e){return Object.prototype.hasOwnProperty.call(i,e)}))throw new Error("parent schema must have all required keywords: "+a.join(","));var r=e.definition.validateSchema;if(r){var s=r(t);if(!s){var o="keyword schema is invalid: "+p.errorsText(r.errors);if(p._opts.validateSchema=="log")p.logger.error(o);else throw new Error(o)}}}var u=e.definition.compile,l=e.definition.inline,c=e.definition.macro;var d;if(u){d=u.call(p,t,i,n)}else if(c){d=c.call(p,t,i,n);if(f.validateSchema!==false)p.validateSchema(d,true)}else if(l){d=l.call(p,n,e.keyword,t,i)}else{d=e.definition.validate;if(!d)return}if(d===undefined)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var h=w.length;w[h]=d;return{code:"customRule"+h,validate:d}}}function checkCompiling(e,t,i){var n=compIndex.call(this,e,t,i);if(n>=0)return{index:n,compiling:true};n=this._compilations.length;this._compilations[n]={schema:e,root:t,baseId:i};return{index:n,compiling:false}}function endCompiling(e,t,i){var n=compIndex.call(this,e,t,i);if(n>=0)this._compilations.splice(n,1)}function compIndex(e,t,i){for(var n=0;n<this._compilations.length;n++){var a=this._compilations[n];if(a.schema==e&&a.root==t&&a.baseId==i)return n}return-1}function patternCode(e,t){return"var pattern"+e+" = new RegExp("+a.toQuotedString(t[e])+");"}function defaultCode(e){return"var default"+e+" = defaults["+e+"];"}function refValCode(e,t){return t[e]===undefined?"":"var refVal"+e+" = refVal["+e+"];"}function customRuleCode(e){return"var customRule"+e+" = customRules["+e+"];"}function vars(e,t){if(!e.length)return"";var i="";for(var n=0;n<e.length;n++)i+=t(n,e);return i}},,function(e){e.exports=function(){this.seq().obj(this.key("version").int({0:"two-prime",1:"multi"}),this.key("n").int(),this.key("e").int(),this.key("d").int(),this.key("p").int(),this.key("q").int(),this.key("dp").int(),this.key("dq").int(),this.key("qi").int())}},,function(e,t,i){"use strict";var n=i(945);function resolveYamlNull(e){if(e===null)return true;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function constructYamlNull(){return null}function isNull(e){return e===null}e.exports=new n("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(e,t,i){"use strict";var n=i(704);var a=i(373);var r=i(727).Buffer;var s=typeof setImmediate==="undefined"?process.nextTick:setImmediate;function paramsHaveRequestBody(e){return e.body||e.requestBodyStream||e.json&&typeof e.json!=="boolean"||e.multipart}function safeStringify(e,t){var i;try{i=JSON.stringify(e,t)}catch(a){i=n(e,t)}return i}function md5(e){return a.createHash("md5").update(e).digest("hex")}function isReadStream(e){return e.readable&&e.path&&e.mode}function toBase64(e){return r.from(e||"","utf8").toString("base64")}function copy(e){var t={};Object.keys(e).forEach(function(i){t[i]=e[i]});return t}function version(){var e=process.version.replace("v","").split(".");return{major:parseInt(e[0],10),minor:parseInt(e[1],10),patch:parseInt(e[2],10)}}t.paramsHaveRequestBody=paramsHaveRequestBody;t.safeStringify=safeStringify;t.md5=md5;t.isReadStream=isReadStream;t.toBase64=toBase64;t.copy=copy;t.version=version;t.defer=s},function(e,t,i){const n=i(65);const a=i(124);const r=(e,t,i)=>{let r=null;let s=null;let o=null;try{o=new a(t,i)}catch(e){return null}e.forEach(e=>{if(o.test(e)){if(!r||s.compare(e)===-1){r=e;s=new n(r,i)}}});return r};e.exports=r},,function(e){e.exports={$id:"query.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"},comment:{type:"string"}}}},function(e){function HARError(e){var t="validation failed";this.name="HARError";this.message=t;this.errors=e;if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,this.constructor)}else{this.stack=new Error(t).stack}}HARError.prototype=Error.prototype;e.exports=HARError},,function(e){e.exports=function(){this.octstr().contains().obj(this.key("privateKey").octstr())}},,function(e){e.exports=require("tls")},function(e,t,i){"use strict";var n=i(457);var a=i(685);function deprecated(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}e.exports.Type=i(945);e.exports.Schema=i(43);e.exports.FAILSAFE_SCHEMA=i(581);e.exports.JSON_SCHEMA=i(23);e.exports.CORE_SCHEMA=i(611);e.exports.DEFAULT_SAFE_SCHEMA=i(723);e.exports.DEFAULT_FULL_SCHEMA=i(910);e.exports.load=n.load;e.exports.loadAll=n.loadAll;e.exports.safeLoad=n.safeLoad;e.exports.safeLoadAll=n.safeLoadAll;e.exports.dump=a.dump;e.exports.safeDump=a.safeDump;e.exports.YAMLException=i(556);e.exports.MINIMAL_SCHEMA=i(581);e.exports.SAFE_SCHEMA=i(723);e.exports.DEFAULT_SCHEMA=i(910);e.exports.scan=deprecated("scan");e.exports.parse=deprecated("parse");e.exports.compose=deprecated("compose");e.exports.addConstructor=deprecated("addConstructor")},function(e){e.exports={$id:"beforeRequest.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{URL:n}=i(835);const a=i(534);const r=i(433);const s=(e,...t)=>{for(const i of t){for(const[t,r]of Object.entries(i)){if(a.undefined(r)){continue}const i=e[t];if(a.urlInstance(i)&&(a.urlInstance(r)||a.string(r))){e[t]=new n(r,i)}else if(a.plainObject(r)){if(a.plainObject(i)){e[t]=s({},i,r)}else{e[t]=s({},r)}}else if(a.array(r)){e[t]=s([],r)}else{e[t]=r}}}return e};const o=(...e)=>{e=e.map(e=>e||{});const t=s({},...e);const i={};for(const e of r){i[e]=[]}for(const t of e){if(t.hooks){for(const e of r){i[e]=i[e].concat(t.hooks[e])}}}t.hooks=i;return t};const u=(e,t)=>{const i=e.map(e=>e.defaults.handler);const n=e.length-1;return{methods:t,options:o(...e.map(e=>e.defaults.options)),handler:(e,t)=>{let a=-1;const r=e=>i[++a](e,a===n?t:r);return r(e)}}};e.exports=s;e.exports.options=o;e.exports.instances=u},function(e,t,i){const n=i(830);const a=i(298);const r=(e,t)=>{if(a(e,t)){return null}else{const i=n(e);const a=n(t);const r=i.prerelease.length||a.prerelease.length;const s=r?"pre":"";const o=r?"prerelease":"";for(const e in i){if(e==="major"||e==="minor"||e==="patch"){if(i[e]!==a[e]){return s+e}}}return o}};e.exports=r},,,,function(e,t,i){var n=i(139);var a=i(722);function v4(e,t,i){var r=t&&i||0;if(typeof e=="string"){t=e==="binary"?new Array(16):null;e=null}e=e||{};var s=e.random||(e.rng||n)();s[6]=s[6]&15|64;s[8]=s[8]&63|128;if(t){for(var o=0;o<16;++o){t[r+o]=s[o]}}return t||a(s)}e.exports=v4},function(e,t,i){const{improvedDH:n}=i(915);if(n){const{diffieHellman:t}=i(373);const{KeyObject:n}=i(40);const a=i(592);e.exports=(({keyObject:e},i)=>{if(!(i instanceof n)){({keyObject:i}=a(i))}return t({privateKey:e,publicKey:i})})}else{const{createECDH:t,constants:{POINT_CONVERSION_UNCOMPRESSED:n}}=i(373);const a=i(208);const r=e=>{switch(e){case"P-256":return"prime256v1";case"P-384":return"secp384r1";case"P-521":return"secp521r1"}};const s=Buffer.alloc(1,n);const o=(e,t)=>Buffer.concat([s,a.decodeToBuffer(e),a.decodeToBuffer(t)]);e.exports=(({crv:e,d:i},{x:n,y:s})=>{const u=r(e);const l=t(u);l.setPrivateKey(a.decodeToBuffer(i));return l.computeSecret(o(n,s))})}},,function(e,t,i){"use strict";try{const e=i(235);t.isValidUTF8=typeof e==="object"?e.Validation.isValidUTF8:e}catch(e){t.isValidUTF8=(()=>true)}t.isValidStatusCode=(e=>{return e>=1e3&&e<=1014&&e!==1004&&e!==1005&&e!==1006||e>=3e3&&e<=4999})},function(e,t,i){const{MAX_LENGTH:n}=i(181);const{re:a,t:r}=i(976);const s=i(65);const o=(e,t)=>{if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof s){return e}if(typeof e!=="string"){return null}if(e.length>n){return null}const i=t.loose?a[r.LOOSE]:a[r.FULL];if(!i.test(e)){return null}try{return new s(e,t)}catch(e){return null}};e.exports=o},,function(e){"use strict";e.exports=function equal(e,t){if(e===t)return true;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return false;var i,n,a;if(Array.isArray(e)){i=e.length;if(i!=t.length)return false;for(n=i;n--!==0;)if(!equal(e[n],t[n]))return false;return true}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();a=Object.keys(e);i=a.length;if(i!==Object.keys(t).length)return false;for(n=i;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return false;for(n=i;n--!==0;){var r=a[n];if(!equal(e[r],t[r]))return false}return true}return e!==e&&t!==t}},function(e,t,i){var n=i(602);var a=i(747);n.register("cat",_cat,{canReceivePipe:true,cmdOptions:{n:"number"}});function _cat(e,t){var i=n.readFromPipe();if(!t&&!i)n.error("no paths given");t=[].slice.call(arguments,1);t.forEach(function(e){if(!a.existsSync(e)){n.error("no such file or directory: "+e)}else if(n.statFollowLinks(e).isDirectory()){n.error(e+": Is a directory")}i+=a.readFileSync(e,"utf8")});if(e.number){i=addNumbers(i)}return i}e.exports=_cat;function addNumbers(e){var t=e.split("\n");var i=t.pop();t=t.map(function(e,t){return numberedLine(t+1,e)});if(i.length){i=numberedLine(t.length+1,i)}t.push(i);return t.join("\n")}function numberedLine(e,t){var i=(" "+e).slice(-6)+"\t";return i+t}},,function(e){e.exports=require("url")},,,function(e,t,i){var n=i(747);var a=i(622);var r=i(602);r.register("cp",_cp,{cmdOptions:{f:"!no_force",n:"no_force",u:"update",R:"recursive",r:"recursive",L:"followsymlink",P:"noFollowsymlink"},wrapOutput:false});function copyFileSync(e,t,i){if(!n.existsSync(e)){r.error("copyFileSync: no such file or directory: "+e)}var a=process.platform==="win32";try{if(i.update&&r.statFollowLinks(e).mtime<n.statSync(t).mtime){return}}catch(e){}if(r.statNoFollowLinks(e).isSymbolicLink()&&!i.followsymlink){try{r.statNoFollowLinks(t);r.unlinkSync(t)}catch(e){}var s=n.readlinkSync(e);n.symlinkSync(s,t,a?"junction":null)}else{var o=r.buffer();var u=o.length;var l=u;var c=0;var d=null;var p=null;try{d=n.openSync(e,"r")}catch(t){r.error("copyFileSync: could not read src file ("+e+")")}try{p=n.openSync(t,"w")}catch(e){r.error("copyFileSync: could not write to dest file (code="+e.code+"):"+t)}while(l===u){l=n.readSync(d,o,0,u,c);n.writeSync(p,o,0,l);c+=l}n.closeSync(d);n.closeSync(p);n.chmodSync(t,r.statFollowLinks(e).mode)}}function cpdirSyncRecursive(e,t,i,a){if(!a)a={};if(i>=r.config.maxdepth)return;i++;var s=process.platform==="win32";try{n.mkdirSync(t)}catch(e){if(e.code!=="EEXIST")throw e}var o=n.readdirSync(e);for(var u=0;u<o.length;u++){var l=e+"/"+o[u];var c=t+"/"+o[u];var d=r.statNoFollowLinks(l);var p;if(a.followsymlink){if(cpcheckcycle(e,l)){console.error("Cycle link found.");p=n.readlinkSync(l);n.symlinkSync(p,c,s?"junction":null);continue}}if(d.isDirectory()){cpdirSyncRecursive(l,c,i,a)}else if(d.isSymbolicLink()&&!a.followsymlink){p=n.readlinkSync(l);try{r.statNoFollowLinks(c);r.unlinkSync(c)}catch(e){}n.symlinkSync(p,c,s?"junction":null)}else if(d.isSymbolicLink()&&a.followsymlink){d=r.statFollowLinks(l);if(d.isDirectory()){cpdirSyncRecursive(l,c,i,a)}else{copyFileSync(l,c,a)}}else{if(n.existsSync(c)&&a.no_force){r.log("skipping existing file: "+o[u])}else{copyFileSync(l,c,a)}}}var f=r.statFollowLinks(e);n.chmodSync(t,f.mode)}function checkRecentCreated(e,t){var i=e[t];return e.slice(0,t).some(function(e){return a.basename(e)===a.basename(i)})}function cpcheckcycle(e,t){var i=r.statNoFollowLinks(t);if(i.isSymbolicLink()){var a=r.statFollowLinks(t);if(a.isDirectory()){var s=n.realpathSync(e);var o=n.realpathSync(t);var u=new RegExp(o);if(u.test(s)){return true}}}return false}function _cp(e,t,i){if(e.followsymlink){e.noFollowsymlink=false}if(!e.recursive&&!e.noFollowsymlink){e.followsymlink=true}if(arguments.length<3){r.error("missing <source> and/or <dest>")}else{t=[].slice.call(arguments,1,arguments.length-1);i=arguments[arguments.length-1]}var s=n.existsSync(i);var o=s&&r.statFollowLinks(i);if((!s||!o.isDirectory())&&t.length>1){r.error("dest is not a directory (too many sources)")}if(s&&o.isFile()&&e.no_force){return new r.ShellString("","",0)}t.forEach(function(s,u){if(!n.existsSync(s)){if(s==="")s="''";r.error("no such file or directory: "+s,{continue:true});return}var l=r.statFollowLinks(s);if(!e.noFollowsymlink&&l.isDirectory()){if(!e.recursive){r.error("omitting directory '"+s+"'",{continue:true})}else{var c=o&&o.isDirectory()?a.join(i,a.basename(s)):i;try{r.statFollowLinks(a.dirname(i));cpdirSyncRecursive(s,c,0,{no_force:e.no_force,followsymlink:e.followsymlink})}catch(e){r.error("cannot create directory '"+i+"': No such file or directory")}}}else{var d=i;if(o&&o.isDirectory()){d=a.normalize(i+"/"+a.basename(s))}var p=n.existsSync(d);if(p&&checkRecentCreated(t,u)){if(!e.no_force){r.error("will not overwrite just-created '"+d+"' with '"+s+"'",{continue:true})}return}if(p&&e.no_force){return}if(a.relative(s,d)===""){r.error("'"+d+"' and '"+s+"' are the same file",{continue:true});return}copyFileSync(s,d,e)}});return new r.ShellString("",r.state.error,r.state.errorCode)}e.exports=_cp},,,function(e,t,i){"use strict";var n=i(945);var a=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9])"+"-([0-9][0-9])$");var r=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?$");function resolveYamlTimestamp(e){if(e===null)return false;if(a.exec(e)!==null)return true;if(r.exec(e)!==null)return true;return false}function constructYamlTimestamp(e){var t,i,n,s,o,u,l,c=0,d=null,p,f,h;t=a.exec(e);if(t===null)t=r.exec(e);if(t===null)throw new Error("Date resolve error");i=+t[1];n=+t[2]-1;s=+t[3];if(!t[4]){return new Date(Date.UTC(i,n,s))}o=+t[4];u=+t[5];l=+t[6];if(t[7]){c=t[7].slice(0,3);while(c.length<3){c+="0"}c=+c}if(t[9]){p=+t[10];f=+(t[11]||0);d=(p*60+f)*6e4;if(t[9]==="-")d=-d}h=new Date(Date.UTC(i,n,s,o,u,l,c));if(d)h.setTime(h.getTime()-d);return h}function representYamlTimestamp(e){return e.toISOString()}e.exports=new n("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp})},function(e,t,i){"use strict";var n=i(945);var a=Object.prototype.hasOwnProperty;var r=Object.prototype.toString;function resolveYamlOmap(e){if(e===null)return true;var t=[],i,n,s,o,u,l=e;for(i=0,n=l.length;i<n;i+=1){s=l[i];u=false;if(r.call(s)!=="[object Object]")return false;for(o in s){if(a.call(s,o)){if(!u)u=true;else return false}}if(!u)return false;if(t.indexOf(o)===-1)t.push(o);else return false}return true}function constructYamlOmap(e){return e!==null?e:[]}e.exports=new n("tag:yaml.org,2002:omap",{kind:"sequence",resolve:resolveYamlOmap,construct:constructYamlOmap})},,function(e,t,i){"use strict";var n=i(862);e.exports={Validation:errorSubclass(ValidationError),MissingRef:errorSubclass(MissingRefError)};function ValidationError(e){this.message="validation failed";this.errors=e;this.ajv=this.validation=true}MissingRefError.message=function(e,t){return"can't resolve reference "+t+" from id "+e};function MissingRefError(e,t,i){this.message=i||MissingRefError.message(e,t);this.missingRef=n.url(e,t);this.missingSchema=n.normalizeId(n.fullPath(this.missingRef))}function errorSubclass(e){e.prototype=Object.create(Error.prototype);e.prototype.constructor=e;return e}},,function(e,t,i){var n=i(514);var a=i(814);var r=i(671);var s;function createAjvInstance(){var e=new n({allErrors:true});e.addMetaSchema(i(337));e.addSchema(r);return e}function validate(e,t){t=t||{};s=s||createAjvInstance();var i=s.getSchema(e+".json");return new Promise(function(e,n){var r=i(t);!r?n(new a(i.errors)):e(t)})}t.afterRequest=function(e){return validate("afterRequest",e)};t.beforeRequest=function(e){return validate("beforeRequest",e)};t.browser=function(e){return validate("browser",e)};t.cache=function(e){return validate("cache",e)};t.content=function(e){return validate("content",e)};t.cookie=function(e){return validate("cookie",e)};t.creator=function(e){return validate("creator",e)};t.entry=function(e){return validate("entry",e)};t.har=function(e){return validate("har",e)};t.header=function(e){return validate("header",e)};t.log=function(e){return validate("log",e)};t.page=function(e){return validate("page",e)};t.pageTimings=function(e){return validate("pageTimings",e)};t.postData=function(e){return validate("postData",e)};t.query=function(e){return validate("query",e)};t.request=function(e){return validate("request",e)};t.response=function(e){return validate("response",e)};t.timings=function(e){return validate("timings",e)}},function(e,t,i){const{randomBytes:n}=i(373);const{createSecretKey:a}=i(40);const r=i(208);const{THUMBPRINT_MATERIAL:s,PUBLIC_MEMBERS:o,PRIVATE_MEMBERS:u,KEY_MANAGEMENT_DECRYPT:l,KEY_MANAGEMENT_ENCRYPT:c,KEYOBJECT:d}=i(771);const p=i(849);const f=new Set;Object.freeze(f);const h=new Set(["k"]);Object.freeze(h);class OctKey extends p{constructor(...e){super(...e);Object.defineProperties(this,{kty:{value:"oct",enumerable:true},length:{value:this[d]?this[d].symmetricKeySize*8:undefined},k:{enumerable:false,get(){if(this[d]){Object.defineProperty(this,"k",{value:r.encodeBuffer(this[d].export()),configurable:false})}else{Object.defineProperty(this,"k",{value:undefined,configurable:false})}return this.k},configurable:true}})}static get[o](){return f}static get[u](){return h}[s](){if(!this[d]){throw new TypeError('reference "oct" keys without "k" cannot have their thumbprint calculated')}return{k:this.k,kty:"oct"}}[c](){return new Set([...this.algorithms("wrapKey"),...this.algorithms("deriveKey")])}[l](){return this[c]()}algorithms(...e){if(!this[d]){return new Set}return p.prototype.algorithms.call(this,...e)}static async generate(...e){return this.generateSync(...e)}static generateSync(e=256,t=true){if(!t){throw new TypeError('"oct" keys cannot be generated as public')}if(!Number.isSafeInteger(e)||!e||e%8!==0){throw new TypeError("invalid bit length")}return a(n(e/8))}}e.exports=OctKey},,function(e,t,i){const{strict:n}=i(357);const{inspect:a}=i(669);const{EOL:r}=i(87);const{keyObjectSupported:s}=i(915);const{createPublicKey:o}=i(40);const{keyObjectToJWK:u}=i(20);const{THUMBPRINT_MATERIAL:l,PUBLIC_MEMBERS:c,PRIVATE_MEMBERS:d,JWK_MEMBERS:p,KEYOBJECT:f,USES_MAPPING:h,OPS:m,USES:b}=i(771);const g=i(274);const y=i(32);const S=i(466);const w=Symbol("privateApi");const{JWK:v}=i(962);class Key{constructor(e,{alg:t,use:i,kid:a,key_ops:u,x5c:c,x5t:d,"x5t#S256":p}={}){if(i!==undefined){if(typeof i!=="string"||!b.has(i)){throw new TypeError('`use` must be either "sig" or "enc" string when provided')}}if(t!==undefined){if(typeof t!=="string"||!t){throw new TypeError("`alg` must be a non-empty string when provided")}}if(a!==undefined){if(typeof a!=="string"||!a){throw new TypeError("`kid` must be a non-empty string when provided")}}if(u!==undefined){if(!Array.isArray(u)||!u.length||u.some(e=>typeof e!=="string")){throw new TypeError("`key_ops` must be a non-empty array of strings when provided")}u=Array.from(new Set(u)).filter(e=>m.has(e))}if(u&&i){if(i==="enc"&&u.some(e=>h.sig.has(e))||i==="sig"&&u.some(e=>h.enc.has(e))){throw new S.JWKInvalid('inconsistent JWK "use" and "key_ops"')}}if(s&&c!==undefined){if(!Array.isArray(c)||!c.length||c.some(e=>typeof e!=="string")){throw new TypeError("`x5c` must be an array of one or more PKIX certificates when provided")}c.forEach((t,i)=>{let a;try{a=o({key:`-----BEGIN CERTIFICATE-----${r}${(t.match(/.{1,64}/g)||[]).join(r)}${r}-----END CERTIFICATE-----`,format:"pem"})}catch(e){throw new S.JWKInvalid(`\`x5c\` member at index ${i} is not a valid base64-encoded DER PKIX certificate`)}if(i===0){try{n.deepEqual(a.export({type:"spki",format:"der"}),(e.type==="public"?e:o(e)).export({type:"spki",format:"der"}))}catch(e){throw new S.JWKInvalid("The key in the first `x5c` certificate MUST match the public key represented by the JWK")}}})}Object.defineProperties(this,{[f]:{value:g(e)?undefined:e},keyObject:{get(){if(!s){throw new S.JOSENotSupported("KeyObject class is not supported in your Node.js runtime version")}return this[f]}},type:{value:e.type},private:{value:e.type==="private"},public:{value:e.type==="public"},secret:{value:e.type==="secret"},alg:{value:t,enumerable:t!==undefined},use:{value:i,enumerable:i!==undefined},x5c:{enumerable:c!==undefined,...c?{get(){return[...c]}}:{value:undefined}},key_ops:{enumerable:u!==undefined,...u?{get(){return[...u]}}:{value:undefined}},kid:{enumerable:true,...a?{value:a}:{get(){Object.defineProperty(this,"kid",{value:this.thumbprint,configurable:false});return this.kid},configurable:true}},...c?{x5t:{enumerable:true,...d?{value:d}:{get(){Object.defineProperty(this,"x5t",{value:y.x5t(this.x5c[0]),configurable:false});return this.x5t},configurable:true}}}:undefined,...c?{"x5t#S256":{enumerable:true,...p?{value:p}:{get(){Object.defineProperty(this,"x5t#S256",{value:y["x5t#S256"](this.x5c[0]),configurable:false});return this["x5t#S256"]},configurable:true}}}:undefined,thumbprint:{get(){Object.defineProperty(this,"thumbprint",{value:y.kid(this[l]()),configurable:false});return this.thumbprint},configurable:true}})}toPEM(e=false,t={}){if(this.secret){throw new TypeError("symmetric keys cannot be exported as PEM")}if(e&&this.public===true){throw new TypeError("public key cannot be exported as private")}const{type:i=(e?"pkcs8":"spki"),cipher:n,passphrase:a}=t;let r=this[f];if(!e){if(this.private){r=o(r)}if(n||a){throw new TypeError("cipher and passphrase can only be applied when exporting private keys")}}if(e){return r.export({format:"pem",type:i,cipher:n,passphrase:a})}return r.export({format:"pem",type:i})}toJWK(e=false){if(e&&this.public===true){throw new TypeError("public key cannot be exported as private")}const t=[...this.constructor[e?d:c]].map(e=>[e,this[e]]);const i={};Object.keys(t).forEach(e=>{const[n,a]=t[e];i[n]=a});i.kty=this.kty;i.kid=this.kid;if(this.alg){i.alg=this.alg}if(this.key_ops&&this.key_ops.length){i.key_ops=this.key_ops}if(this.use){i.use=this.use}if(this.x5c){i.x5c=this.x5c}if(this.x5t){i.x5t=this.x5t}if(this["x5t#S256"]){i["x5t#S256"]=this["x5t#S256"]}return i}[p](){const e=this[f].type==="private"?this.constructor[d]:this.constructor[c];Object.defineProperties(this,[...e].reduce((t,i)=>{t[i]={get(){const t=u(this[f]);Object.defineProperties(this,Object.entries(t).filter(([t])=>e.has(t)).reduce((e,[t,i])=>{e[t]={value:i,enumerable:this.constructor[c].has(t),configurable:false};return e},{}));return this[i]},enumerable:this.constructor[c].has(i),configurable:true};return t},{}))}[a.custom](){return`${this.constructor.name} ${a(this.toJWK(false),{depth:Infinity,colors:process.stdout.isTTY,compact:false,sorted:true})}`}[l](){throw new Error(`"[THUMBPRINT_MATERIAL]()" is not implemented on ${this.constructor.name}`)}algorithms(e,t,i){const{use:n=this.use,alg:a=this.alg,key_ops:r=this.key_ops}=t===w?i:{};if(a){return new Set(this.algorithms(e,w,{alg:null,use:n,key_ops:r}).has(a)?[a]:undefined)}if(typeof e==="symbol"){try{return this[e]()}catch(e){return new Set}}if(e&&r&&!r.includes(e)){return new Set}switch(e){case"decrypt":case"deriveKey":case"encrypt":case"sign":case"unwrapKey":case"verify":case"wrapKey":return new Set(Object.entries(v[this.kty][e]).map(([e,t])=>t(this)?e:undefined).filter(Boolean));case undefined:return new Set([...this.algorithms("sign"),...this.algorithms("verify"),...this.algorithms("decrypt"),...this.algorithms("encrypt"),...this.algorithms("unwrapKey"),...this.algorithms("wrapKey"),...this.algorithms("deriveKey")]);default:throw new TypeError("invalid key operation")}}static async generate(){throw new Error(`"static async generate()" is not implemented on ${this.name}`)}static generateSync(){throw new Error(`"static generateSync()" is not implemented on ${this.name}`)}static get[c](){throw new Error(`"static get [PUBLIC_MEMBERS]()" is not implemented on ${this.name}`)}static get[d](){throw new Error(`"static get [PRIVATE_MEMBERS]()" is not implemented on ${this.name}`)}}e.exports=Key},function(e,t,i){"use strict";const n=i(903);const a=i(676);const r=i(885);const{kStatusCode:s,NOOP:o}=i(60);const u=Buffer.from([0,0,255,255]);const l=Symbol("permessage-deflate");const c=Symbol("total-length");const d=Symbol("callback");const p=Symbol("buffers");const f=Symbol("error");let h;class PerMessageDeflate{constructor(e,t,i){this._maxPayload=i|0;this._options=e||{};this._threshold=this._options.threshold!==undefined?this._options.threshold:1024;this._isServer=!!t;this._deflate=null;this._inflate=null;this.params=null;if(!h){const e=this._options.concurrencyLimit!==undefined?this._options.concurrencyLimit:10;h=new r(e)}}static get extensionName(){return"permessage-deflate"}offer(){const e={};if(this._options.serverNoContextTakeover){e.server_no_context_takeover=true}if(this._options.clientNoContextTakeover){e.client_no_context_takeover=true}if(this._options.serverMaxWindowBits){e.server_max_window_bits=this._options.serverMaxWindowBits}if(this._options.clientMaxWindowBits){e.client_max_window_bits=this._options.clientMaxWindowBits}else if(this._options.clientMaxWindowBits==null){e.client_max_window_bits=true}return e}accept(e){e=this.normalizeParams(e);this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e);return this.params}cleanup(){if(this._inflate){this._inflate.close();this._inflate=null}if(this._deflate){const e=this._deflate[d];this._deflate.close();this._deflate=null;if(e){e(new Error("The deflate stream was closed while data was being processed"))}}}acceptAsServer(e){const t=this._options;const i=e.find(e=>{if(t.serverNoContextTakeover===false&&e.server_no_context_takeover||e.server_max_window_bits&&(t.serverMaxWindowBits===false||typeof t.serverMaxWindowBits==="number"&&t.serverMaxWindowBits>e.server_max_window_bits)||typeof t.clientMaxWindowBits==="number"&&!e.client_max_window_bits){return false}return true});if(!i){throw new Error("None of the extension offers can be accepted")}if(t.serverNoContextTakeover){i.server_no_context_takeover=true}if(t.clientNoContextTakeover){i.client_no_context_takeover=true}if(typeof t.serverMaxWindowBits==="number"){i.server_max_window_bits=t.serverMaxWindowBits}if(typeof t.clientMaxWindowBits==="number"){i.client_max_window_bits=t.clientMaxWindowBits}else if(i.client_max_window_bits===true||t.clientMaxWindowBits===false){delete i.client_max_window_bits}return i}acceptAsClient(e){const t=e[0];if(this._options.clientNoContextTakeover===false&&t.client_no_context_takeover){throw new Error('Unexpected parameter "client_no_context_takeover"')}if(!t.client_max_window_bits){if(typeof this._options.clientMaxWindowBits==="number"){t.client_max_window_bits=this._options.clientMaxWindowBits}}else if(this._options.clientMaxWindowBits===false||typeof this._options.clientMaxWindowBits==="number"&&t.client_max_window_bits>this._options.clientMaxWindowBits){throw new Error('Unexpected or invalid parameter "client_max_window_bits"')}return t}normalizeParams(e){e.forEach(e=>{Object.keys(e).forEach(t=>{let i=e[t];if(i.length>1){throw new Error(`Parameter "${t}" must have only a single value`)}i=i[0];if(t==="client_max_window_bits"){if(i!==true){const e=+i;if(!Number.isInteger(e)||e<8||e>15){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}i=e}else if(!this._isServer){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}}else if(t==="server_max_window_bits"){const e=+i;if(!Number.isInteger(e)||e<8||e>15){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}i=e}else if(t==="client_no_context_takeover"||t==="server_no_context_takeover"){if(i!==true){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}}else{throw new Error(`Unknown parameter "${t}"`)}e[t]=i})});return e}decompress(e,t,i){h.add(n=>{this._decompress(e,t,(e,t)=>{n();i(e,t)})})}compress(e,t,i){h.add(n=>{this._compress(e,t,(e,t)=>{n();i(e,t)})})}_decompress(e,t,i){const r=this._isServer?"client":"server";if(!this._inflate){const e=`${r}_max_window_bits`;const t=typeof this.params[e]!=="number"?n.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=n.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t});this._inflate[l]=this;this._inflate[c]=0;this._inflate[p]=[];this._inflate.on("error",inflateOnError);this._inflate.on("data",inflateOnData)}this._inflate[d]=i;this._inflate.write(e);if(t)this._inflate.write(u);this._inflate.flush(()=>{const e=this._inflate[f];if(e){this._inflate.close();this._inflate=null;i(e);return}const n=a.concat(this._inflate[p],this._inflate[c]);if(t&&this.params[`${r}_no_context_takeover`]){this._inflate.close();this._inflate=null}else{this._inflate[c]=0;this._inflate[p]=[]}i(null,n)})}_compress(e,t,i){const r=this._isServer?"server":"client";if(!this._deflate){const e=`${r}_max_window_bits`;const t=typeof this.params[e]!=="number"?n.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=n.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t});this._deflate[c]=0;this._deflate[p]=[];this._deflate.on("error",o);this._deflate.on("data",deflateOnData)}this._deflate[d]=i;this._deflate.write(e);this._deflate.flush(n.Z_SYNC_FLUSH,()=>{if(!this._deflate){return}let e=a.concat(this._deflate[p],this._deflate[c]);if(t)e=e.slice(0,e.length-4);this._deflate[d]=null;if(t&&this.params[`${r}_no_context_takeover`]){this._deflate.close();this._deflate=null}else{this._deflate[c]=0;this._deflate[p]=[]}i(null,e)})}}e.exports=PerMessageDeflate;function deflateOnData(e){this[p].push(e);this[c]+=e.length}function inflateOnData(e){this[c]+=e.length;if(this[l]._maxPayload<1||this[c]<=this[l]._maxPayload){this[p].push(e);return}this[f]=new RangeError("Max payload size exceeded");this[f][s]=1009;this.removeListener("data",inflateOnData);this.reset()}function inflateOnError(e){this[l]._inflate=null;e[s]=1007;this[d](e)}},function(e,t,i){const n=i(926);e.exports=n},function(e,t,i){e.exports=Key;var n=i(872);var a=i(98);var r=i(373);var s=i(400);var o=i(575);var u=i(532).DiffieHellman;var l=i(753);var c=i(270);var d=i(502);var p;try{p=i(635)}catch(e){}var f=l.InvalidAlgorithmError;var h=l.KeyParseError;var m={};m["auto"]=i(241);m["pem"]=i(268);m["pkcs1"]=i(449);m["pkcs8"]=i(707);m["rfc4253"]=i(538);m["ssh"]=i(603);m["ssh-private"]=i(78);m["openssh"]=m["ssh-private"];m["dnssec"]=i(982);m["putty"]=i(624);m["ppk"]=m["putty"];function Key(e){n.object(e,"options");n.arrayOfObject(e.parts,"options.parts");n.string(e.type,"options.type");n.optionalString(e.comment,"options.comment");var t=a.info[e.type];if(typeof t!=="object")throw new f(e.type);var i={};for(var r=0;r<e.parts.length;++r){var s=e.parts[r];i[s.name]=s}this.type=e.type;this.parts=e.parts;this.part=i;this.comment=undefined;this.source=e.source;this._rfc4253Cache=e._rfc4253Cache;this._hashCache={};var o;this.curve=undefined;if(this.type==="ecdsa"){var u=this.part.curve.data.toString();this.curve=u;o=a.curves[u].size}else if(this.type==="ed25519"||this.type==="curve25519"){o=256;this.curve="curve25519"}else{var l=this.part[t.sizePart];o=l.data.length;o=o*8-c.countZeros(l.data)}this.size=o}Key.formats=m;Key.prototype.toBuffer=function(e,t){if(e===undefined)e="ssh";n.string(e,"format");n.object(m[e],"formats[format]");n.optionalObject(t,"options");if(e==="rfc4253"){if(this._rfc4253Cache===undefined)this._rfc4253Cache=m["rfc4253"].write(this);return this._rfc4253Cache}return m[e].write(this,t)};Key.prototype.toString=function(e,t){return this.toBuffer(e,t).toString()};Key.prototype.hash=function(e,t){n.string(e,"algorithm");n.optionalString(t,"type");if(t===undefined)t="ssh";e=e.toLowerCase();if(a.hashAlgs[e]===undefined)throw new f(e);var i=e+"||"+t;if(this._hashCache[i])return this._hashCache[i];var s;if(t==="ssh"){s=this.toBuffer("rfc4253")}else if(t==="spki"){s=m.pkcs8.pkcs8ToBuffer(this)}else{throw new Error("Hash type "+t+" not supported")}var o=r.createHash(e).update(s).digest();this._hashCache[i]=o;return o};Key.prototype.fingerprint=function(e,t){if(e===undefined)e="sha256";if(t===undefined)t="ssh";n.string(e,"algorithm");n.string(t,"type");var i={type:"key",hash:this.hash(e,t),algorithm:e,hashType:t};return new s(i)};Key.prototype.defaultHashAlgorithm=function(){var e="sha1";if(this.type==="rsa")e="sha256";if(this.type==="dsa"&&this.size>1024)e="sha256";if(this.type==="ed25519")e="sha512";if(this.type==="ecdsa"){if(this.size<=256)e="sha256";else if(this.size<=384)e="sha384";else e="sha512"}return e};Key.prototype.createVerify=function(e){if(e===undefined)e=this.defaultHashAlgorithm();n.string(e,"hash algorithm");if(this.type==="ed25519"&&p!==undefined)return new p.Verifier(this,e);if(this.type==="curve25519")throw new Error("Curve25519 keys are not suitable for "+"signing or verification");var t,i,a;try{i=e.toUpperCase();t=r.createVerify(i)}catch(e){a=e}if(t===undefined||a instanceof Error&&a.message.match(/Unknown message digest/)){i="RSA-";i+=e.toUpperCase();t=r.createVerify(i)}n.ok(t,"failed to create verifier");var s=t.verify.bind(t);var u=this.toBuffer("pkcs8");var l=this.curve;var c=this;t.verify=function(t,i){if(o.isSignature(t,[2,0])){if(t.type!==c.type)return false;if(t.hashAlgorithm&&t.hashAlgorithm!==e)return false;if(t.curve&&c.type==="ecdsa"&&t.curve!==l)return false;return s(u,t.toBuffer("asn1"))}else if(typeof t==="string"||Buffer.isBuffer(t)){return s(u,t,i)}else if(o.isSignature(t,[1,0])){throw new Error("signature was created by too old "+"a version of sshpk and cannot be verified")}else{throw new TypeError("signature must be a string, "+"Buffer, or Signature object")}};return t};Key.prototype.createDiffieHellman=function(){if(this.type==="rsa")throw new Error("RSA keys do not support Diffie-Hellman");return new u(this)};Key.prototype.createDH=Key.prototype.createDiffieHellman;Key.parse=function(e,t,i){if(typeof e!=="string")n.buffer(e,"data");if(t===undefined)t="auto";n.string(t,"format");if(typeof i==="string")i={filename:i};n.optionalObject(i,"options");if(i===undefined)i={};n.optionalString(i.filename,"options.filename");if(i.filename===undefined)i.filename="(unnamed)";n.object(m[t],"formats[format]");try{var a=m[t].read(e,i);if(a instanceof d)a=a.toPublic();if(!a.comment)a.comment=i.filename;return a}catch(e){if(e.name==="KeyEncryptedError")throw e;throw new h(i.filename,t,e)}};Key.isKey=function(e,t){return c.isCompatible(e,Key,t)};Key.prototype._sshpkApiVersion=[1,7];Key._oldVersionDetect=function(e){n.func(e.toBuffer);n.func(e.fingerprint);if(e.createDH)return[1,4];if(e.defaultHashAlgorithm)return[1,3];if(e.formats["auto"])return[1,2];if(e.formats["pkcs1"])return[1,1];return[1,0]}},function(e,t){(function(e,i){true?i(t):undefined})(this,function(e){"use strict";function merge(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++){t[i]=arguments[i]}if(t.length>1){t[0]=t[0].slice(0,-1);var n=t.length-1;for(var a=1;a<n;++a){t[a]=t[a].slice(1,-1)}t[n]=t[n].slice(1);return t.join("")}else{return t[0]}}function subexp(e){return"(?:"+e+")"}function typeOf(e){return e===undefined?"undefined":e===null?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function toUpperCase(e){return e.toUpperCase()}function toArray(e){return e!==undefined&&e!==null?e instanceof Array?e:typeof e.length!=="number"||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function assign(e,t){var i=e;if(t){for(var n in t){i[n]=t[n]}}return i}function buildExps(e){var t="[A-Za-z]",i="[\\x0D]",n="[0-9]",a="[\\x22]",r=merge(n,"[A-Fa-f]"),s="[\\x0A]",o="[\\x20]",u=subexp(subexp("%[EFef]"+r+"%"+r+r+"%"+r+r)+"|"+subexp("%[89A-Fa-f]"+r+"%"+r+r)+"|"+subexp("%"+r+r)),l="[\\:\\/\\?\\#\\[\\]\\@]",c="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",d=merge(l,c),p=e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",f=e?"[\\uE000-\\uF8FF]":"[]",h=merge(t,n,"[\\-\\.\\_\\~]",p),m=subexp(t+merge(t,n,"[\\+\\-\\.]")+"*"),b=subexp(subexp(u+"|"+merge(h,c,"[\\:]"))+"*"),g=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+n)+"|"+subexp("1"+n+n)+"|"+subexp("[1-9]"+n)+"|"+n),y=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+n)+"|"+subexp("1"+n+n)+"|"+subexp("0?[1-9]"+n)+"|0?0?"+n),S=subexp(y+"\\."+y+"\\."+y+"\\."+y),w=subexp(r+"{1,4}"),v=subexp(subexp(w+"\\:"+w)+"|"+S),z=subexp(subexp(w+"\\:")+"{6}"+v),j=subexp("\\:\\:"+subexp(w+"\\:")+"{5}"+v),O=subexp(subexp(w)+"?\\:\\:"+subexp(w+"\\:")+"{4}"+v),k=subexp(subexp(subexp(w+"\\:")+"{0,1}"+w)+"?\\:\\:"+subexp(w+"\\:")+"{3}"+v),C=subexp(subexp(subexp(w+"\\:")+"{0,2}"+w)+"?\\:\\:"+subexp(w+"\\:")+"{2}"+v),T=subexp(subexp(subexp(w+"\\:")+"{0,3}"+w)+"?\\:\\:"+w+"\\:"+v),R=subexp(subexp(subexp(w+"\\:")+"{0,4}"+w)+"?\\:\\:"+v),E=subexp(subexp(subexp(w+"\\:")+"{0,5}"+w)+"?\\:\\:"+w),A=subexp(subexp(subexp(w+"\\:")+"{0,6}"+w)+"?\\:\\:"),x=subexp([z,j,O,k,C,T,R,E,A].join("|")),N=subexp(subexp(h+"|"+u)+"+"),V=subexp(x+"\\%25"+N),P=subexp(x+subexp("\\%25|\\%(?!"+r+"{2})")+N),D=subexp("[vV]"+r+"+\\."+merge(h,c,"[\\:]")+"+"),I=subexp("\\["+subexp(P+"|"+x+"|"+D)+"\\]"),_=subexp(subexp(u+"|"+merge(h,c))+"*"),q=subexp(I+"|"+S+"(?!"+_+")"+"|"+_),B=subexp(n+"*"),M=subexp(subexp(b+"@")+"?"+q+subexp("\\:"+B)+"?"),U=subexp(u+"|"+merge(h,c,"[\\:\\@]")),L=subexp(U+"*"),H=subexp(U+"+"),Q=subexp(subexp(u+"|"+merge(h,c,"[\\@]"))+"+"),W=subexp(subexp("\\/"+L)+"*"),G=subexp("\\/"+subexp(H+W)+"?"),K=subexp(Q+W),J=subexp(H+W),F="(?!"+U+")",Y=subexp(W+"|"+G+"|"+K+"|"+J+"|"+F),X=subexp(subexp(U+"|"+merge("[\\/\\?]",f))+"*"),Z=subexp(subexp(U+"|[\\/\\?]")+"*"),$=subexp(subexp("\\/\\/"+M+W)+"|"+G+"|"+J+"|"+F),ee=subexp(m+"\\:"+$+subexp("\\?"+X)+"?"+subexp("\\#"+Z)+"?"),te=subexp(subexp("\\/\\/"+M+W)+"|"+G+"|"+K+"|"+F),ie=subexp(te+subexp("\\?"+X)+"?"+subexp("\\#"+Z)+"?"),ne=subexp(ee+"|"+ie),ae=subexp(m+"\\:"+$+subexp("\\?"+X)+"?"),re="^("+m+")\\:"+subexp(subexp("\\/\\/("+subexp("("+b+")@")+"?("+q+")"+subexp("\\:("+B+")")+"?)")+"?("+W+"|"+G+"|"+J+"|"+F+")")+subexp("\\?("+X+")")+"?"+subexp("\\#("+Z+")")+"?$",se="^(){0}"+subexp(subexp("\\/\\/("+subexp("("+b+")@")+"?("+q+")"+subexp("\\:("+B+")")+"?)")+"?("+W+"|"+G+"|"+K+"|"+F+")")+subexp("\\?("+X+")")+"?"+subexp("\\#("+Z+")")+"?$",oe="^("+m+")\\:"+subexp(subexp("\\/\\/("+subexp("("+b+")@")+"?("+q+")"+subexp("\\:("+B+")")+"?)")+"?("+W+"|"+G+"|"+J+"|"+F+")")+subexp("\\?("+X+")")+"?$",ue="^"+subexp("\\#("+Z+")")+"?$",le="^"+subexp("("+b+")@")+"?("+q+")"+subexp("\\:("+B+")")+"?$";return{NOT_SCHEME:new RegExp(merge("[^]",t,n,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(merge("[^\\%\\:]",h,c),"g"),NOT_HOST:new RegExp(merge("[^\\%\\[\\]\\:]",h,c),"g"),NOT_PATH:new RegExp(merge("[^\\%\\/\\:\\@]",h,c),"g"),NOT_PATH_NOSCHEME:new RegExp(merge("[^\\%\\/\\@]",h,c),"g"),NOT_QUERY:new RegExp(merge("[^\\%]",h,c,"[\\:\\@\\/\\?]",f),"g"),NOT_FRAGMENT:new RegExp(merge("[^\\%]",h,c,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(merge("[^]",h,c),"g"),UNRESERVED:new RegExp(h,"g"),OTHER_CHARS:new RegExp(merge("[^\\%]",h,d),"g"),PCT_ENCODED:new RegExp(u,"g"),IPV4ADDRESS:new RegExp("^("+S+")$"),IPV6ADDRESS:new RegExp("^\\[?("+x+")"+subexp(subexp("\\%25|\\%(?!"+r+"{2})")+"("+N+")")+"?\\]?$")}}var t=buildExps(false);var i=buildExps(true);var n=function(){function sliceIterator(e,t){var i=[];var n=true;var a=false;var r=undefined;try{for(var s=e[Symbol.iterator](),o;!(n=(o=s.next()).done);n=true){i.push(o.value);if(t&&i.length===t)break}}catch(e){a=true;r=e}finally{try{if(!n&&s["return"])s["return"]()}finally{if(a)throw r}}return i}return function(e,t){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var a=function(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t<e.length;t++)i[t]=e[t];return i}else{return Array.from(e)}};var r=2147483647;var s=36;var o=1;var u=26;var l=38;var c=700;var d=72;var p=128;var f="-";var h=/^xn--/;var m=/[^\0-\x7E]/;var b=/[\x2E\u3002\uFF0E\uFF61]/g;var g={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var y=s-o;var S=Math.floor;var w=String.fromCharCode;function error$1(e){throw new RangeError(g[e])}function map(e,t){var i=[];var n=e.length;while(n--){i[n]=t(e[n])}return i}function mapDomain(e,t){var i=e.split("@");var n="";if(i.length>1){n=i[0]+"@";e=i[1]}e=e.replace(b,".");var a=e.split(".");var r=map(a,t).join(".");return n+r}function ucs2decode(e){var t=[];var i=0;var n=e.length;while(i<n){var a=e.charCodeAt(i++);if(a>=55296&&a<=56319&&i<n){var r=e.charCodeAt(i++);if((r&64512)==56320){t.push(((a&1023)<<10)+(r&1023)+65536)}else{t.push(a);i--}}else{t.push(a)}}return t}var v=function ucs2encode(e){return String.fromCodePoint.apply(String,a(e))};var z=function basicToDigit(e){if(e-48<10){return e-22}if(e-65<26){return e-65}if(e-97<26){return e-97}return s};var j=function digitToBasic(e,t){return e+22+75*(e<26)-((t!=0)<<5)};var O=function adapt(e,t,i){var n=0;e=i?S(e/c):e>>1;e+=S(e/t);for(;e>y*u>>1;n+=s){e=S(e/y)}return S(n+(y+1)*e/(e+l))};var k=function decode(e){var t=[];var i=e.length;var n=0;var a=p;var l=d;var c=e.lastIndexOf(f);if(c<0){c=0}for(var h=0;h<c;++h){if(e.charCodeAt(h)>=128){error$1("not-basic")}t.push(e.charCodeAt(h))}for(var m=c>0?c+1:0;m<i;){var b=n;for(var g=1,y=s;;y+=s){if(m>=i){error$1("invalid-input")}var w=z(e.charCodeAt(m++));if(w>=s||w>S((r-n)/g)){error$1("overflow")}n+=w*g;var v=y<=l?o:y>=l+u?u:y-l;if(w<v){break}var j=s-v;if(g>S(r/j)){error$1("overflow")}g*=j}var k=t.length+1;l=O(n-b,k,b==0);if(S(n/k)>r-a){error$1("overflow")}a+=S(n/k);n%=k;t.splice(n++,0,a)}return String.fromCodePoint.apply(String,t)};var C=function encode(e){var t=[];e=ucs2decode(e);var i=e.length;var n=p;var a=0;var l=d;var c=true;var h=false;var m=undefined;try{for(var b=e[Symbol.iterator](),g;!(c=(g=b.next()).done);c=true){var y=g.value;if(y<128){t.push(w(y))}}}catch(e){h=true;m=e}finally{try{if(!c&&b.return){b.return()}}finally{if(h){throw m}}}var v=t.length;var z=v;if(v){t.push(f)}while(z<i){var k=r;var C=true;var T=false;var R=undefined;try{for(var E=e[Symbol.iterator](),A;!(C=(A=E.next()).done);C=true){var x=A.value;if(x>=n&&x<k){k=x}}}catch(e){T=true;R=e}finally{try{if(!C&&E.return){E.return()}}finally{if(T){throw R}}}var N=z+1;if(k-n>S((r-a)/N)){error$1("overflow")}a+=(k-n)*N;n=k;var V=true;var P=false;var D=undefined;try{for(var I=e[Symbol.iterator](),_;!(V=(_=I.next()).done);V=true){var q=_.value;if(q<n&&++a>r){error$1("overflow")}if(q==n){var B=a;for(var M=s;;M+=s){var U=M<=l?o:M>=l+u?u:M-l;if(B<U){break}var L=B-U;var H=s-U;t.push(w(j(U+L%H,0)));B=S(L/H)}t.push(w(j(B,0)));l=O(a,N,z==v);a=0;++z}}}catch(e){P=true;D=e}finally{try{if(!V&&I.return){I.return()}}finally{if(P){throw D}}}++a;++n}return t.join("")};var T=function toUnicode(e){return mapDomain(e,function(e){return h.test(e)?k(e.slice(4).toLowerCase()):e})};var R=function toASCII(e){return mapDomain(e,function(e){return m.test(e)?"xn--"+C(e):e})};var E={version:"2.1.0",ucs2:{decode:ucs2decode,encode:v},decode:k,encode:C,toASCII:R,toUnicode:T};var A={};function pctEncChar(e){var t=e.charCodeAt(0);var i=void 0;if(t<16)i="%0"+t.toString(16).toUpperCase();else if(t<128)i="%"+t.toString(16).toUpperCase();else if(t<2048)i="%"+(t>>6|192).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();else i="%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();return i}function pctDecChars(e){var t="";var i=0;var n=e.length;while(i<n){var a=parseInt(e.substr(i+1,2),16);if(a<128){t+=String.fromCharCode(a);i+=3}else if(a>=194&&a<224){if(n-i>=6){var r=parseInt(e.substr(i+4,2),16);t+=String.fromCharCode((a&31)<<6|r&63)}else{t+=e.substr(i,6)}i+=6}else if(a>=224){if(n-i>=9){var s=parseInt(e.substr(i+4,2),16);var o=parseInt(e.substr(i+7,2),16);t+=String.fromCharCode((a&15)<<12|(s&63)<<6|o&63)}else{t+=e.substr(i,9)}i+=9}else{t+=e.substr(i,3);i+=3}}return t}function _normalizeComponentEncoding(e,t){function decodeUnreserved(e){var i=pctDecChars(e);return!i.match(t.UNRESERVED)?e:i}if(e.scheme)e.scheme=String(e.scheme).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_SCHEME,"");if(e.userinfo!==undefined)e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_USERINFO,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.host!==undefined)e.host=String(e.host).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_HOST,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.path!==undefined)e.path=String(e.path).replace(t.PCT_ENCODED,decodeUnreserved).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.query!==undefined)e.query=String(e.query).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_QUERY,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.fragment!==undefined)e.fragment=String(e.fragment).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_FRAGMENT,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);return e}function _stripLeadingZeros(e){return e.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(e,t){var i=e.match(t.IPV4ADDRESS)||[];var a=n(i,2),r=a[1];if(r){return r.split(".").map(_stripLeadingZeros).join(".")}else{return e}}function _normalizeIPv6(e,t){var i=e.match(t.IPV6ADDRESS)||[];var a=n(i,3),r=a[1],s=a[2];if(r){var o=r.toLowerCase().split("::").reverse(),u=n(o,2),l=u[0],c=u[1];var d=c?c.split(":").map(_stripLeadingZeros):[];var p=l.split(":").map(_stripLeadingZeros);var f=t.IPV4ADDRESS.test(p[p.length-1]);var h=f?7:8;var m=p.length-h;var b=Array(h);for(var g=0;g<h;++g){b[g]=d[g]||p[m+g]||""}if(f){b[h-1]=_normalizeIPv4(b[h-1],t)}var y=b.reduce(function(e,t,i){if(!t||t==="0"){var n=e[e.length-1];if(n&&n.index+n.length===i){n.length++}else{e.push({index:i,length:1})}}return e},[]);var S=y.sort(function(e,t){return t.length-e.length})[0];var w=void 0;if(S&&S.length>1){var v=b.slice(0,S.index);var z=b.slice(S.index+S.length);w=v.join(":")+"::"+z.join(":")}else{w=b.join(":")}if(s){w+="%"+s}return w}else{return e}}var x=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var N="".match(/(){0}/)[1]===undefined;function parse(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var a={};var r=n.iri!==false?i:t;if(n.reference==="suffix")e=(n.scheme?n.scheme+":":"")+"//"+e;var s=e.match(x);if(s){if(N){a.scheme=s[1];a.userinfo=s[3];a.host=s[4];a.port=parseInt(s[5],10);a.path=s[6]||"";a.query=s[7];a.fragment=s[8];if(isNaN(a.port)){a.port=s[5]}}else{a.scheme=s[1]||undefined;a.userinfo=e.indexOf("@")!==-1?s[3]:undefined;a.host=e.indexOf("//")!==-1?s[4]:undefined;a.port=parseInt(s[5],10);a.path=s[6]||"";a.query=e.indexOf("?")!==-1?s[7]:undefined;a.fragment=e.indexOf("#")!==-1?s[8]:undefined;if(isNaN(a.port)){a.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?s[4]:undefined}}if(a.host){a.host=_normalizeIPv6(_normalizeIPv4(a.host,r),r)}if(a.scheme===undefined&&a.userinfo===undefined&&a.host===undefined&&a.port===undefined&&!a.path&&a.query===undefined){a.reference="same-document"}else if(a.scheme===undefined){a.reference="relative"}else if(a.fragment===undefined){a.reference="absolute"}else{a.reference="uri"}if(n.reference&&n.reference!=="suffix"&&n.reference!==a.reference){a.error=a.error||"URI is not a "+n.reference+" reference."}var o=A[(n.scheme||a.scheme||"").toLowerCase()];if(!n.unicodeSupport&&(!o||!o.unicodeSupport)){if(a.host&&(n.domainHost||o&&o.domainHost)){try{a.host=E.toASCII(a.host.replace(r.PCT_ENCODED,pctDecChars).toLowerCase())}catch(e){a.error=a.error||"Host's domain name can not be converted to ASCII via punycode: "+e}}_normalizeComponentEncoding(a,t)}else{_normalizeComponentEncoding(a,r)}if(o&&o.parse){o.parse(a,n)}}else{a.error=a.error||"URI can not be parsed."}return a}function _recomposeAuthority(e,n){var a=n.iri!==false?i:t;var r=[];if(e.userinfo!==undefined){r.push(e.userinfo);r.push("@")}if(e.host!==undefined){r.push(_normalizeIPv6(_normalizeIPv4(String(e.host),a),a).replace(a.IPV6ADDRESS,function(e,t,i){return"["+t+(i?"%25"+i:"")+"]"}))}if(typeof e.port==="number"){r.push(":");r.push(e.port.toString(10))}return r.length?r.join(""):undefined}var V=/^\.\.?\//;var P=/^\/\.(\/|$)/;var D=/^\/\.\.(\/|$)/;var I=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(e){var t=[];while(e.length){if(e.match(V)){e=e.replace(V,"")}else if(e.match(P)){e=e.replace(P,"/")}else if(e.match(D)){e=e.replace(D,"/");t.pop()}else if(e==="."||e===".."){e=""}else{var i=e.match(I);if(i){var n=i[0];e=e.slice(n.length);t.push(n)}else{throw new Error("Unexpected dot segment condition")}}}return t.join("")}function serialize(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var a=n.iri?i:t;var r=[];var s=A[(n.scheme||e.scheme||"").toLowerCase()];if(s&&s.serialize)s.serialize(e,n);if(e.host){if(a.IPV6ADDRESS.test(e.host)){}else if(n.domainHost||s&&s.domainHost){try{e.host=!n.iri?E.toASCII(e.host.replace(a.PCT_ENCODED,pctDecChars).toLowerCase()):E.toUnicode(e.host)}catch(t){e.error=e.error||"Host's domain name can not be converted to "+(!n.iri?"ASCII":"Unicode")+" via punycode: "+t}}}_normalizeComponentEncoding(e,a);if(n.reference!=="suffix"&&e.scheme){r.push(e.scheme);r.push(":")}var o=_recomposeAuthority(e,n);if(o!==undefined){if(n.reference!=="suffix"){r.push("//")}r.push(o);if(e.path&&e.path.charAt(0)!=="/"){r.push("/")}}if(e.path!==undefined){var u=e.path;if(!n.absolutePath&&(!s||!s.absolutePath)){u=removeDotSegments(u)}if(o===undefined){u=u.replace(/^\/\//,"/%2F")}r.push(u)}if(e.query!==undefined){r.push("?");r.push(e.query)}if(e.fragment!==undefined){r.push("#");r.push(e.fragment)}return r.join("")}function resolveComponents(e,t){var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var n=arguments[3];var a={};if(!n){e=parse(serialize(e,i),i);t=parse(serialize(t,i),i)}i=i||{};if(!i.tolerant&&t.scheme){a.scheme=t.scheme;a.userinfo=t.userinfo;a.host=t.host;a.port=t.port;a.path=removeDotSegments(t.path||"");a.query=t.query}else{if(t.userinfo!==undefined||t.host!==undefined||t.port!==undefined){a.userinfo=t.userinfo;a.host=t.host;a.port=t.port;a.path=removeDotSegments(t.path||"");a.query=t.query}else{if(!t.path){a.path=e.path;if(t.query!==undefined){a.query=t.query}else{a.query=e.query}}else{if(t.path.charAt(0)==="/"){a.path=removeDotSegments(t.path)}else{if((e.userinfo!==undefined||e.host!==undefined||e.port!==undefined)&&!e.path){a.path="/"+t.path}else if(!e.path){a.path=t.path}else{a.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path}a.path=removeDotSegments(a.path)}a.query=t.query}a.userinfo=e.userinfo;a.host=e.host;a.port=e.port}a.scheme=e.scheme}a.fragment=t.fragment;return a}function resolve(e,t,i){var n=assign({scheme:"null"},i);return serialize(resolveComponents(parse(e,n),parse(t,n),n,true),n)}function normalize(e,t){if(typeof e==="string"){e=serialize(parse(e,t),t)}else if(typeOf(e)==="object"){e=parse(serialize(e,t),t)}return e}function equal(e,t,i){if(typeof e==="string"){e=serialize(parse(e,i),i)}else if(typeOf(e)==="object"){e=serialize(e,i)}if(typeof t==="string"){t=serialize(parse(t,i),i)}else if(typeOf(t)==="object"){t=serialize(t,i)}return e===t}function escapeComponent(e,n){return e&&e.toString().replace(!n||!n.iri?t.ESCAPE:i.ESCAPE,pctEncChar)}function unescapeComponent(e,n){return e&&e.toString().replace(!n||!n.iri?t.PCT_ENCODED:i.PCT_ENCODED,pctDecChars)}var _={scheme:"http",domainHost:true,parse:function parse(e,t){if(!e.host){e.error=e.error||"HTTP URIs must have a host."}return e},serialize:function serialize(e,t){if(e.port===(String(e.scheme).toLowerCase()!=="https"?80:443)||e.port===""){e.port=undefined}if(!e.path){e.path="/"}return e}};var q={scheme:"https",domainHost:_.domainHost,parse:_.parse,serialize:_.serialize};var B={};var M=true;var U="[A-Za-z0-9\\-\\.\\_\\~"+(M?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var L="[0-9A-Fa-f]";var H=subexp(subexp("%[EFef]"+L+"%"+L+L+"%"+L+L)+"|"+subexp("%[89A-Fa-f]"+L+"%"+L+L)+"|"+subexp("%"+L+L));var Q="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var W="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var G=merge(W,'[\\"\\\\]');var K="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var J=new RegExp(U,"g");var F=new RegExp(H,"g");var Y=new RegExp(merge("[^]",Q,"[\\.]",'[\\"]',G),"g");var X=new RegExp(merge("[^]",U,K),"g");var Z=X;function decodeUnreserved(e){var t=pctDecChars(e);return!t.match(J)?e:t}var $={scheme:"mailto",parse:function parse$$1(e,t){var i=e;var n=i.to=i.path?i.path.split(","):[];i.path=undefined;if(i.query){var a=false;var r={};var s=i.query.split("&");for(var o=0,u=s.length;o<u;++o){var l=s[o].split("=");switch(l[0]){case"to":var c=l[1].split(",");for(var d=0,p=c.length;d<p;++d){n.push(c[d])}break;case"subject":i.subject=unescapeComponent(l[1],t);break;case"body":i.body=unescapeComponent(l[1],t);break;default:a=true;r[unescapeComponent(l[0],t)]=unescapeComponent(l[1],t);break}}if(a)i.headers=r}i.query=undefined;for(var f=0,h=n.length;f<h;++f){var m=n[f].split("@");m[0]=unescapeComponent(m[0]);if(!t.unicodeSupport){try{m[1]=E.toASCII(unescapeComponent(m[1],t).toLowerCase())}catch(e){i.error=i.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}}else{m[1]=unescapeComponent(m[1],t).toLowerCase()}n[f]=m.join("@")}return i},serialize:function serialize$$1(e,t){var i=e;var n=toArray(e.to);if(n){for(var a=0,r=n.length;a<r;++a){var s=String(n[a]);var o=s.lastIndexOf("@");var u=s.slice(0,o).replace(F,decodeUnreserved).replace(F,toUpperCase).replace(Y,pctEncChar);var l=s.slice(o+1);try{l=!t.iri?E.toASCII(unescapeComponent(l,t).toLowerCase()):E.toUnicode(l)}catch(e){i.error=i.error||"Email address's domain name can not be converted to "+(!t.iri?"ASCII":"Unicode")+" via punycode: "+e}n[a]=u+"@"+l}i.path=n.join(",")}var c=e.headers=e.headers||{};if(e.subject)c["subject"]=e.subject;if(e.body)c["body"]=e.body;var d=[];for(var p in c){if(c[p]!==B[p]){d.push(p.replace(F,decodeUnreserved).replace(F,toUpperCase).replace(X,pctEncChar)+"="+c[p].replace(F,decodeUnreserved).replace(F,toUpperCase).replace(Z,pctEncChar))}}if(d.length){i.query=d.join("&")}return i}};var ee=/^([^\:]+)\:(.*)/;var te={scheme:"urn",parse:function parse$$1(e,t){var i=e.path&&e.path.match(ee);var n=e;if(i){var a=t.scheme||n.scheme||"urn";var r=i[1].toLowerCase();var s=i[2];var o=a+":"+(t.nid||r);var u=A[o];n.nid=r;n.nss=s;n.path=undefined;if(u){n=u.parse(n,t)}}else{n.error=n.error||"URN can not be parsed."}return n},serialize:function serialize$$1(e,t){var i=t.scheme||e.scheme||"urn";var n=e.nid;var a=i+":"+(t.nid||n);var r=A[a];if(r){e=r.serialize(e,t)}var s=e;var o=e.nss;s.path=(n||t.nid)+":"+o;return s}};var ie=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/;var ne={scheme:"urn:uuid",parse:function parse(e,t){var i=e;i.uuid=i.nss;i.nss=undefined;if(!t.tolerant&&(!i.uuid||!i.uuid.match(ie))){i.error=i.error||"UUID is not valid."}return i},serialize:function serialize(e,t){var i=e;i.nss=(e.uuid||"").toLowerCase();return i}};A[_.scheme]=_;A[q.scheme]=q;A[$.scheme]=$;A[te.scheme]=te;A[ne.scheme]=ne;e.SCHEMES=A;e.pctEncChar=pctEncChar;e.pctDecChars=pctDecChars;e.parse=parse;e.removeDotSegments=removeDotSegments;e.serialize=serialize;e.resolveComponents=resolveComponents;e.resolve=resolve;e.normalize=normalize;e.equal=equal;e.escapeComponent=escapeComponent;e.unescapeComponent=unescapeComponent;Object.defineProperty(e,"__esModule",{value:true})})},function(e,t,i){const n=i(835);const{strict:a}=i(357);e.exports=(e=>{try{const{protocol:t}=new n.URL(e);a(t.match(/^(https?:)$/));return true}catch(e){throw new TypeError("only valid absolute URLs can be requested")}})},function(e,t,i){"use strict";e.exports={copy:copy,checkDataType:checkDataType,checkDataTypes:checkDataTypes,coerceToTypes:coerceToTypes,toHash:toHash,getProperty:getProperty,escapeQuotes:escapeQuotes,equal:i(832),ucs2length:i(767),varOccurences:varOccurences,varReplace:varReplace,schemaHasRules:schemaHasRules,schemaHasRulesExcept:schemaHasRulesExcept,schemaUnknownRules:schemaUnknownRules,toQuotedString:toQuotedString,getPathExpr:getPathExpr,getPath:getPath,getData:getData,unescapeFragment:unescapeFragment,unescapeJsonPointer:unescapeJsonPointer,escapeFragment:escapeFragment,escapeJsonPointer:escapeJsonPointer};function copy(e,t){t=t||{};for(var i in e)t[i]=e[i];return t}function checkDataType(e,t,i,n){var a=n?" !== ":" === ",r=n?" || ":" && ",s=n?"!":"",o=n?"":"!";switch(e){case"null":return t+a+"null";case"array":return s+"Array.isArray("+t+")";case"object":return"("+s+t+r+"typeof "+t+a+'"object"'+r+o+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+a+'"number"'+r+o+"("+t+" % 1)"+r+t+a+t+(i?r+s+"isFinite("+t+")":"")+")";case"number":return"(typeof "+t+a+'"'+e+'"'+(i?r+s+"isFinite("+t+")":"")+")";default:return"typeof "+t+a+'"'+e+'"'}}function checkDataTypes(e,t,i){switch(e.length){case 1:return checkDataType(e[0],t,i,true);default:var n="";var a=toHash(e);if(a.array&&a.object){n=a.null?"(":"(!"+t+" || ";n+="typeof "+t+' !== "object")';delete a.null;delete a.array;delete a.object}if(a.number)delete a.integer;for(var r in a)n+=(n?" && ":"")+checkDataType(r,t,i,true);return n}}var n=toHash(["string","number","integer","boolean","null"]);function coerceToTypes(e,t){if(Array.isArray(t)){var i=[];for(var a=0;a<t.length;a++){var r=t[a];if(n[r])i[i.length]=r;else if(e==="array"&&r==="array")i[i.length]=r}if(i.length)return i}else if(n[t]){return[t]}else if(e==="array"&&t==="array"){return["array"]}}function toHash(e){var t={};for(var i=0;i<e.length;i++)t[e[i]]=true;return t}var a=/^[a-z$_][a-z$_0-9]*$/i;var r=/'|\\/g;function getProperty(e){return typeof e=="number"?"["+e+"]":a.test(e)?"."+e:"['"+escapeQuotes(e)+"']"}function escapeQuotes(e){return e.replace(r,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function varOccurences(e,t){t+="[^0-9]";var i=e.match(new RegExp(t,"g"));return i?i.length:0}function varReplace(e,t,i){t+="([^0-9])";i=i.replace(/\$/g,"$$$$");return e.replace(new RegExp(t,"g"),i+"$1")}function schemaHasRules(e,t){if(typeof e=="boolean")return!e;for(var i in e)if(t[i])return true}function schemaHasRulesExcept(e,t,i){if(typeof e=="boolean")return!e&&i!="not";for(var n in e)if(n!=i&&t[n])return true}function schemaUnknownRules(e,t){if(typeof e=="boolean")return;for(var i in e)if(!t[i])return i}function toQuotedString(e){return"'"+escapeQuotes(e)+"'"}function getPathExpr(e,t,i,n){var a=i?"'/' + "+t+(n?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):n?"'[' + "+t+" + ']'":"'[\\'' + "+t+" + '\\']'";return joinPaths(e,a)}function getPath(e,t,i){var n=i?toQuotedString("/"+escapeJsonPointer(t)):toQuotedString(getProperty(t));return joinPaths(e,n)}var s=/^\/(?:[^~]|~0|~1)*$/;var o=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function getData(e,t,i){var n,a,r,u;if(e==="")return"rootData";if(e[0]=="/"){if(!s.test(e))throw new Error("Invalid JSON-pointer: "+e);a=e;r="rootData"}else{u=e.match(o);if(!u)throw new Error("Invalid JSON-pointer: "+e);n=+u[1];a=u[2];if(a=="#"){if(n>=t)throw new Error("Cannot access property/index "+n+" levels up, current level is "+t);return i[t-n]}if(n>t)throw new Error("Cannot access data "+n+" levels up, current level is "+t);r="data"+(t-n||"");if(!a)return r}var l=r;var c=a.split("/");for(var d=0;d<c.length;d++){var p=c[d];if(p){r+=getProperty(unescapeJsonPointer(p));l+=" && "+r}}return l}function joinPaths(e,t){if(e=='""')return t;return(e+" + "+t).replace(/([^\\])' \+ '/g,"$1")}function unescapeFragment(e){return unescapeJsonPointer(decodeURIComponent(e))}function escapeFragment(e){return encodeURIComponent(escapeJsonPointer(e))}function escapeJsonPointer(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function unescapeJsonPointer(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}},function(e,t,i){t.alphasort=alphasort;t.alphasorti=alphasorti;t.setopts=setopts;t.ownProp=ownProp;t.makeAbs=makeAbs;t.finish=finish;t.mark=mark;t.isIgnored=isIgnored;t.childrenIgnored=childrenIgnored;function ownProp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var n=i(622);var a=i(595);var r=i(681);var s=a.Minimatch;function alphasorti(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())}function alphasort(e,t){return e.localeCompare(t)}function setupIgnores(e,t){e.ignore=t.ignore||[];if(!Array.isArray(e.ignore))e.ignore=[e.ignore];if(e.ignore.length){e.ignore=e.ignore.map(ignoreMap)}}function ignoreMap(e){var t=null;if(e.slice(-3)==="/**"){var i=e.replace(/(\/\*\*)+$/,"");t=new s(i,{dot:true})}return{matcher:new s(e,{dot:true}),gmatcher:t}}function setopts(e,t,i){if(!i)i={};if(i.matchBase&&-1===t.indexOf("/")){if(i.noglobstar){throw new Error("base matching requires globstar")}t="**/"+t}e.silent=!!i.silent;e.pattern=t;e.strict=i.strict!==false;e.realpath=!!i.realpath;e.realpathCache=i.realpathCache||Object.create(null);e.follow=!!i.follow;e.dot=!!i.dot;e.mark=!!i.mark;e.nodir=!!i.nodir;if(e.nodir)e.mark=true;e.sync=!!i.sync;e.nounique=!!i.nounique;e.nonull=!!i.nonull;e.nosort=!!i.nosort;e.nocase=!!i.nocase;e.stat=!!i.stat;e.noprocess=!!i.noprocess;e.absolute=!!i.absolute;e.maxLength=i.maxLength||Infinity;e.cache=i.cache||Object.create(null);e.statCache=i.statCache||Object.create(null);e.symlinks=i.symlinks||Object.create(null);setupIgnores(e,i);e.changedCwd=false;var a=process.cwd();if(!ownProp(i,"cwd"))e.cwd=a;else{e.cwd=n.resolve(i.cwd);e.changedCwd=e.cwd!==a}e.root=i.root||n.resolve(e.cwd,"/");e.root=n.resolve(e.root);if(process.platform==="win32")e.root=e.root.replace(/\\/g,"/");e.cwdAbs=r(e.cwd)?e.cwd:makeAbs(e,e.cwd);if(process.platform==="win32")e.cwdAbs=e.cwdAbs.replace(/\\/g,"/");e.nomount=!!i.nomount;i.nonegate=true;i.nocomment=true;e.minimatch=new s(t,i);e.options=e.minimatch.options}function finish(e){var t=e.nounique;var i=t?[]:Object.create(null);for(var n=0,a=e.matches.length;n<a;n++){var r=e.matches[n];if(!r||Object.keys(r).length===0){if(e.nonull){var s=e.minimatch.globSet[n];if(t)i.push(s);else i[s]=true}}else{var o=Object.keys(r);if(t)i.push.apply(i,o);else o.forEach(function(e){i[e]=true})}}if(!t)i=Object.keys(i);if(!e.nosort)i=i.sort(e.nocase?alphasorti:alphasort);if(e.mark){for(var n=0;n<i.length;n++){i[n]=e._mark(i[n])}if(e.nodir){i=i.filter(function(t){var i=!/\/$/.test(t);var n=e.cache[t]||e.cache[makeAbs(e,t)];if(i&&n)i=n!=="DIR"&&!Array.isArray(n);return i})}}if(e.ignore.length)i=i.filter(function(t){return!isIgnored(e,t)});e.found=i}function mark(e,t){var i=makeAbs(e,t);var n=e.cache[i];var a=t;if(n){var r=n==="DIR"||Array.isArray(n);var s=t.slice(-1)==="/";if(r&&!s)a+="/";else if(!r&&s)a=a.slice(0,-1);if(a!==t){var o=makeAbs(e,a);e.statCache[o]=e.statCache[i];e.cache[o]=e.cache[i]}}return a}function makeAbs(e,t){var i=t;if(t.charAt(0)==="/"){i=n.join(e.root,t)}else if(r(t)||t===""){i=t}else if(e.changedCwd){i=n.resolve(e.cwd,t)}else{i=n.resolve(t)}if(process.platform==="win32")i=i.replace(/\\/g,"/");return i}function isIgnored(e,t){if(!e.ignore.length)return false;return e.ignore.some(function(e){return e.matcher.match(t)||!!(e.gmatcher&&e.gmatcher.match(t))})}function childrenIgnored(e,t){if(!e.ignore.length)return false;return e.ignore.some(function(e){return!!(e.gmatcher&&e.gmatcher.match(t))})}},,function(e){"use strict";e.exports=function generate_required(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="schema"+a;if(!p){if(s.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var m=[];var b=s;if(b){var g,y=-1,S=b.length-1;while(y<S){g=b[y+=1];var w=e.schema.properties[g];if(!(w&&(e.opts.strictKeywords?typeof w=="object"&&Object.keys(w).length>0:e.util.schemaHasRules(w,e.RULES.all)))){m[m.length]=g}}}}else{var m=s}}if(p||m.length){var v=e.errorPath,z=p||m.length>=e.opts.loopRequired,j=e.opts.ownProperties;if(l){n+=" var missing"+a+"; ";if(z){if(!p){n+=" var "+h+" = validate.schema"+o+"; "}var O="i"+a,k="schema"+a+"["+O+"]",C="' + "+k+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPathExpr(v,k,e.opts.jsonPointers)}n+=" var "+d+" = true; ";if(p){n+=" if (schema"+a+" === undefined) "+d+" = true; else if (!Array.isArray(schema"+a+")) "+d+" = false; else {"}n+=" for (var "+O+" = 0; "+O+" < "+h+".length; "+O+"++) { "+d+" = "+c+"["+h+"["+O+"]] !== undefined ";if(j){n+=" && Object.prototype.hasOwnProperty.call("+c+", "+h+"["+O+"]) "}n+="; if (!"+d+") break; } ";if(p){n+=" } "}n+=" if (!"+d+") { ";var T=T||[];T.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+C+"' } ";if(e.opts.messages!==false){n+=" , message: '";if(e.opts._errorDataPathProperty){n+="is a required property"}else{n+="should have required property \\'"+C+"\\'"}n+="' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}var R=n;n=T.pop();if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(["+R+"]); "}else{n+=" validate.errors = ["+R+"]; return false; "}}else{n+=" var err = "+R+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } else { "}else{n+=" if ( ";var E=m;if(E){var A,O=-1,x=E.length-1;while(O<x){A=E[O+=1];if(O){n+=" || "}var N=e.util.getProperty(A),V=c+N;n+=" ( ( "+V+" === undefined ";if(j){n+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(A)+"') "}n+=") && (missing"+a+" = "+e.util.toQuotedString(e.opts.jsonPointers?A:N)+") ) "}}n+=") { ";var k="missing"+a,C="' + "+k+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(v,k,true):v+" + "+k}var T=T||[];T.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+C+"' } ";if(e.opts.messages!==false){n+=" , message: '";if(e.opts._errorDataPathProperty){n+="is a required property"}else{n+="should have required property \\'"+C+"\\'"}n+="' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}var R=n;n=T.pop();if(!e.compositeRule&&l){if(e.async){n+=" throw new ValidationError(["+R+"]); "}else{n+=" validate.errors = ["+R+"]; return false; "}}else{n+=" var err = "+R+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } else { "}}else{if(z){if(!p){n+=" var "+h+" = validate.schema"+o+"; "}var O="i"+a,k="schema"+a+"["+O+"]",C="' + "+k+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPathExpr(v,k,e.opts.jsonPointers)}if(p){n+=" if ("+h+" && !Array.isArray("+h+")) { var err = ";if(e.createErrors!==false){n+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+C+"' } ";if(e.opts.messages!==false){n+=" , message: '";if(e.opts._errorDataPathProperty){n+="is a required property"}else{n+="should have required property \\'"+C+"\\'"}n+="' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+h+" !== undefined) { "}n+=" for (var "+O+" = 0; "+O+" < "+h+".length; "+O+"++) { if ("+c+"["+h+"["+O+"]] === undefined ";if(j){n+=" || ! Object.prototype.hasOwnProperty.call("+c+", "+h+"["+O+"]) "}n+=") { var err = ";if(e.createErrors!==false){n+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+C+"' } ";if(e.opts.messages!==false){n+=" , message: '";if(e.opts._errorDataPathProperty){n+="is a required property"}else{n+="should have required property \\'"+C+"\\'"}n+="' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ";if(p){n+=" } "}}else{var P=m;if(P){var A,D=-1,I=P.length-1;while(D<I){A=P[D+=1];var N=e.util.getProperty(A),C=e.util.escapeQuotes(A),V=c+N;if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPath(v,A,e.opts.jsonPointers)}n+=" if ( "+V+" === undefined ";if(j){n+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(A)+"') "}n+=") { var err = ";if(e.createErrors!==false){n+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+C+"' } ";if(e.opts.messages!==false){n+=" , message: '";if(e.opts._errorDataPathProperty){n+="is a required property"}else{n+="should have required property \\'"+C+"\\'"}n+="' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}}}e.errorPath=v}else if(l){n+=" if (true) {"}return n}},,function(e,t,i){const{inspect:n,deprecate:a}=i(669);const r=i(363);const s=i(373);const{strict:o}=i(357);const u=i(191);const l=i(835);const{ParseError:c}=i(475);const d=i(387);const p=i(549);const f=i(615);const h=i(358);const{assertSigningAlgValuesSupport:m,assertIssuerConfiguration:b}=i(770);const g=i(108);const y=i(232);const S=i(88);const w=i(933);const{OPError:v,RPError:z}=i(572);const j=i(295);const{random:O}=i(368);const k=i(204);const{CALLBACK_PROPERTIES:C,CLIENT_DEFAULTS:T,JWT_CONTENT:R,CLOCK_TOLERANCE:E}=i(468);const A=i(564);const x=i(880);const{authenticatedPost:N,resolveResponseType:V,resolveRedirectUri:P}=i(285);const D=i(555);const{deep:I}=h;function pickCb(e){return g(e,...C)}function authorizationHeaderValue(e,t="Bearer"){return`${t} ${e}`}function cleanUpClaims(e){if(Object.keys(e._claim_names).length===0){delete e._claim_names}if(Object.keys(e._claim_sources).length===0){delete e._claim_sources}}function assignClaim(e,t,i,n=true){return([a,r])=>{if(r===i){if(n&&t[a]===undefined){throw new z(`expected claim "${a}" in "${i}"`)}else if(t[a]!==undefined){e[a]=t[a]}delete e._claim_names[a]}}}function verifyPresence(e,t,i){if(e[i]===undefined){throw new z({message:`missing required JWT property ${i}`,jwt:t})}}function authorizationParams(e){const t={client_id:this.client_id,scope:"openid",response_type:V.call(this),redirect_uri:P.call(this),...e};Object.entries(t).forEach(([e,i])=>{if(i===null||i===undefined){delete t[e]}else if(e==="claims"&&typeof i==="object"){t[e]=JSON.stringify(i)}else if(e==="resource"&&Array.isArray(i)){t[e]=i}else if(typeof i!=="string"){t[e]=String(i)}});return t}async function claimJWT(e,t){try{const{header:i,payload:n}=d.JWT.decode(t,{complete:true});const{iss:a}=n;if(i.alg==="none"){return n}let r;if(!a||a===this.issuer.issuer){r=await this.issuer.queryKeyStore(i)}else if(A.has(a)){r=await A.get(a).queryKeyStore(i)}else{const e=await this.issuer.constructor.discover(a);r=await e.queryKeyStore(i)}return d.JWT.verify(t,r)}catch(i){if(i instanceof z||i instanceof v||i.name==="AggregateError"){throw i}else{throw new z({printf:["failed to validate the %s JWT (%s: %s)",e,i.name,i.message],jwt:t})}}}function getKeystore(e){const t=d.JWKS.asKeyStore(e);if(t.all().some(e=>e.type!=="private")){throw new TypeError("jwks must only contain private keys")}return t}function checkBasicSupport(e,t,i){try{const t=e.issuer.token_endpoint_auth_methods_supported;if(!t.includes(i.token_endpoint_auth_method)){if(t.includes("client_secret_post")){i.token_endpoint_auth_method="client_secret_post"}}}catch(e){}}function handleCommonMistakes(e,t,i){if(!t.token_endpoint_auth_method){checkBasicSupport(e,t,i)}if(t.redirect_uri){if(t.redirect_uris){throw new TypeError("provide a redirect_uri or redirect_uris, not both")}i.redirect_uris=[t.redirect_uri];delete i.redirect_uri}if(t.response_type){if(t.response_types){throw new TypeError("provide a response_type or response_types, not both")}i.response_types=[t.response_type];delete i.response_type}}function getDefaultsForEndpoint(e,t,i){if(!t[`${e}_endpoint`])return;const n=i.token_endpoint_auth_method;const a=i.token_endpoint_auth_signing_alg;const r=`${e}_endpoint_auth_method`;const s=`${e}_endpoint_auth_signing_alg`;if(i[r]===undefined&&i[s]===undefined){if(n!==undefined){i[r]=n}if(a!==undefined){i[s]=a}}}class BaseClient{}e.exports=((e,t=false)=>(class Client extends BaseClient{constructor(e={},t,i){super();if(typeof e.client_id!=="string"||!e.client_id){throw new TypeError("client_id is required")}const n={...T,...e};handleCommonMistakes(this,e,n);m("token",this.issuer,n);["introspection","revocation"].forEach(e=>{getDefaultsForEndpoint(e,this.issuer,n);m(e,this.issuer,n)});Object.entries(n).forEach(([e,t])=>{x(this).get("metadata").set(e,t);if(!this[e]){Object.defineProperty(this,e,{get(){return x(this).get("metadata").get(e)},enumerable:true})}});if(t!==undefined){const e=getKeystore.call(this,t);x(this).set("keystore",e)}if(i!==undefined){x(this).set("options",i)}this[E]=0}authorizationUrl(e={}){if(!y(e)){throw new TypeError("params must be a plain object")}b(this.issuer,"authorization_endpoint");const t=l.parse(this.issuer.authorization_endpoint,true);t.search=null;t.query={...t.query,...authorizationParams.call(this,e)};return l.format(t)}authorizationPost(e={}){if(!y(e)){throw new TypeError("params must be a plain object")}const t=authorizationParams.call(this,e);const i=Object.keys(t).map(e=>`<input type="hidden" name="${e}" value="${t[e]}"/>`).join("\n");return`<!DOCTYPE html>\n<head>\n <title>Requesting Authorization</title>\n</head>\n<body onload="javascript:document.forms[0].submit()">\n <form method="post" action="${this.issuer.authorization_endpoint}">\n ${i}\n </form>\n</body>\n</html>`}endSessionUrl(e={}){b(this.issuer,"end_session_endpoint");const{0:t,length:i}=this.post_logout_redirect_uris||[];const{post_logout_redirect_uri:n=(i===1?t:undefined)}=e;let a=e.id_token_hint;if(a instanceof w){if(!a.id_token){throw new TypeError("id_token not present in TokenSet")}a=a.id_token}const r=l.parse(this.issuer.end_session_endpoint,true);r.search=null;r.query={...e,...r.query,...{post_logout_redirect_uri:n,id_token_hint:a}};Object.entries(r.query).forEach(([e,t])=>{if(t===null||t===undefined){delete r.query[e]}});return l.format(r)}callbackParams(e){const t=e instanceof r.IncomingMessage||e&&e.method&&e.url;const i=typeof e==="string";if(!i&&!t){throw new TypeError("#callbackParams only accepts string urls, http.IncomingMessage or a lookalike")}if(t){switch(e.method){case"GET":return pickCb(l.parse(e.url,true).query);case"POST":if(e.body===undefined){throw new TypeError("incoming message body missing, include a body parser prior to this method call")}switch(typeof e.body){case"object":case"string":if(Buffer.isBuffer(e.body)){return pickCb(u.parse(e.body.toString("utf-8")))}if(typeof e.body==="string"){return pickCb(u.parse(e.body))}return pickCb(e.body);default:throw new TypeError("invalid IncomingMessage body object")}default:throw new TypeError("invalid IncomingMessage method")}}else{return pickCb(l.parse(e,true).query)}}async callback(e,t,i={},{exchangeBody:n,clientAssertionPayload:a}={}){let r=pickCb(t);if(i.jarm&&!("response"in t)){throw new z({message:"expected a JARM response",checks:i,params:r})}else if("response"in t){const e=await this.decryptJARM(r.response);r=await this.validateJARM(e)}if(this.default_max_age&&!i.max_age){i.max_age=this.default_max_age}if(r.state&&!i.state){throw new TypeError("checks.state argument is missing")}if(!r.state&&i.state){throw new z({message:"state missing from the response",checks:i,params:r})}if(i.state!==r.state){throw new z({printf:["state mismatch, expected %s, got: %s",i.state,r.state],checks:i,params:r})}if(r.error){throw new v(r)}const s={code:["code"],id_token:["id_token"],token:["access_token","token_type"]};if(i.response_type){for(const e of i.response_type.split(" ")){if(e==="none"){if(r.code||r.id_token||r.access_token){throw new z({message:'unexpected params encountered for "none" response',checks:i,params:r})}}else{for(const t of s[e]){if(!r[t]){throw new z({message:`${t} missing from response`,checks:i,params:r})}}}}}if(r.id_token){const e=new w(r);await this.decryptIdToken(e);await this.validateIdToken(e,i.nonce,"authorization",i.max_age,i.state);if(!r.code){return e}}if(r.code){const t=await this.grant({...n,grant_type:"authorization_code",code:r.code,redirect_uri:e,code_verifier:i.code_verifier},{clientAssertionPayload:a});await this.decryptIdToken(t);await this.validateIdToken(t,i.nonce,"token",i.max_age);if(r.session_state){t.session_state=r.session_state}return t}return new w(r)}async oauthCallback(e,t,i={},{exchangeBody:n,clientAssertionPayload:a}={}){let r=pickCb(t);if(i.jarm&&!("response"in t)){throw new z({message:"expected a JARM response",checks:i,params:r})}else if("response"in t){const e=await this.decryptJARM(r.response);r=await this.validateJARM(e)}if(r.state&&!i.state){throw new TypeError("checks.state argument is missing")}if(!r.state&&i.state){throw new z({message:"state missing from the response",checks:i,params:r})}if(i.state!==r.state){throw new z({printf:["state mismatch, expected %s, got: %s",i.state,r.state],checks:i,params:r})}if(r.error){throw new v(r)}const s={code:["code"],token:["access_token","token_type"]};if(i.response_type){for(const e of i.response_type.split(" ")){if(e==="none"){if(r.code||r.id_token||r.access_token){throw new z({message:'unexpected params encountered for "none" response',checks:i,params:r})}}if(s[e]){for(const t of s[e]){if(!r[t]){throw new z({message:`${t} missing from response`,checks:i,params:r})}}}}}if(r.code){return this.grant({...n,grant_type:"authorization_code",code:r.code,redirect_uri:e,code_verifier:i.code_verifier},{clientAssertionPayload:a})}return new w(r)}async decryptIdToken(e){if(!this.id_token_encrypted_response_alg){return e}let t=e;if(t instanceof w){if(!t.id_token){throw new TypeError("id_token not present in TokenSet")}t=t.id_token}const i=this.id_token_encrypted_response_alg;const n=this.id_token_encrypted_response_enc;const a=await this.decryptJWE(t,i,n);if(e instanceof w){e.id_token=a;return e}return a}async validateJWTUserinfo(e){const t=this.userinfo_signed_response_alg;return this.validateJWT(e,t,[])}async decryptJARM(e){if(!this.authorization_encrypted_response_alg){return e}const t=this.authorization_encrypted_response_alg;const i=this.authorization_encrypted_response_enc;return this.decryptJWE(e,t,i)}async validateJARM(e){const t=this.authorization_signed_response_alg;const{payload:i}=await this.validateJWT(e,t,["iss","exp","aud"]);return pickCb(i)}async decryptJWTUserinfo(e){if(!this.userinfo_encrypted_response_alg){return e}const t=this.userinfo_encrypted_response_alg;const i=this.userinfo_encrypted_response_enc;return this.decryptJWE(e,t,i)}async decryptJWE(e,t,i="A128CBC-HS256"){const n=JSON.parse(p.decode(e.split(".")[0]));if(n.alg!==t){throw new z({printf:["unexpected JWE alg received, expected %s, got: %s",t,n.alg],jwt:e})}if(n.enc!==i){throw new z({printf:["unexpected JWE enc received, expected %s, got: %s",i,n.enc],jwt:e})}let a;if(t.match(/^(?:RSA|ECDH)/)){a=x(this).get("keystore")}else{a=await this.joseSecret(t==="dir"?i:t)}const r=d.JWE.decrypt(e,a);return r.toString("utf8")}async validateIdToken(e,t,i,n,a){let r=e;const s=this.id_token_signed_response_alg;const o=r instanceof w;if(o){if(!r.id_token){throw new TypeError("id_token not present in TokenSet")}r=r.id_token}r=String(r);const u=j();const{protected:l,payload:c,key:d}=await this.validateJWT(r,s);if(n||n!==null&&this.require_auth_time){if(!c.auth_time){throw new z({message:"missing required JWT property auth_time",jwt:r})}if(typeof c.auth_time!=="number"){throw new z({message:"JWT auth_time claim must be a JSON numeric value",jwt:r})}}if(n&&c.auth_time+n<u-this[E]){throw new z({printf:["too much time has elapsed since the last End-User authentication, max_age %i, auth_time: %i, now %i",n,c.auth_time,u-this[E]],now:u,tolerance:this[E],auth_time:c.auth_time,jwt:r})}if(t!==null&&(c.nonce||t!==undefined)&&c.nonce!==t){throw new z({printf:["nonce mismatch, expected %s, got: %s",t,c.nonce],jwt:r})}if(i==="authorization"){if(!c.at_hash&&e.access_token){throw new z({message:"missing required property at_hash",jwt:r})}if(!c.c_hash&&e.code){throw new z({message:"missing required property c_hash",jwt:r})}const t=this.constructor.name==="FAPIClient";if(t){if(c.iat<u-3600){throw new z({printf:["JWT issued too far in the past, now %i, iat %i",u,c.iat],now:u,tolerance:this[E],iat:c.iat,jwt:r})}if(!c.s_hash&&(e.state||a)){throw new z({message:"missing required property s_hash",jwt:r})}}if(c.s_hash){if(!a){throw new TypeError('cannot verify s_hash, "checks.state" property not provided')}try{f.validate({claim:"s_hash",source:"state"},c.s_hash,a,l.alg,d&&d.crv)}catch(e){throw new z({message:e.message,jwt:r})}}}if(e.access_token&&c.at_hash!==undefined){try{f.validate({claim:"at_hash",source:"access_token"},c.at_hash,e.access_token,l.alg,d&&d.crv)}catch(e){throw new z({message:e.message,jwt:r})}}if(e.code&&c.c_hash!==undefined){try{f.validate({claim:"c_hash",source:"code"},c.c_hash,e.code,l.alg,d&&d.crv)}catch(e){throw new z({message:e.message,jwt:r})}}return e}async validateJWT(e,i,n=["iss","sub","aud","exp","iat"]){const a=this.issuer.issuer==="https://self-issued.me";const r=j();let s;let u;try{({header:s,payload:u}=d.JWT.decode(e,{complete:true}))}catch(t){throw new z({printf:["failed to decode JWT (%s: %s)",t.name,t.message],jwt:e})}if(s.alg!==i){throw new z({printf:["unexpected JWT alg received, expected %s, got: %s",i,s.alg],jwt:e})}if(a){n=[...n,"sub_jwk"]}n.forEach(verifyPresence.bind(undefined,u,e));if(u.iss!==undefined){let i=this.issuer.issuer;if(t){i=this.issuer.issuer.replace("{tenantid}",u.tid)}if(u.iss!==i){throw new z({printf:["unexpected iss value, expected %s, got: %s",i,u.iss],jwt:e})}}if(u.iat!==undefined){if(typeof u.iat!=="number"){throw new z({message:"JWT iat claim must be a JSON numeric value",jwt:e})}}if(u.nbf!==undefined){if(typeof u.nbf!=="number"){throw new z({message:"JWT nbf claim must be a JSON numeric value",jwt:e})}if(u.nbf>r+this[E]){throw new z({printf:["JWT not active yet, now %i, nbf %i",r+this[E],u.nbf],now:r,tolerance:this[E],nbf:u.nbf,jwt:e})}}if(u.exp!==undefined){if(typeof u.exp!=="number"){throw new z({message:"JWT exp claim must be a JSON numeric value",jwt:e})}if(r-this[E]>=u.exp){throw new z({printf:["JWT expired, now %i, exp %i",r-this[E],u.exp],now:r,tolerance:this[E],exp:u.exp,jwt:e})}}if(u.aud!==undefined){if(Array.isArray(u.aud)){if(u.aud.length>1&&!u.azp){throw new z({message:"missing required JWT property azp",jwt:e})}if(!u.aud.includes(this.client_id)){throw new z({printf:["aud is missing the client_id, expected %s to be included in %j",this.client_id,u.aud],jwt:e})}}else if(u.aud!==this.client_id){throw new z({printf:["aud mismatch, expected %s, got: %s",this.client_id,u.aud],jwt:e})}}if(u.azp!==undefined){let{additionalAuthorizedParties:t}=x(this).get("options")||{};if(typeof t==="string"){t=[this.client_id,t]}else if(Array.isArray(t)){t=[this.client_id,...t]}else{t=[this.client_id]}if(!t.includes(u.azp)){throw new z({printf:["azp mismatch, got: %s",u.azp],jwt:e})}}let l;if(a){try{o(y(u.sub_jwk));l=d.JWK.asKey(u.sub_jwk);o.equal(l.type,"public")}catch(t){throw new z({message:"failed to use sub_jwk claim as an asymmetric JSON Web Key",jwt:e})}if(l.thumbprint!==u.sub){throw new z({message:"failed to match the subject with sub_jwk",jwt:e})}}else if(s.alg.startsWith("HS")){l=await this.joseSecret()}else if(s.alg!=="none"){l=await this.issuer.queryKeyStore(s)}if(!l&&s.alg==="none"){return{protected:s,payload:u}}try{return d.JWS.verify(e,l,{complete:true})}catch(t){throw new z({message:"failed to validate JWT signature",jwt:e})}}async refresh(e,{exchangeBody:t,clientAssertionPayload:i}={}){let n=e;if(n instanceof w){if(!n.refresh_token){throw new TypeError("refresh_token not present in TokenSet")}n=n.refresh_token}const a=await this.grant({...t,grant_type:"refresh_token",refresh_token:String(n)},{clientAssertionPayload:i});if(a.id_token){await this.decryptIdToken(a);await this.validateIdToken(a,null,"token",null);if(e instanceof w&&e.id_token){const t=e.claims().sub;const i=a.claims().sub;if(i!==t){throw new z({printf:["sub mismatch, expected %s, got: %s",t,i],jwt:a.id_token})}}}return a}async requestResource(e,t,{method:i,headers:n,body:a,tokenType:r=(t instanceof w?t.token_type:"Bearer")}={}){if(t instanceof w){if(!t.access_token){throw new TypeError("access_token not present in TokenSet")}t=t.access_token}const s={headers:{Authorization:authorizationHeaderValue(t,r),...n},body:a};const o=!!this.tls_client_certificate_bound_access_tokens;return k.call(this,{...s,encoding:null,method:i,url:e},{mTLS:o})}async userinfo(e,{verb:t="GET",via:i="header",tokenType:n,params:a}={}){b(this.issuer,"userinfo_endpoint");const r={tokenType:n,method:String(t).toUpperCase()};if(r.method!=="GET"&&r.method!=="POST"){throw new TypeError("#userinfo() verb can only be POST or a GET")}if(i==="query"&&r.method!=="GET"){throw new TypeError("userinfo endpoints will only parse query strings for GET requests")}else if(i==="body"&&r.method!=="POST"){throw new TypeError("can only send body on POST")}const s=!!(this.userinfo_signed_response_alg||this.userinfo_encrypted_response_alg);if(s){r.headers={Accept:"application/jwt"}}else{r.headers={Accept:"application/json"}}const u=!!this.tls_client_certificate_bound_access_tokens;let d;if(u&&this.issuer.mtls_endpoint_aliases){d=this.issuer.mtls_endpoint_aliases.userinfo_endpoint}d=new l.URL(d||this.issuer.userinfo_endpoint);if(i==="query"){r.headers.Authorization=undefined;d.searchParams.append("access_token",e instanceof w?e.access_token:e)}else if(i==="body"){r.headers.Authorization=undefined;r.headers["Content-Type"]="application/x-www-form-urlencoded";r.body=new l.URLSearchParams;r.body.append("access_token",e instanceof w?e.access_token:e)}if(a){if(r.method==="GET"){Object.entries(a).forEach(([e,t])=>{d.searchParams.append(e,t)})}else if(r.body){Object.entries(a).forEach(([e,t])=>{r.body.append(e,t)})}else{r.body=new l.URLSearchParams;r.headers["Content-Type"]="application/x-www-form-urlencoded";Object.entries(a).forEach(([e,t])=>{r.body.append(e,t)})}}if(r.body){r.body=r.body.toString()}const p=await this.requestResource(d,e,r);let f=S(p,{bearer:true});if(s){if(!R.test(p.headers["content-type"])){throw new z({message:"expected application/jwt response from the userinfo_endpoint",response:p})}const e=p.body.toString();const t=await this.decryptJWTUserinfo(e);if(!this.userinfo_signed_response_alg){try{f=JSON.parse(t);o(y(f))}catch(e){throw new z({message:"failed to parse userinfo JWE payload as JSON",jwt:t})}}else{({payload:f}=await this.validateJWTUserinfo(t))}}else{try{f=JSON.parse(p.body)}catch(e){const t=new c(e,p.statusCode,p.request.gotOptions,p.body);Object.defineProperty(t,"response",{value:p});throw t}}if(e instanceof w&&e.id_token){const t=e.claims().sub;if(f.sub!==t){throw new z({printf:["userinfo sub mismatch, expected %s, got: %s",t,f.sub],body:f,jwt:e.id_token})}}return f}async derivedKey(e){const t=`${e}_key`;if(x(this).has(t)){return x(this).get(t)}const i=e<=256?"sha256":e<=384?"sha384":e<=512?"sha512":false;if(!i){throw new Error("unsupported symmetric encryption key derivation")}const n=s.createHash(i).update(this.client_secret).digest().slice(0,e/8);const a=d.JWK.asKey({k:p.encode(n),kty:"oct"});x(this).set(t,a);return a}async joseSecret(e){if(!this.client_secret){throw new TypeError("client_secret is required")}if(/^A(\d{3})(?:GCM)?KW$/.test(e)){return this.derivedKey(parseInt(RegExp.$1,10))}if(/^A(\d{3})(?:GCM|CBC-HS(\d{3}))$/.test(e)){return this.derivedKey(parseInt(RegExp.$2||RegExp.$1,10))}if(x(this).has("jose_secret")){return x(this).get("jose_secret")}const t=d.JWK.asKey({k:p.encode(this.client_secret),kty:"oct"});x(this).set("jose_secret",t);return t}async grant(e,{clientAssertionPayload:t}={}){b(this.issuer,"token_endpoint");const i=await N.call(this,"token",{form:true,body:e,json:true},{clientAssertionPayload:t});const n=S(i);return new w(n)}async deviceAuthorization(e={},{exchangeBody:t,clientAssertionPayload:i}={}){b(this.issuer,"device_authorization_endpoint");b(this.issuer,"token_endpoint");const n=authorizationParams.call(this,{client_id:this.client_id,redirect_uri:null,response_type:null,...e});const a=await N.call(this,"device_authorization",{form:true,body:n,json:true},{clientAssertionPayload:i,endpointAuthMethod:"token"});const r=S(a);return new D({client:this,exchangeBody:t,clientAssertionPayload:i,response:r,maxAge:e.max_age})}async revoke(e,t,{revokeBody:i,clientAssertionPayload:n}={}){b(this.issuer,"revocation_endpoint");if(t!==undefined&&typeof t!=="string"){throw new TypeError("hint must be a string")}const a={...i,token:e};if(t){a.token_type_hint=t}const r=await N.call(this,"revocation",{body:a,form:true},{clientAssertionPayload:n});S(r,{body:false})}async introspect(e,t,{introspectBody:i,clientAssertionPayload:n}={}){b(this.issuer,"introspection_endpoint");if(t!==undefined&&typeof t!=="string"){throw new TypeError("hint must be a string")}const a={...i,token:e};if(t){a.token_type_hint=t}const r=await N.call(this,"introspection",{body:a,form:true,json:true},{clientAssertionPayload:n});const s=S(r);return s}async fetchDistributedClaims(e,t={}){if(!y(e)){throw new TypeError("claims argument must be a plain object")}if(!y(e._claim_sources)){return e}if(!y(e._claim_names)){return e}const i=Object.entries(e._claim_sources).filter(([,e])=>e&&e.endpoint);await Promise.all(i.map(async([i,n])=>{try{const a={headers:{Accept:"application/jwt",Authorization:authorizationHeaderValue(n.access_token||t[i])}};const r=await k.call(this,{...a,method:"GET",url:n.endpoint});const s=S(r,{bearer:true});const o=await claimJWT.call(this,"distributed",s);delete e._claim_sources[i];Object.entries(e._claim_names).forEach(assignClaim(e,o,i,false))}catch(e){e.src=i;throw e}}));cleanUpClaims(e);return e}async unpackAggregatedClaims(e){if(!y(e)){throw new TypeError("claims argument must be a plain object")}if(!y(e._claim_sources)){return e}if(!y(e._claim_names)){return e}const t=Object.entries(e._claim_sources).filter(([,e])=>e&&e.JWT);await Promise.all(t.map(async([t,i])=>{try{const n=await claimJWT.call(this,"aggregated",i.JWT);delete e._claim_sources[t];Object.entries(e._claim_names).forEach(assignClaim(e,n,t))}catch(e){e.src=t;throw e}}));cleanUpClaims(e);return e}static async register(e,t={}){const{initialAccessToken:i,jwks:n,...a}=t;b(this.issuer,"registration_endpoint");if(n!==undefined&&!(e.jwks||e.jwks_uri)){const t=getKeystore.call(this,n);e.jwks=t.toJWKS(false)}const r=await k.call(this,{headers:i?{Authorization:authorizationHeaderValue(i)}:undefined,json:true,body:e,url:this.issuer.registration_endpoint,method:"POST"});const s=S(r,{statusCode:201,bearer:true});return new this(s,n,a)}get metadata(){const e={};x(this).get("metadata").forEach((t,i)=>{e[i]=t});return e}static async fromUri(e,t,i,n){const a=await k.call(this,{method:"GET",url:e,json:true,headers:{Authorization:authorizationHeaderValue(t)}});const r=S(a,{bearer:true});return new this(r,i,n)}async requestObject(e={},{sign:t=this.request_object_signing_alg||"none",encrypt:{alg:i=this.request_object_encryption_alg,enc:n=this.request_object_encryption_enc||"A128CBC-HS256"}={}}={}){if(!y(e)){throw new TypeError("requestObject must be a plain object")}let a;let r;const s={alg:t,typ:"JWT"};const o=JSON.stringify(h({},e,{iss:this.client_id,aud:this.issuer.issuer,client_id:this.client_id,jti:O(),iat:j(),exp:j()+300}));if(t==="none"){a=[p.encode(JSON.stringify(s)),p.encode(o),""].join(".")}else{const e=t.startsWith("HS");if(e){r=await this.joseSecret()}else{const e=x(this).get("keystore");if(!e){throw new TypeError(`no keystore present for client, cannot sign using alg ${t}`)}r=e.get({alg:t,use:"sig"});if(!r){throw new TypeError(`no key to sign with found for alg ${t}`)}}a=d.JWS.sign(o,r,{...s,kid:e?undefined:r.kid})}if(!i){return a}const u={alg:i,enc:n,cty:"JWT"};if(u.alg.match(/^(RSA|ECDH)/)){[r]=await this.issuer.queryKeyStore({alg:u.alg,enc:u.enc,use:"enc"},{allowMulti:true})}else{r=await this.joseSecret(u.alg==="dir"?u.enc:u.alg)}return d.JWE.encrypt(a,r,{...u,kid:r.kty==="oct"?undefined:r.kid})}static get issuer(){return e}get issuer(){return e}[n.custom](){return`${this.constructor.name} ${n(this.metadata,{depth:Infinity,colors:process.stdout.isTTY,compact:false,sorted:true})}`}}));BaseClient.prototype.resource=a(async function resource(e,t,i){let n=t;const a={verb:"GET",via:"header",...i};if(n instanceof w){if(!n.access_token){throw new TypeError("access_token not present in TokenSet")}a.tokenType=a.tokenType||n.token_type;n=n.access_token}const r=String(a.verb).toUpperCase();let s;switch(a.via){case"query":if(r!=="GET"){throw new TypeError("resource servers should only parse query strings for GET requests")}s={query:{access_token:n}};break;case"body":if(r!=="POST"){throw new TypeError("can only send body on POST")}s={form:true,body:{access_token:n}};break;default:s={headers:{Authorization:authorizationHeaderValue(n,a.tokenType)}}}if(a.params){if(r==="POST"){I(s,{body:a.params})}else{I(s,{query:a.params})}}if(a.headers){I(s,{headers:a.headers})}const o=!!this.tls_client_certificate_bound_access_tokens;return k.call(this,{...s,encoding:null,method:r,url:e},{mTLS:o})},"client.resource() is deprecated, use client.requestResource() instead, see docs for API details");e.exports.BaseClient=BaseClient},function(e,t,i){"use strict";const n=i(413).PassThrough;const a=i(903);const r=i(89);e.exports=(e=>{if(["gzip","deflate"].indexOf(e.headers["content-encoding"])===-1){return e}const t=a.createUnzip();const i=new n;r(e,i);t.on("error",e=>{if(e.code==="Z_BUF_ERROR"){i.end();return}i.emit("error",e)});e.pipe(t).pipe(i);return i})},function(e,t,i){"use strict";var n=i(853),a=i(832),r=i(855),s=i(955),o=i(763);e.exports=resolve;resolve.normalizeId=normalizeId;resolve.fullPath=getFullPath;resolve.url=resolveUrl;resolve.ids=resolveIds;resolve.inlineRef=inlineRef;resolve.schema=resolveSchema;function resolve(e,t,i){var n=this._refs[i];if(typeof n=="string"){if(this._refs[n])n=this._refs[n];else return resolve.call(this,e,t,n)}n=n||this._schemas[i];if(n instanceof s){return inlineRef(n.schema,this._opts.inlineRefs)?n.schema:n.validate||this._compile(n)}var a=resolveSchema.call(this,t,i);var r,o,u;if(a){r=a.schema;t=a.root;u=a.baseId}if(r instanceof s){o=r.validate||e.call(this,r.schema,t,undefined,u)}else if(r!==undefined){o=inlineRef(r,this._opts.inlineRefs)?r:e.call(this,r,t,undefined,u)}return o}function resolveSchema(e,t){var i=n.parse(t),a=_getFullPath(i),r=getFullPath(this._getId(e.schema));if(Object.keys(e.schema).length===0||a!==r){var o=normalizeId(a);var u=this._refs[o];if(typeof u=="string"){return resolveRecursive.call(this,e,u,i)}else if(u instanceof s){if(!u.validate)this._compile(u);e=u}else{u=this._schemas[o];if(u instanceof s){if(!u.validate)this._compile(u);if(o==normalizeId(t))return{schema:u,root:e,baseId:r};e=u}else{return}}if(!e.schema)return;r=getFullPath(this._getId(e.schema))}return getJsonPointer.call(this,i,r,e.schema,e)}function resolveRecursive(e,t,i){var n=resolveSchema.call(this,e,t);if(n){var a=n.schema;var r=n.baseId;e=n.root;var s=this._getId(a);if(s)r=resolveUrl(r,s);return getJsonPointer.call(this,i,r,a,e)}}var u=r.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(e,t,i,n){e.fragment=e.fragment||"";if(e.fragment.slice(0,1)!="/")return;var a=e.fragment.split("/");for(var s=1;s<a.length;s++){var o=a[s];if(o){o=r.unescapeFragment(o);i=i[o];if(i===undefined)break;var l;if(!u[o]){l=this._getId(i);if(l)t=resolveUrl(t,l);if(i.$ref){var c=resolveUrl(t,i.$ref);var d=resolveSchema.call(this,n,c);if(d){i=d.schema;n=d.root;t=d.baseId}}}}}if(i!==undefined&&i!==n.schema)return{schema:i,root:n,baseId:t}}var l=r.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function inlineRef(e,t){if(t===false)return false;if(t===undefined||t===true)return checkNoRef(e);else if(t)return countKeys(e)<=t}function checkNoRef(e){var t;if(Array.isArray(e)){for(var i=0;i<e.length;i++){t=e[i];if(typeof t=="object"&&!checkNoRef(t))return false}}else{for(var n in e){if(n=="$ref")return false;t=e[n];if(typeof t=="object"&&!checkNoRef(t))return false}}return true}function countKeys(e){var t=0,i;if(Array.isArray(e)){for(var n=0;n<e.length;n++){i=e[n];if(typeof i=="object")t+=countKeys(i);if(t==Infinity)return Infinity}}else{for(var a in e){if(a=="$ref")return Infinity;if(l[a]){t++}else{i=e[a];if(typeof i=="object")t+=countKeys(i)+1;if(t==Infinity)return Infinity}}}return t}function getFullPath(e,t){if(t!==false)e=normalizeId(e);var i=n.parse(e);return _getFullPath(i)}function _getFullPath(e){return n.serialize(e).split("#")[0]+"#"}var c=/#\/?$/;function normalizeId(e){return e?e.replace(c,""):""}function resolveUrl(e,t){t=normalizeId(t);return n.resolve(e,t)}function resolveIds(e){var t=normalizeId(this._getId(e));var i={"":t};var s={"":getFullPath(t,false)};var u={};var l=this;o(e,{allKeys:true},function(e,t,o,c,d,p,f){if(t==="")return;var h=l._getId(e);var m=i[c];var b=s[c]+"/"+d;if(f!==undefined)b+="/"+(typeof f=="number"?f:r.escapeFragment(f));if(typeof h=="string"){h=m=normalizeId(m?n.resolve(m,h):h);var g=l._refs[h];if(typeof g=="string")g=l._refs[g];if(g&&g.schema){if(!a(e,g.schema))throw new Error('id "'+h+'" resolves to more than one schema')}else if(h!=normalizeId(b)){if(h[0]=="#"){if(u[h]&&!a(e,u[h]))throw new Error('id "'+h+'" resolves to more than one schema');u[h]=e}else{l._refs[h]=b}}}i[t]=m;s[t]=b});return u}},,,,function(e,t,i){e.exports={read:read,verify:verify,sign:sign,signAsync:signAsync,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(852);var l=i(502);var c=i(268);var d=i(378);var p=i(575);var f=i(966);var h=i(707);function readMPInt(e,t){n.strictEqual(e.peek(),a.Ber.Integer,t+" is not an Integer");return o.mpNormalize(e.readString(a.Ber.Integer,true))}function verify(e,t){var i=e.signatures.x509;n.object(i,"x509 signature");var r=i.algo.split("-");if(r[0]!==t.type)return false;var s=i.cache;if(s===undefined){var o=new a.BerWriter;writeTBSCert(e,o);s=o.buffer}var u=t.createVerify(r[1]);u.write(s);return u.verify(i.signature)}function Local(e){return a.Ber.Context|a.Ber.Constructor|e}function Context(e){return a.Ber.Context|e}var m={"rsa-md5":"1.2.840.113549.1.1.4","rsa-sha1":"1.2.840.113549.1.1.5","rsa-sha256":"1.2.840.113549.1.1.11","rsa-sha384":"1.2.840.113549.1.1.12","rsa-sha512":"1.2.840.113549.1.1.13","dsa-sha1":"1.2.840.10040.4.3","dsa-sha256":"2.16.840.1.101.3.4.3.2","ecdsa-sha1":"1.2.840.10045.4.1","ecdsa-sha256":"1.2.840.10045.4.3.2","ecdsa-sha384":"1.2.840.10045.4.3.3","ecdsa-sha512":"1.2.840.10045.4.3.4","ed25519-sha512":"1.3.101.112"};Object.keys(m).forEach(function(e){m[m[e]]=e});m["1.3.14.3.2.3"]="rsa-md5";m["1.3.14.3.2.29"]="rsa-sha1";var b={issuerKeyId:"2.5.29.35",altName:"2.5.29.17",basicConstraints:"2.5.29.19",keyUsage:"2.5.29.15",extKeyUsage:"2.5.29.37"};function read(e,t){if(typeof e==="string"){e=r.from(e,"binary")}n.buffer(e,"buf");var i=new a.BerReader(e);i.readSequence();if(Math.abs(i.length-i.remain)>1){throw new Error("DER sequence does not contain whole byte "+"stream")}var s=i.offset;i.readSequence();var o=i.offset+i.length;var u=o;if(i.peek()===Local(0)){i.readSequence(Local(0));var l=i.readInt();n.ok(l<=3,"only x.509 versions up to v3 supported")}var c={};c.signatures={};var b=c.signatures.x509={};b.extras={};c.serial=readMPInt(i,"serial");i.readSequence();var g=i.offset+i.length;var y=i.readOID();var S=m[y];if(S===undefined)throw new Error("unknown signature algorithm "+y);i._offset=g;c.issuer=d.parseAsn1(i);i.readSequence();c.validFrom=readDate(i);c.validUntil=readDate(i);c.subjects=[d.parseAsn1(i)];i.readSequence();g=i.offset+i.length;c.subjectKey=h.readPkcs8(undefined,"public",i);i._offset=g;if(i.peek()===Local(1)){i.readSequence(Local(1));b.extras.issuerUniqueID=e.slice(i.offset,i.offset+i.length);i._offset+=i.length}if(i.peek()===Local(2)){i.readSequence(Local(2));b.extras.subjectUniqueID=e.slice(i.offset,i.offset+i.length);i._offset+=i.length}if(i.peek()===Local(3)){i.readSequence(Local(3));var w=i.offset+i.length;i.readSequence();while(i.offset<w)readExtension(c,e,i);n.strictEqual(i.offset,w)}n.strictEqual(i.offset,o);i.readSequence();g=i.offset+i.length;var v=i.readOID();var z=m[v];if(z===undefined)throw new Error("unknown signature algorithm "+v);i._offset=g;var j=i.readString(a.Ber.BitString,true);if(j[0]===0)j=j.slice(1);var O=z.split("-");b.signature=p.parse(j,O[0],"asn1");b.signature.hashAlgorithm=O[1];b.algo=z;b.cache=e.slice(s,u);return new f(c)}function readDate(e){if(e.peek()===a.Ber.UTCTime){return utcTimeToDate(e.readString(a.Ber.UTCTime))}else if(e.peek()===a.Ber.GeneralizedTime){return gTimeToDate(e.readString(a.Ber.GeneralizedTime))}else{throw new Error("Unsupported date format")}}function writeDate(e,t){if(t.getUTCFullYear()>=2050||t.getUTCFullYear()<1950){e.writeString(dateToGTime(t),a.Ber.GeneralizedTime)}else{e.writeString(dateToUTCTime(t),a.Ber.UTCTime)}}var g={OtherName:Local(0),RFC822Name:Context(1),DNSName:Context(2),X400Address:Local(3),DirectoryName:Local(4),EDIPartyName:Local(5),URI:Context(6),IPAddress:Context(7),OID:Context(8)};var y={serverAuth:"1.3.6.1.5.5.7.3.1",clientAuth:"1.3.6.1.5.5.7.3.2",codeSigning:"1.3.6.1.5.5.7.3.3",joyentDocker:"1.3.6.1.4.1.38678.1.4.1",joyentCmon:"1.3.6.1.4.1.38678.1.4.2"};var S={};Object.keys(y).forEach(function(e){S[y[e]]=e});var w=["signature","identity","keyEncryption","encryption","keyAgreement","ca","crl"];function readExtension(e,t,i){i.readSequence();var n=i.offset+i.length;var r=i.readOID();var s;var o=e.signatures.x509;if(!o.extras.exts)o.extras.exts=[];var u;if(i.peek()===a.Ber.Boolean)u=i.readBoolean();switch(r){case b.basicConstraints:i.readSequence(a.Ber.OctetString);i.readSequence();var l=i.offset+i.length;var c=false;if(i.peek()===a.Ber.Boolean)c=i.readBoolean();if(e.purposes===undefined)e.purposes=[];if(c===true)e.purposes.push("ca");var p={oid:r,critical:u};if(i.offset<l&&i.peek()===a.Ber.Integer)p.pathLen=i.readInt();o.extras.exts.push(p);break;case b.extKeyUsage:i.readSequence(a.Ber.OctetString);i.readSequence();if(e.purposes===undefined)e.purposes=[];var f=i.offset+i.length;while(i.offset<f){var h=i.readOID();e.purposes.push(S[h]||h)}if(e.purposes.indexOf("serverAuth")!==-1&&e.purposes.indexOf("clientAuth")===-1){e.subjects.forEach(function(e){if(e.type!=="host"){e.type="host";e.hostname=e.uid||e.email||e.components[0].value}})}else if(e.purposes.indexOf("clientAuth")!==-1&&e.purposes.indexOf("serverAuth")===-1){e.subjects.forEach(function(e){if(e.type!=="user"){e.type="user";e.uid=e.hostname||e.email||e.components[0].value}})}o.extras.exts.push({oid:r,critical:u});break;case b.keyUsage:i.readSequence(a.Ber.OctetString);var m=i.readString(a.Ber.BitString,true);var y=readBitField(m,w);y.forEach(function(t){if(e.purposes===undefined)e.purposes=[];if(e.purposes.indexOf(t)===-1)e.purposes.push(t)});o.extras.exts.push({oid:r,critical:u,bits:m});break;case b.altName:i.readSequence(a.Ber.OctetString);i.readSequence();var v=i.offset+i.length;while(i.offset<v){switch(i.peek()){case g.OtherName:case g.EDIPartyName:i.readSequence();i._offset+=i.length;break;case g.OID:i.readOID(g.OID);break;case g.RFC822Name:var z=i.readString(g.RFC822Name);s=d.forEmail(z);if(!e.subjects[0].equals(s))e.subjects.push(s);break;case g.DirectoryName:i.readSequence(g.DirectoryName);s=d.parseAsn1(i);if(!e.subjects[0].equals(s))e.subjects.push(s);break;case g.DNSName:var j=i.readString(g.DNSName);s=d.forHost(j);if(!e.subjects[0].equals(s))e.subjects.push(s);break;default:i.readString(i.peek());break}}o.extras.exts.push({oid:r,critical:u});break;default:o.extras.exts.push({oid:r,critical:u,data:i.readString(a.Ber.OctetString,true)});break}i._offset=n}var v=/^([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})?Z$/;function utcTimeToDate(e){var t=e.match(v);n.ok(t,"timestamps must be in UTC");var i=new Date;var a=i.getUTCFullYear();var r=Math.floor(a/100)*100;var s=parseInt(t[1],10);if(a%100<50&&s>=60)s+=r-1;else s+=r;i.setUTCFullYear(s,parseInt(t[2],10)-1,parseInt(t[3],10));i.setUTCHours(parseInt(t[4],10),parseInt(t[5],10));if(t[6]&&t[6].length>0)i.setUTCSeconds(parseInt(t[6],10));return i}var z=/^([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})?Z$/;function gTimeToDate(e){var t=e.match(z);n.ok(t);var i=new Date;i.setUTCFullYear(parseInt(t[1],10),parseInt(t[2],10)-1,parseInt(t[3],10));i.setUTCHours(parseInt(t[4],10),parseInt(t[5],10));if(t[6]&&t[6].length>0)i.setUTCSeconds(parseInt(t[6],10));return i}function zeroPad(e,t){if(t===undefined)t=2;var i=""+e;while(i.length<t)i="0"+i;return i}function dateToUTCTime(e){var t="";t+=zeroPad(e.getUTCFullYear()%100);t+=zeroPad(e.getUTCMonth()+1);t+=zeroPad(e.getUTCDate());t+=zeroPad(e.getUTCHours());t+=zeroPad(e.getUTCMinutes());t+=zeroPad(e.getUTCSeconds());t+="Z";return t}function dateToGTime(e){var t="";t+=zeroPad(e.getUTCFullYear(),4);t+=zeroPad(e.getUTCMonth()+1);t+=zeroPad(e.getUTCDate());t+=zeroPad(e.getUTCHours());t+=zeroPad(e.getUTCMinutes());t+=zeroPad(e.getUTCSeconds());t+="Z";return t}function sign(e,t){if(e.signatures.x509===undefined)e.signatures.x509={};var i=e.signatures.x509;i.algo=t.type+"-"+t.defaultHashAlgorithm();if(m[i.algo]===undefined)return false;var n=new a.BerWriter;writeTBSCert(e,n);var r=n.buffer;i.cache=r;var s=t.createSign();s.write(r);e.signatures.x509.signature=s.sign();return true}function signAsync(e,t,i){if(e.signatures.x509===undefined)e.signatures.x509={};var n=e.signatures.x509;var r=new a.BerWriter;writeTBSCert(e,r);var s=r.buffer;n.cache=s;t(s,function(e,t){if(e){i(e);return}n.algo=t.type+"-"+t.hashAlgorithm;if(m[n.algo]===undefined){i(new Error('Invalid signing algorithm "'+n.algo+'"'));return}n.signature=t;i()})}function write(e,t){var i=e.signatures.x509;n.object(i,"x509 signature");var s=new a.BerWriter;s.startSequence();if(i.cache){s._ensure(i.cache.length);i.cache.copy(s._buf,s._offset);s._offset+=i.cache.length}else{writeTBSCert(e,s)}s.startSequence();s.writeOID(m[i.algo]);if(i.algo.match(/^rsa-/))s.writeNull();s.endSequence();var o=i.signature.toBuffer("asn1");var u=r.alloc(o.length+1);u[0]=0;o.copy(u,1);s.writeBuffer(u,a.Ber.BitString);s.endSequence();return s.buffer}function writeTBSCert(e,t){var i=e.signatures.x509;n.object(i,"x509 signature");t.startSequence();t.startSequence(Local(0));t.writeInt(2);t.endSequence();t.writeBuffer(o.mpNormalize(e.serial),a.Ber.Integer);t.startSequence();t.writeOID(m[i.algo]);if(i.algo.match(/^rsa-/))t.writeNull();t.endSequence();e.issuer.toAsn1(t);t.startSequence();writeDate(t,e.validFrom);writeDate(t,e.validUntil);t.endSequence();var r=e.subjects[0];var s=e.subjects.slice(1);r.toAsn1(t);h.writePkcs8(t,e.subjectKey);if(i.extras&&i.extras.issuerUniqueID){t.writeBuffer(i.extras.issuerUniqueID,Local(1))}if(i.extras&&i.extras.subjectUniqueID){t.writeBuffer(i.extras.subjectUniqueID,Local(2))}if(s.length>0||r.type==="host"||e.purposes!==undefined&&e.purposes.length>0||i.extras&&i.extras.exts){t.startSequence(Local(3));t.startSequence();var u=[];if(e.purposes!==undefined&&e.purposes.length>0){u.push({oid:b.basicConstraints,critical:true});u.push({oid:b.keyUsage,critical:true});u.push({oid:b.extKeyUsage,critical:true})}u.push({oid:b.altName});if(i.extras&&i.extras.exts)u=i.extras.exts;for(var l=0;l<u.length;++l){t.startSequence();t.writeOID(u[l].oid);if(u[l].critical!==undefined)t.writeBoolean(u[l].critical);if(u[l].oid===b.altName){t.startSequence(a.Ber.OctetString);t.startSequence();if(r.type==="host"){t.writeString(r.hostname,Context(2))}for(var c=0;c<s.length;++c){if(s[c].type==="host"){t.writeString(s[c].hostname,g.DNSName)}else if(s[c].type==="email"){t.writeString(s[c].email,g.RFC822Name)}else{t.startSequence(g.DirectoryName);s[c].toAsn1(t);t.endSequence()}}t.endSequence();t.endSequence()}else if(u[l].oid===b.basicConstraints){t.startSequence(a.Ber.OctetString);t.startSequence();var d=e.purposes.indexOf("ca")!==-1;var p=u[l].pathLen;t.writeBoolean(d);if(p!==undefined)t.writeInt(p);t.endSequence();t.endSequence()}else if(u[l].oid===b.extKeyUsage){t.startSequence(a.Ber.OctetString);t.startSequence();e.purposes.forEach(function(e){if(e==="ca")return;if(w.indexOf(e)!==-1)return;var i=e;if(y[e]!==undefined)i=y[e];t.writeOID(i)});t.endSequence();t.endSequence()}else if(u[l].oid===b.keyUsage){t.startSequence(a.Ber.OctetString);if(u[l].bits!==undefined){t.writeBuffer(u[l].bits,a.Ber.BitString)}else{var f=writeBitField(e.purposes,w);t.writeBuffer(f,a.Ber.BitString)}t.endSequence()}else{t.writeBuffer(u[l].data,a.Ber.OctetString)}t.endSequence()}t.endSequence();t.endSequence()}t.endSequence()}function readBitField(e,t){var i=8*(e.length-1)-e[0];var n={};for(var a=0;a<i;++a){var r=1+Math.floor(a/8);var s=7-a%8;var o=1<<s;var u=(e[r]&o)!==0;var l=t[a];if(u&&typeof l==="string"){n[l]=true}}return Object.keys(n)}function writeBitField(e,t){var i=t.length;var n=Math.ceil(i/8);var a=n*8-i;var s=r.alloc(1+n);s[0]=a;for(var o=0;o<i;++o){var u=1+Math.floor(o/8);var l=7-o%8;var c=1<<l;var d=t[o];if(d===undefined)continue;var p=e.indexOf(d)!==-1;if(p){s[u]|=c}}return s}},function(e){"use strict";var t=function isMergeableObject(e){return isNonNullObject(e)&&!isSpecial(e)};function isNonNullObject(e){return!!e&&typeof e==="object"}function isSpecial(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||isReactElement(e)}var i=typeof Symbol==="function"&&Symbol.for;var n=i?Symbol.for("react.element"):60103;function isReactElement(e){return e.$$typeof===n}function emptyTarget(e){return Array.isArray(e)?[]:{}}function cloneUnlessOtherwiseSpecified(e,t){return t.clone!==false&&t.isMergeableObject(e)?deepmerge(emptyTarget(e),e,t):e}function defaultArrayMerge(e,t,i){return e.concat(t).map(function(e){return cloneUnlessOtherwiseSpecified(e,i)})}function getMergeFunction(e,t){if(!t.customMerge){return deepmerge}var i=t.customMerge(e);return typeof i==="function"?i:deepmerge}function getEnumerableOwnPropertySymbols(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}function getKeys(e){return Object.keys(e).concat(getEnumerableOwnPropertySymbols(e))}function propertyIsOnObject(e,t){try{return t in e}catch(e){return false}}function propertyIsUnsafe(e,t){return propertyIsOnObject(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function mergeObject(e,t,i){var n={};if(i.isMergeableObject(e)){getKeys(e).forEach(function(t){n[t]=cloneUnlessOtherwiseSpecified(e[t],i)})}getKeys(t).forEach(function(a){if(propertyIsUnsafe(e,a)){return}if(propertyIsOnObject(e,a)&&i.isMergeableObject(t[a])){n[a]=getMergeFunction(a,i)(e[a],t[a],i)}else{n[a]=cloneUnlessOtherwiseSpecified(t[a],i)}});return n}function deepmerge(e,i,n){n=n||{};n.arrayMerge=n.arrayMerge||defaultArrayMerge;n.isMergeableObject=n.isMergeableObject||t;n.cloneUnlessOtherwiseSpecified=cloneUnlessOtherwiseSpecified;var a=Array.isArray(i);var r=Array.isArray(e);var s=a===r;if(!s){return cloneUnlessOtherwiseSpecified(i,n)}else if(a){return n.arrayMerge(e,i,n)}else{return mergeObject(e,i,n)}}deepmerge.all=function deepmergeAll(e,t){if(!Array.isArray(e)){throw new Error("first argument should be an array")}return e.reduce(function(e,i){return deepmerge(e,i,t)},{})};var a=deepmerge;e.exports=a},function(e,t,i){const n=i(418)("kubernetes-client");e.exports={Client:i(985).Client,Client1_13:i(985).Client1_13,alias:i(198),config:i(264),KubeConfig:i(314)};n.property(e.exports,"config","require('kubernetes-client').config,"+" use require('kubernetes-client/backends/request').config.")},,function(e,t,i){e=i.nmd(e);(function(i){var n=true&&t;var a=true&&e&&e.exports==n&&e;var r=typeof global=="object"&&global;if(r.global===r||r.window===r){i=r}var s=function(e){this.message=e};s.prototype=new Error;s.prototype.name="InvalidCharacterError";var o=function(e){throw new s(e)};var u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var l=/[\t\n\f\r ]/g;var c=function(e){e=String(e).replace(l,"");var t=e.length;if(t%4==0){e=e.replace(/==?$/,"");t=e.length}if(t%4==1||/[^+a-zA-Z0-9/]/.test(e)){o("Invalid character: the string to be decoded is not correctly encoded.")}var i=0;var n;var a;var r="";var s=-1;while(++s<t){a=u.indexOf(e.charAt(s));n=i%4?n*64+a:a;if(i++%4){r+=String.fromCharCode(255&n>>(-2*i&6))}}return r};var d=function(e){e=String(e);if(/[^\0-\xFF]/.test(e)){o("The string to be encoded contains characters outside of the "+"Latin1 range.")}var t=e.length%3;var i="";var n=-1;var a;var r;var s;var l;var c;var d=e.length-t;while(++n<d){a=e.charCodeAt(n)<<16;r=e.charCodeAt(++n)<<8;s=e.charCodeAt(++n);c=a+r+s;i+=u.charAt(c>>18&63)+u.charAt(c>>12&63)+u.charAt(c>>6&63)+u.charAt(c&63)}if(t==2){a=e.charCodeAt(n)<<8;r=e.charCodeAt(++n);c=a+r;i+=u.charAt(c>>10)+u.charAt(c>>4&63)+u.charAt(c<<2&63)+"="}else if(t==1){c=e.charCodeAt(n);i+=u.charAt(c>>2)+u.charAt(c<<4&63)+"=="}return i};var p={encode:d,decode:c,version:"0.1.0"};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){define(function(){return p})}else if(n&&!n.nodeType){if(a){a.exports=p}else{for(var f in p){p.hasOwnProperty(f)&&(n[f]=p[f])}}}else{i.base64=p}})(this)},,function(e,t,i){var n=i(357);var a=i(413).Stream;var r=i(669);var s=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;function _capitalize(e){return e.charAt(0).toUpperCase()+e.slice(1)}function _toss(e,t,i,a,s){throw new n.AssertionError({message:r.format("%s (%s) is required",e,t),actual:s===undefined?typeof a:s(a),expected:t,operator:i||"===",stackStartFunction:_toss.caller})}function _getClass(e){return Object.prototype.toString.call(e).slice(8,-1)}function noop(){}var o={bool:{check:function(e){return typeof e==="boolean"}},func:{check:function(e){return typeof e==="function"}},string:{check:function(e){return typeof e==="string"}},object:{check:function(e){return typeof e==="object"&&e!==null}},number:{check:function(e){return typeof e==="number"&&!isNaN(e)}},finite:{check:function(e){return typeof e==="number"&&!isNaN(e)&&isFinite(e)}},buffer:{check:function(e){return Buffer.isBuffer(e)},operator:"Buffer.isBuffer"},array:{check:function(e){return Array.isArray(e)},operator:"Array.isArray"},stream:{check:function(e){return e instanceof a},operator:"instanceof",actual:_getClass},date:{check:function(e){return e instanceof Date},operator:"instanceof",actual:_getClass},regexp:{check:function(e){return e instanceof RegExp},operator:"instanceof",actual:_getClass},uuid:{check:function(e){return typeof e==="string"&&s.test(e)},operator:"isUUID"}};function _setExports(e){var t=Object.keys(o);var i;if(process.env.NODE_NDEBUG){i=noop}else{i=function(e,t){if(!e){_toss(t,"true",e)}}}t.forEach(function(t){if(e){i[t]=noop;return}var n=o[t];i[t]=function(e,i){if(!n.check(e)){_toss(i,t,n.operator,e,n.actual)}}});t.forEach(function(t){var n="optional"+_capitalize(t);if(e){i[n]=noop;return}var a=o[t];i[n]=function(e,i){if(e===undefined||e===null){return}if(!a.check(e)){_toss(i,t,a.operator,e,a.actual)}}});t.forEach(function(t){var n="arrayOf"+_capitalize(t);if(e){i[n]=noop;return}var a=o[t];var r="["+t+"]";i[n]=function(e,t){if(!Array.isArray(e)){_toss(t,r,a.operator,e,a.actual)}var i;for(i=0;i<e.length;i++){if(!a.check(e[i])){_toss(t,r,a.operator,e,a.actual)}}}});t.forEach(function(t){var n="optionalArrayOf"+_capitalize(t);if(e){i[n]=noop;return}var a=o[t];var r="["+t+"]";i[n]=function(e,t){if(e===undefined||e===null){return}if(!Array.isArray(e)){_toss(t,r,a.operator,e,a.actual)}var i;for(i=0;i<e.length;i++){if(!a.check(e[i])){_toss(t,r,a.operator,e,a.actual)}}}});Object.keys(n).forEach(function(t){if(t==="AssertionError"){i[t]=n[t];return}if(e){i[t]=noop;return}i[t]=n[t]});i._setExports=_setExports;return i}e.exports=_setExports(process.env.NODE_NDEBUG)},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(65);const a=(e,t,i)=>new n(e,i).compare(new n(t,i));e.exports=a},,function(e,t,i){const n=i(976);e.exports={re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:i(181).SEMVER_SPEC_VERSION,SemVer:i(65),compareIdentifiers:i(760).compareIdentifiers,rcompareIdentifiers:i(760).rcompareIdentifiers,parse:i(830),valid:i(714),clean:i(503),inc:i(928),diff:i(822),major:i(744),minor:i(803),patch:i(489),prerelease:i(968),compare:i(874),rcompare:i(630),compareLoose:i(283),compareBuild:i(16),sort:i(120),rsort:i(593),gt:i(486),lt:i(586),eq:i(298),neq:i(873),gte:i(167),lte:i(898),cmp:i(752),coerce:i(499),Comparator:i(174),Range:i(124),satisfies:i(310),toComparators:i(219),maxSatisfying:i(811),minSatisfying:i(740),minVersion:i(164),validRange:i(480),outside:i(462),gtr:i(531),ltr:i(323),intersects:i(259),simplifyRange:i(877),subset:i(999)}},function(e,t,i){const n=i(310);const a=i(874);e.exports=((e,t,i)=>{const r=[];let s=null;let o=null;const u=e.sort((e,t)=>a(e,t,i));for(const e of u){const a=n(e,t,i);if(a){o=e;if(!s)s=e}else{if(o){r.push([s,o])}o=null;s=null}}if(s)r.push([s,null]);const l=[];for(const[e,t]of r){if(e===t)l.push(e);else if(!t&&e===u[0])l.push("*");else if(!t)l.push(`>=${e}`);else if(e===u[0])l.push(`<=${t}`);else l.push(`${e} - ${t}`)}const c=l.join(" || ");const d=typeof t.raw==="string"?t.raw:String(t);return c.length<d.length?c:t})},function(e,t,i){"use strict";var n=i(374);var a=i(35);var r=i(810);var s=r.paramsHaveRequestBody;function initParams(e,t,i){if(typeof t==="function"){i=t}var a={};if(t!==null&&typeof t==="object"){n(a,t,{uri:e})}else if(typeof e==="string"){n(a,{uri:e})}else{n(a,e)}a.callback=i||a.callback;return a}function request(e,t,i){if(typeof e==="undefined"){throw new Error("undefined is not a valid uri or options object.")}var n=initParams(e,t,i);if(n.method==="HEAD"&&s(n)){throw new Error("HTTP HEAD requests MUST NOT include a request body.")}return new request.Request(n)}function verbFunc(e){var t=e.toUpperCase();return function(e,i,n){var a=initParams(e,i,n);a.method=t;return request(a,a.callback)}}request.get=verbFunc("get");request.head=verbFunc("head");request.options=verbFunc("options");request.post=verbFunc("post");request.put=verbFunc("put");request.patch=verbFunc("patch");request.del=verbFunc("delete");request["delete"]=verbFunc("delete");request.jar=function(e){return a.jar(e)};request.cookie=function(e){return a.parse(e)};function wrapRequestMethod(e,t,i,a){return function(r,s,o){var u=initParams(r,s,o);var l={};n(true,l,t,u);l.pool=u.pool||t.pool;if(a){l.method=a.toUpperCase()}if(typeof i==="function"){e=i}return e(l,l.callback)}}request.defaults=function(e,t){var i=this;e=e||{};if(typeof e==="function"){t=e;e={}}var n=wrapRequestMethod(i,e,t);var a=["get","head","post","put","patch","del","delete"];a.forEach(function(a){n[a]=wrapRequestMethod(i[a],e,t,a)});n.cookie=wrapRequestMethod(i.cookie,e,t);n.jar=i.jar;n.defaults=i.defaults;return n};request.forever=function(e,t){var i={};if(t){n(i,t)}if(e){i.agentOptions=e}i.forever=true;return request.defaults(i)};e.exports=request;request.Request=i(455);request.initParams=initParams;Object.defineProperty(request,"debug",{enumerable:true,get:function(){return request.Request.debug},set:function(e){request.Request.debug=e}})},function(e,t,i){"use strict";const n=i(534);e.exports=function deepFreeze(e){for(const[t,i]of Object.entries(e)){if(n.plainObject(i)||n.array(i)){deepFreeze(e[t])}}return Object.freeze(e)}},function(e){const t=new WeakMap;e.exports=(e=>{if(!t.has(e)){t.set(e,new Map([["metadata",new Map]]))}return t.get(e)})},function(e,t,i){"use strict";var n=i(855);var a=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;var r=[0,31,28,31,30,31,30,31,31,30,31,30,31];var s=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;var o=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i;var u=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var l=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var c=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var d=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var p=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var f=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var h=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var m=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;e.exports=formats;function formats(e){e=e=="full"?"full":"fast";return n.copy(formats[e])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":c,url:d,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:o,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:p,"json-pointer":f,"json-pointer-uri-fragment":h,"relative-json-pointer":m};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":l,"uri-template":c,url:d,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:o,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:p,"json-pointer":f,"json-pointer-uri-fragment":h,"relative-json-pointer":m};function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}function date(e){var t=e.match(a);if(!t)return false;var i=+t[1];var n=+t[2];var s=+t[3];return n>=1&&n<=12&&s>=1&&s<=(n==2&&isLeapYear(i)?29:r[n])}function time(e,t){var i=e.match(s);if(!i)return false;var n=i[1];var a=i[2];var r=i[3];var o=i[5];return(n<=23&&a<=59&&r<=59||n==23&&a==59&&r==60)&&(!t||o)}var b=/t|\s/i;function date_time(e){var t=e.split(b);return t.length==2&&date(t[0])&&time(t[1],true)}var g=/\/|:/;function uri(e){return g.test(e)&&u.test(e)}var y=/[^\\]\\Z/;function regex(e){if(y.test(e))return false;try{new RegExp(e);return true}catch(e){return false}}},,function(e){e.exports={$id:"header.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"},comment:{type:"string"}}}},function(e,t,i){const n=i(663);const a=new Map;const r=n.define("AlgorithmIdentifier",i(996));a.set("AlgorithmIdentifier",r);const s=n.define("ECPrivateKey",i(401));a.set("ECPrivateKey",s);const o=n.define("PrivateKeyInfo",i(83)(r));a.set("PrivateKeyInfo",o);const u=n.define("PublicKeyInfo",i(69)(r));a.set("PublicKeyInfo",u);const l=n.define("PrivateKey",i(816));a.set("PrivateKey",l);const c=n.define("OneAsymmetricKey",i(481)(r,l));a.set("OneAsymmetricKey",c);const d=n.define("RSAPrivateKey",i(807));a.set("RSAPrivateKey",d);const p=n.define("RSAPublicKey",i(252));a.set("RSAPublicKey",p);e.exports=a},function(e){"use strict";const t=Symbol("kDone");const i=Symbol("kRun");class Limiter{constructor(e){this[t]=(()=>{this.pending--;this[i]()});this.concurrency=e||Infinity;this.jobs=[];this.pending=0}add(e){this.jobs.push(e);this[i]()}[i](){if(this.pending===this.concurrency)return;if(this.jobs.length){const e=this.jobs.shift();this.pending++;e(this[t])}}}e.exports=Limiter},function(e,t,i){var n=i(373);var a=i(242).BigInteger;var r=i(729).ECPointFp;var s=i(215).Buffer;t.ECCurves=i(959);function unstupid(e,t){return e.length>=t?e:unstupid("0"+e,t)}t.ECKey=function(e,t,i){var r;var o=e();var u=o.getN();var l=Math.floor(u.bitLength()/8);if(t){if(i){var e=o.getCurve();this.P=e.decodePointHex(t.toString("hex"))}else{if(t.length!=l)return false;r=new a(t.toString("hex"),16)}}else{var c=u.subtract(a.ONE);var d=new a(n.randomBytes(u.bitLength()));r=d.mod(c).add(a.ONE);this.P=o.getG().multiply(r)}if(this.P){this.PublicKey=s.from(o.getCurve().encodeCompressedPointHex(this.P),"hex")}if(r){this.PrivateKey=s.from(unstupid(r.toString(16),l*2),"hex");this.deriveSharedSecret=function(e){if(!e||!e.P)return false;var t=e.P.multiply(r);return s.from(unstupid(t.getX().toBigInteger().toString(16),l*2),"hex")}}}},function(e,t,i){var n=i(357);var a=i(669);t.sprintf=jsSprintf;t.printf=jsPrintf;t.fprintf=jsFprintf;function jsSprintf(e){var t=["([^%]*)","%","(['\\-+ #0]*?)","([1-9]\\d*)?","(\\.([1-9]\\d*))?","[lhjztL]*?","([diouxXfFeEgGaAcCsSp%jr])"].join("");var i=new RegExp(t);var r=Array.prototype.slice.call(arguments,1);var s=e;var o,u,l,c;var d,p,f,h,m;var b="";var g=1;var y=0;var S;var w;n.equal("string",typeof s,"first argument must be a format string");while((m=i.exec(s))!==null){b+=m[1];s=s.substring(m[0].length);w=m[0].substring(m[1].length);S=y+m[1].length+1;y+=m[0].length;o=m[2]||"";u=m[3]||0;l=m[4]||"";c=m[6];d=false;f=false;p=" ";if(c=="%"){b+="%";continue}if(r.length===0){throw jsError(e,S,w,"has no matching argument "+"(too few arguments passed)")}h=r.shift();g++;if(o.match(/[\' #]/)){throw jsError(e,S,w,"uses unsupported flags")}if(l.length>0){throw jsError(e,S,w,"uses non-zero precision (not supported)")}if(o.match(/-/))d=true;if(o.match(/0/))p="0";if(o.match(/\+/))f=true;switch(c){case"s":if(h===undefined||h===null){throw jsError(e,S,w,"attempted to print undefined or null "+"as a string (argument "+g+" to "+"sprintf)")}b+=doPad(p,u,d,h.toString());break;case"d":h=Math.floor(h);case"f":f=f&&h>0?"+":"";b+=f+doPad(p,u,d,h.toString());break;case"x":b+=doPad(p,u,d,h.toString(16));break;case"j":if(u===0)u=10;b+=a.inspect(h,false,u);break;case"r":b+=dumpException(h);break;default:throw jsError(e,S,w,"is not supported")}}b+=s;return b}function jsError(e,t,i,a){n.equal(typeof e,"string");n.equal(typeof i,"string");n.equal(typeof t,"number");n.equal(typeof a,"string");return new Error('format string "'+e+'": conversion specifier "'+i+'" at character '+t+" "+a)}function jsPrintf(){var e=Array.prototype.slice.call(arguments);e.unshift(process.stdout);jsFprintf.apply(null,e)}function jsFprintf(e){var t=Array.prototype.slice.call(arguments,1);return e.write(jsSprintf.apply(this,t))}function doPad(e,t,i,n){var a=n;while(a.length<t){if(i)a+=e;else a=e+a}return a}function dumpException(e){var t;if(!(e instanceof Error))throw new Error(jsSprintf("invalid type for %%r: %j",e));t="EXCEPTION: "+e.constructor.name+": "+e.stack;if(e.cause&&typeof e.cause==="function"){var i=e.cause();if(i){t+="\nCaused by: "+dumpException(i)}}return t}},,function(e,t,i){"use strict";const n=i(129).spawnSync;function getProperty(e,t){if(e.match(/^\./)){e=e.replace(/^\./,"")}const i=e.split(".");const n=i.length;let a=t||this;for(let e=0;e<n;e++){a=a[i[e]]}return a}e.exports={refresh:function(e){return new Promise((t,i)=>{const a=e["cmd-path"];const r=e["cmd-args"].split(" ");const s=e["cmd-env"];let o;if(process.platform==="win32"){o=n(a,r,{env:Object.assign({},process.env,s),windowsHide:true,shell:true})}else{o=n(a,r,{env:Object.assign({},process.env,s),windowsHide:true})}let u;try{u=JSON.parse(o.stdout.toString("utf8"))}catch(e){return i(new Error("Failed to run cmd."))}const l=getProperty(e["token-key"].replace(/[{}]+/g,""),u);return t(l)})}}},function(e,t,i){var n=i(602);var a=i(747);n.register("head",_head,{canReceivePipe:true,cmdOptions:{n:"numLines"}});function readSomeLines(e,t){var i=n.buffer();var r=i.length;var s=r;var o=0;var u=a.openSync(e,"r");var l=0;var c="";while(s===r&&l<t){s=a.readSync(u,i,0,r,o);var d=i.toString("utf8",0,s);l+=d.split("\n").length-1;c+=d;o+=s}a.closeSync(u);return c}function _head(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}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;if(t==="-"){s=r}else if(e.numLines<0){s=a.readFileSync(t,"utf8")}else{s=readSomeLines(t,e.numLines)}var u=s.split("\n");var l=u[u.length-1]==="";if(l){u.pop()}o=l||e.numLines<u.length;i=i.concat(u.slice(0,e.numLines))});if(o){i.push("")}return i.join("\n")}e.exports=_head},function(e){(function(t,i){true?e.exports=i():undefined})(this,function(){var e=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{};var t=Array.prototype,i=Object.prototype;var n=typeof Symbol!=="undefined"?Symbol.prototype:null;var a=t.push,r=t.slice,s=i.toString,o=i.hasOwnProperty;var u=Array.isArray,l=Object.keys,c=Object.create;var d=e.isNaN,p=e.isFinite;var f=function(){};function _(e){if(e instanceof _)return e;if(!(this instanceof _))return new _(e);this._wrapped=e}var h=_.VERSION="1.10.2";function optimizeCb(e,t,i){if(t===void 0)return e;switch(i==null?3:i){case 1:return function(i){return e.call(t,i)};case 3:return function(i,n,a){return e.call(t,i,n,a)};case 4:return function(i,n,a,r){return e.call(t,i,n,a,r)}}return function(){return e.apply(t,arguments)}}function baseIteratee(e,t,i){if(e==null)return identity;if(F(e))return optimizeCb(e,t,i);if(isObject(e)&&!K(e))return matcher(e);return property(e)}_.iteratee=iteratee;function iteratee(e,t){return baseIteratee(e,t,Infinity)}function cb(e,t,i){if(_.iteratee!==iteratee)return _.iteratee(e,t);return baseIteratee(e,t,i)}function restArguments(e,t){t=t==null?e.length-1:+t;return function(){var i=Math.max(arguments.length-t,0),n=Array(i),a=0;for(;a<i;a++){n[a]=arguments[a+t]}switch(t){case 0:return e.call(this,n);case 1:return e.call(this,arguments[0],n);case 2:return e.call(this,arguments[0],arguments[1],n)}var r=Array(t+1);for(a=0;a<t;a++){r[a]=arguments[a]}r[t]=n;return e.apply(this,r)}}function baseCreate(e){if(!isObject(e))return{};if(c)return c(e);f.prototype=e;var t=new f;f.prototype=null;return t}function shallowProperty(e){return function(t){return t==null?void 0:t[e]}}function _has(e,t){return e!=null&&o.call(e,t)}function deepGet(e,t){var i=t.length;for(var n=0;n<i;n++){if(e==null)return void 0;e=e[t[n]]}return i?e:void 0}var m=Math.pow(2,53)-1;var b=shallowProperty("length");function isArrayLike(e){var t=b(e);return typeof t=="number"&&t>=0&&t<=m}function each(e,t,i){t=optimizeCb(t,i);var n,a;if(isArrayLike(e)){for(n=0,a=e.length;n<a;n++){t(e[n],n,e)}}else{var r=keys(e);for(n=0,a=r.length;n<a;n++){t(e[r[n]],r[n],e)}}return e}function map(e,t,i){t=cb(t,i);var n=!isArrayLike(e)&&keys(e),a=(n||e).length,r=Array(a);for(var s=0;s<a;s++){var o=n?n[s]:s;r[s]=t(e[o],o,e)}return r}function createReduce(e){var t=function(t,i,n,a){var r=!isArrayLike(t)&&keys(t),s=(r||t).length,o=e>0?0:s-1;if(!a){n=t[r?r[o]:o];o+=e}for(;o>=0&&o<s;o+=e){var u=r?r[o]:o;n=i(n,t[u],u,t)}return n};return function(e,i,n,a){var r=arguments.length>=3;return t(e,optimizeCb(i,a,4),n,r)}}var g=createReduce(1);var y=createReduce(-1);function find(e,t,i){var n=isArrayLike(e)?E:findKey;var a=n(e,t,i);if(a!==void 0&&a!==-1)return e[a]}function filter(e,t,i){var n=[];t=cb(t,i);each(e,function(e,i,a){if(t(e,i,a))n.push(e)});return n}function reject(e,t,i){return filter(e,negate(cb(t)),i)}function every(e,t,i){t=cb(t,i);var n=!isArrayLike(e)&&keys(e),a=(n||e).length;for(var r=0;r<a;r++){var s=n?n[r]:r;if(!t(e[s],s,e))return false}return true}function some(e,t,i){t=cb(t,i);var n=!isArrayLike(e)&&keys(e),a=(n||e).length;for(var r=0;r<a;r++){var s=n?n[r]:r;if(t(e[s],s,e))return true}return false}function contains(e,t,i,n){if(!isArrayLike(e))e=values(e);if(typeof i!="number"||n)i=0;return x(e,t,i)>=0}var S=restArguments(function(e,t,i){var n,a;if(F(t)){a=t}else if(K(t)){n=t.slice(0,-1);t=t[t.length-1]}return map(e,function(e){var r=a;if(!r){if(n&&n.length){e=deepGet(e,n)}if(e==null)return void 0;r=e[t]}return r==null?r:r.apply(e,i)})});function pluck(e,t){return map(e,property(t))}function where(e,t){return filter(e,matcher(t))}function findWhere(e,t){return find(e,matcher(t))}function max(e,t,i){var n=-Infinity,a=-Infinity,r,s;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=isArrayLike(e)?e:values(e);for(var o=0,u=e.length;o<u;o++){r=e[o];if(r!=null&&r>n){n=r}}}else{t=cb(t,i);each(e,function(e,i,r){s=t(e,i,r);if(s>a||s===-Infinity&&n===-Infinity){n=e;a=s}})}return n}function min(e,t,i){var n=Infinity,a=Infinity,r,s;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=isArrayLike(e)?e:values(e);for(var o=0,u=e.length;o<u;o++){r=e[o];if(r!=null&&r<n){n=r}}}else{t=cb(t,i);each(e,function(e,i,r){s=t(e,i,r);if(s<a||s===Infinity&&n===Infinity){n=e;a=s}})}return n}function shuffle(e){return sample(e,Infinity)}function sample(e,t,i){if(t==null||i){if(!isArrayLike(e))e=values(e);return e[random(e.length-1)]}var n=isArrayLike(e)?clone(e):values(e);var a=b(n);t=Math.max(Math.min(t,a),0);var r=a-1;for(var s=0;s<t;s++){var o=random(s,r);var u=n[s];n[s]=n[o];n[o]=u}return n.slice(0,t)}function sortBy(e,t,i){var n=0;t=cb(t,i);return pluck(map(e,function(e,i,a){return{value:e,index:n++,criteria:t(e,i,a)}}).sort(function(e,t){var i=e.criteria;var n=t.criteria;if(i!==n){if(i>n||i===void 0)return 1;if(i<n||n===void 0)return-1}return e.index-t.index}),"value")}function group(e,t){return function(i,n,a){var r=t?[[],[]]:{};n=cb(n,a);each(i,function(t,a){var s=n(t,a,i);e(r,t,s)});return r}}var w=group(function(e,t,i){if(_has(e,i))e[i].push(t);else e[i]=[t]});var v=group(function(e,t,i){e[i]=t});var z=group(function(e,t,i){if(_has(e,i))e[i]++;else e[i]=1});var j=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function toArray(e){if(!e)return[];if(K(e))return r.call(e);if(Y(e)){return e.match(j)}if(isArrayLike(e))return map(e,identity);return values(e)}function size(e){if(e==null)return 0;return isArrayLike(e)?e.length:keys(e).length}var O=group(function(e,t,i){e[i?0:1].push(t)},true);function first(e,t,i){if(e==null||e.length<1)return t==null?void 0:[];if(t==null||i)return e[0];return initial(e,e.length-t)}function initial(e,t,i){return r.call(e,0,Math.max(0,e.length-(t==null||i?1:t)))}function last(e,t,i){if(e==null||e.length<1)return t==null?void 0:[];if(t==null||i)return e[e.length-1];return rest(e,Math.max(0,e.length-t))}function rest(e,t,i){return r.call(e,t==null||i?1:t)}function compact(e){return filter(e,Boolean)}function _flatten(e,t,i,n){n=n||[];var a=n.length;for(var r=0,s=b(e);r<s;r++){var o=e[r];if(isArrayLike(o)&&(K(o)||J(o))){if(t){var u=0,l=o.length;while(u<l)n[a++]=o[u++]}else{_flatten(o,t,i,n);a=n.length}}else if(!i){n[a++]=o}}return n}function flatten(e,t){return _flatten(e,t,false)}var k=restArguments(function(e,t){return T(e,t)});function uniq(e,t,i,n){if(!isBoolean(t)){n=i;i=t;t=false}if(i!=null)i=cb(i,n);var a=[];var r=[];for(var s=0,o=b(e);s<o;s++){var u=e[s],l=i?i(u,s,e):u;if(t&&!i){if(!s||r!==l)a.push(u);r=l}else if(i){if(!contains(r,l)){r.push(l);a.push(u)}}else if(!contains(a,u)){a.push(u)}}return a}var C=restArguments(function(e){return uniq(_flatten(e,true,true))});function intersection(e){var t=[];var i=arguments.length;for(var n=0,a=b(e);n<a;n++){var r=e[n];if(contains(t,r))continue;var s;for(s=1;s<i;s++){if(!contains(arguments[s],r))break}if(s===i)t.push(r)}return t}var T=restArguments(function(e,t){t=_flatten(t,true,true);return filter(e,function(e){return!contains(t,e)})});function unzip(e){var t=e&&max(e,b).length||0;var i=Array(t);for(var n=0;n<t;n++){i[n]=pluck(e,n)}return i}var R=restArguments(unzip);function object(e,t){var i={};for(var n=0,a=b(e);n<a;n++){if(t){i[e[n]]=t[n]}else{i[e[n][0]]=e[n][1]}}return i}function createPredicateIndexFinder(e){return function(t,i,n){i=cb(i,n);var a=b(t);var r=e>0?0:a-1;for(;r>=0&&r<a;r+=e){if(i(t[r],r,t))return r}return-1}}var E=createPredicateIndexFinder(1);var A=createPredicateIndexFinder(-1);function sortedIndex(e,t,i,n){i=cb(i,n,1);var a=i(t);var r=0,s=b(e);while(r<s){var o=Math.floor((r+s)/2);if(i(e[o])<a)r=o+1;else s=o}return r}function createIndexFinder(e,t,i){return function(n,a,s){var o=0,u=b(n);if(typeof s=="number"){if(e>0){o=s>=0?s:Math.max(s+u,o)}else{u=s>=0?Math.min(s+1,u):s+u+1}}else if(i&&s&&u){s=i(n,a);return n[s]===a?s:-1}if(a!==a){s=t(r.call(n,o,u),isNaN);return s>=0?s+o:-1}for(s=e>0?o:u-1;s>=0&&s<u;s+=e){if(n[s]===a)return s}return-1}}var x=createIndexFinder(1,E,sortedIndex);var N=createIndexFinder(-1,A);function range(e,t,i){if(t==null){t=e||0;e=0}if(!i){i=t<e?-1:1}var n=Math.max(Math.ceil((t-e)/i),0);var a=Array(n);for(var r=0;r<n;r++,e+=i){a[r]=e}return a}function chunk(e,t){if(t==null||t<1)return[];var i=[];var n=0,a=e.length;while(n<a){i.push(r.call(e,n,n+=t))}return i}function executeBound(e,t,i,n,a){if(!(n instanceof t))return e.apply(i,a);var r=baseCreate(e.prototype);var s=e.apply(r,a);if(isObject(s))return s;return r}var V=restArguments(function(e,t,i){if(!F(e))throw new TypeError("Bind must be called on a function");var n=restArguments(function(a){return executeBound(e,n,t,this,i.concat(a))});return n});var P=restArguments(function(e,t){var i=P.placeholder;var n=function(){var a=0,r=t.length;var s=Array(r);for(var o=0;o<r;o++){s[o]=t[o]===i?arguments[a++]:t[o]}while(a<arguments.length)s.push(arguments[a++]);return executeBound(e,n,this,this,s)};return n});P.placeholder=_;var D=restArguments(function(e,t){t=_flatten(t,false,false);var i=t.length;if(i<1)throw new Error("bindAll must be passed function names");while(i--){var n=t[i];e[n]=V(e[n],e)}});function memoize(e,t){var i=function(n){var a=i.cache;var r=""+(t?t.apply(this,arguments):n);if(!_has(a,r))a[r]=e.apply(this,arguments);return a[r]};i.cache={};return i}var I=restArguments(function(e,t,i){return setTimeout(function(){return e.apply(null,i)},t)});var q=P(I,_,1);function throttle(e,t,i){var n,a,r,s;var o=0;if(!i)i={};var u=function(){o=i.leading===false?0:oe();n=null;s=e.apply(a,r);if(!n)a=r=null};var l=function(){var l=oe();if(!o&&i.leading===false)o=l;var c=t-(l-o);a=this;r=arguments;if(c<=0||c>t){if(n){clearTimeout(n);n=null}o=l;s=e.apply(a,r);if(!n)a=r=null}else if(!n&&i.trailing!==false){n=setTimeout(u,c)}return s};l.cancel=function(){clearTimeout(n);o=0;n=a=r=null};return l}function debounce(e,t,i){var n,a;var r=function(t,i){n=null;if(i)a=e.apply(t,i)};var s=restArguments(function(s){if(n)clearTimeout(n);if(i){var o=!n;n=setTimeout(r,t);if(o)a=e.apply(this,s)}else{n=I(r,t,this,s)}return a});s.cancel=function(){clearTimeout(n);n=null};return s}function wrap(e,t){return P(t,e)}function negate(e){return function(){return!e.apply(this,arguments)}}function compose(){var e=arguments;var t=e.length-1;return function(){var i=t;var n=e[t].apply(this,arguments);while(i--)n=e[i].call(this,n);return n}}function after(e,t){return function(){if(--e<1){return t.apply(this,arguments)}}}function before(e,t){var i;return function(){if(--e>0){i=t.apply(this,arguments)}if(e<=1)t=null;return i}}var B=P(before,2);var M=!{toString:null}.propertyIsEnumerable("toString");var U=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];function collectNonEnumProps(e,t){var n=U.length;var a=e.constructor;var r=F(a)&&a.prototype||i;var s="constructor";if(_has(e,s)&&!contains(t,s))t.push(s);while(n--){s=U[n];if(s in e&&e[s]!==r[s]&&!contains(t,s)){t.push(s)}}}function keys(e){if(!isObject(e))return[];if(l)return l(e);var t=[];for(var i in e)if(_has(e,i))t.push(i);if(M)collectNonEnumProps(e,t);return t}function allKeys(e){if(!isObject(e))return[];var t=[];for(var i in e)t.push(i);if(M)collectNonEnumProps(e,t);return t}function values(e){var t=keys(e);var i=t.length;var n=Array(i);for(var a=0;a<i;a++){n[a]=e[t[a]]}return n}function mapObject(e,t,i){t=cb(t,i);var n=keys(e),a=n.length,r={};for(var s=0;s<a;s++){var o=n[s];r[o]=t(e[o],o,e)}return r}function pairs(e){var t=keys(e);var i=t.length;var n=Array(i);for(var a=0;a<i;a++){n[a]=[t[a],e[t[a]]]}return n}function invert(e){var t={};var i=keys(e);for(var n=0,a=i.length;n<a;n++){t[e[i[n]]]=i[n]}return t}function functions(e){var t=[];for(var i in e){if(F(e[i]))t.push(i)}return t.sort()}function createAssigner(e,t){return function(i){var n=arguments.length;if(t)i=Object(i);if(n<2||i==null)return i;for(var a=1;a<n;a++){var r=arguments[a],s=e(r),o=s.length;for(var u=0;u<o;u++){var l=s[u];if(!t||i[l]===void 0)i[l]=r[l]}}return i}}var L=createAssigner(allKeys);var H=createAssigner(keys);function findKey(e,t,i){t=cb(t,i);var n=keys(e),a;for(var r=0,s=n.length;r<s;r++){a=n[r];if(t(e[a],a,e))return a}}function keyInObj(e,t,i){return t in i}var Q=restArguments(function(e,t){var i={},n=t[0];if(e==null)return i;if(F(n)){if(t.length>1)n=optimizeCb(n,t[1]);t=allKeys(e)}else{n=keyInObj;t=_flatten(t,false,false);e=Object(e)}for(var a=0,r=t.length;a<r;a++){var s=t[a];var o=e[s];if(n(o,s,e))i[s]=o}return i});var W=restArguments(function(e,t){var i=t[0],n;if(F(i)){i=negate(i);if(t.length>1)n=t[1]}else{t=map(_flatten(t,false,false),String);i=function(e,i){return!contains(t,i)}}return Q(e,i,n)});var G=createAssigner(allKeys,true);function create(e,t){var i=baseCreate(e);if(t)H(i,t);return i}function clone(e){if(!isObject(e))return e;return K(e)?e.slice():L({},e)}function tap(e,t){t(e);return e}function isMatch(e,t){var i=keys(t),n=i.length;if(e==null)return!n;var a=Object(e);for(var r=0;r<n;r++){var s=i[r];if(t[s]!==a[s]||!(s in a))return false}return true}function eq(e,t,i,n){if(e===t)return e!==0||1/e===1/t;if(e==null||t==null)return false;if(e!==e)return t!==t;var a=typeof e;if(a!=="function"&&a!=="object"&&typeof t!="object")return false;return deepEq(e,t,i,n)}function deepEq(e,t,i,a){if(e instanceof _)e=e._wrapped;if(t instanceof _)t=t._wrapped;var r=s.call(e);if(r!==s.call(t))return false;switch(r){case"[object RegExp]":case"[object String]":return""+e===""+t;case"[object Number]":if(+e!==+e)return+t!==+t;return+e===0?1/+e===1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t;case"[object Symbol]":return n.valueOf.call(e)===n.valueOf.call(t)}var o=r==="[object Array]";if(!o){if(typeof e!="object"||typeof t!="object")return false;var u=e.constructor,l=t.constructor;if(u!==l&&!(F(u)&&u instanceof u&&F(l)&&l instanceof l)&&("constructor"in e&&"constructor"in t)){return false}}i=i||[];a=a||[];var c=i.length;while(c--){if(i[c]===e)return a[c]===t}i.push(e);a.push(t);if(o){c=e.length;if(c!==t.length)return false;while(c--){if(!eq(e[c],t[c],i,a))return false}}else{var d=keys(e),p;c=d.length;if(keys(t).length!==c)return false;while(c--){p=d[c];if(!(_has(t,p)&&eq(e[p],t[p],i,a)))return false}}i.pop();a.pop();return true}function isEqual(e,t){return eq(e,t)}function isEmpty(e){if(e==null)return true;if(isArrayLike(e)&&(K(e)||Y(e)||J(e)))return e.length===0;return keys(e).length===0}function isElement(e){return!!(e&&e.nodeType===1)}function tagTester(e){return function(t){return s.call(t)==="[object "+e+"]"}}var K=u||tagTester("Array");function isObject(e){var t=typeof e;return t==="function"||t==="object"&&!!e}var J=tagTester("Arguments");var F=tagTester("Function");var Y=tagTester("String");var X=tagTester("Number");var Z=tagTester("Date");var $=tagTester("RegExp");var ee=tagTester("Error");var te=tagTester("Symbol");var ie=tagTester("Map");var ne=tagTester("WeakMap");var ae=tagTester("Set");var re=tagTester("WeakSet");(function(){if(!J(arguments)){J=function(e){return _has(e,"callee")}}})();var se=e.document&&e.document.childNodes;if(true&&typeof Int8Array!="object"&&typeof se!="function"){F=function(e){return typeof e=="function"||false}}function isFinite(e){return!te(e)&&p(e)&&!d(parseFloat(e))}function isNaN(e){return X(e)&&d(e)}function isBoolean(e){return e===true||e===false||s.call(e)==="[object Boolean]"}function isNull(e){return e===null}function isUndefined(e){return e===void 0}function has(e,t){if(!K(t)){return _has(e,t)}var i=t.length;for(var n=0;n<i;n++){var a=t[n];if(e==null||!o.call(e,a)){return false}e=e[a]}return!!i}function identity(e){return e}function constant(e){return function(){return e}}function noop(){}function property(e){if(!K(e)){return shallowProperty(e)}return function(t){return deepGet(t,e)}}function propertyOf(e){if(e==null){return function(){}}return function(t){return!K(t)?e[t]:deepGet(e,t)}}function matcher(e){e=H({},e);return function(t){return isMatch(t,e)}}function times(e,t,i){var n=Array(Math.max(0,e));t=optimizeCb(t,i,1);for(var a=0;a<e;a++)n[a]=t(a);return n}function random(e,t){if(t==null){t=e;e=0}return e+Math.floor(Math.random()*(t-e+1))}var oe=Date.now||function(){return(new Date).getTime()};var ue={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};var le=invert(ue);function createEscaper(e){var t=function(t){return e[t]};var i="(?:"+keys(e).join("|")+")";var n=RegExp(i);var a=RegExp(i,"g");return function(e){e=e==null?"":""+e;return n.test(e)?e.replace(a,t):e}}var ce=createEscaper(ue);var de=createEscaper(le);function result(e,t,i){if(!K(t))t=[t];var n=t.length;if(!n){return F(i)?i.call(e):i}for(var a=0;a<n;a++){var r=e==null?void 0:e[t[a]];if(r===void 0){r=i;a=n}e=F(r)?r.call(e):r}return e}var pe=0;function uniqueId(e){var t=++pe+"";return e?e+t:t}var fe=_.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var he=/(.)^/;var me={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"};var be=/\\|'|\r|\n|\u2028|\u2029/g;var ge=function(e){return"\\"+me[e]};function template(e,t,i){if(!t&&i)t=i;t=G({},t,_.templateSettings);var n=RegExp([(t.escape||he).source,(t.interpolate||he).source,(t.evaluate||he).source].join("|")+"|$","g");var a=0;var r="__p+='";e.replace(n,function(t,i,n,s,o){r+=e.slice(a,o).replace(be,ge);a=o+t.length;if(i){r+="'+\n((__t=("+i+"))==null?'':_.escape(__t))+\n'"}else if(n){r+="'+\n((__t=("+n+"))==null?'':__t)+\n'"}else if(s){r+="';\n"+s+"\n__p+='"}return t});r+="';\n";if(!t.variable)r="with(obj||{}){\n"+r+"}\n";r="var __t,__p='',__j=Array.prototype.join,"+"print=function(){__p+=__j.call(arguments,'');};\n"+r+"return __p;\n";var s;try{s=new Function(t.variable||"obj","_",r)}catch(e){e.source=r;throw e}var o=function(e){return s.call(this,e,_)};var u=t.variable||"obj";o.source="function("+u+"){\n"+r+"}";return o}function chain(e){var t=_(e);t._chain=true;return t}function chainResult(e,t){return e._chain?_(t).chain():t}function mixin(e){each(functions(e),function(t){var i=_[t]=e[t];_.prototype[t]=function(){var e=[this._wrapped];a.apply(e,arguments);return chainResult(this,i.apply(_,e))}});return _}each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var i=t[e];_.prototype[e]=function(){var t=this._wrapped;i.apply(t,arguments);if((e==="shift"||e==="splice")&&t.length===0)delete t[0];return chainResult(this,t)}});each(["concat","join","slice"],function(e){var i=t[e];_.prototype[e]=function(){return chainResult(this,i.apply(this._wrapped,arguments))}});_.prototype.value=function(){return this._wrapped};_.prototype.valueOf=_.prototype.toJSON=_.prototype.value;_.prototype.toString=function(){return String(this._wrapped)};var ye={default:_,VERSION:h,iteratee:iteratee,restArguments:restArguments,each:each,forEach:each,map:map,collect:map,reduce:g,foldl:g,inject:g,reduceRight:y,foldr:y,find:find,detect:find,filter:filter,select:filter,reject:reject,every:every,all:every,some:some,any:some,contains:contains,includes:contains,include:contains,invoke:S,pluck:pluck,where:where,findWhere:findWhere,max:max,min:min,shuffle:shuffle,sample:sample,sortBy:sortBy,groupBy:w,indexBy:v,countBy:z,toArray:toArray,size:size,partition:O,first:first,head:first,take:first,initial:initial,last:last,rest:rest,tail:rest,drop:rest,compact:compact,flatten:flatten,without:k,uniq:uniq,unique:uniq,union:C,intersection:intersection,difference:T,unzip:unzip,zip:R,object:object,findIndex:E,findLastIndex:A,sortedIndex:sortedIndex,indexOf:x,lastIndexOf:N,range:range,chunk:chunk,bind:V,partial:P,bindAll:D,memoize:memoize,delay:I,defer:q,throttle:throttle,debounce:debounce,wrap:wrap,negate:negate,compose:compose,after:after,before:before,once:B,keys:keys,allKeys:allKeys,values:values,mapObject:mapObject,pairs:pairs,invert:invert,functions:functions,methods:functions,extend:L,extendOwn:H,assign:H,findKey:findKey,pick:Q,omit:W,defaults:G,create:create,clone:clone,tap:tap,isMatch:isMatch,isEqual:isEqual,isEmpty:isEmpty,isElement:isElement,isArray:K,isObject:isObject,isArguments:J,isFunction:F,isString:Y,isNumber:X,isDate:Z,isRegExp:$,isError:ee,isSymbol:te,isMap:ie,isWeakMap:ne,isSet:ae,isWeakSet:re,isFinite:isFinite,isNaN:isNaN,isBoolean:isBoolean,isNull:isNull,isUndefined:isUndefined,has:has,identity:identity,constant:constant,noop:noop,property:property,propertyOf:propertyOf,matcher:matcher,matches:matcher,times:times,random:random,now:oe,escape:ce,unescape:de,result:result,uniqueId:uniqueId,templateSettings:fe,template:template,chain:chain,mixin:mixin};var Se=mixin(ye);Se._=Se;return Se})},function(e,t,i){var n=i(157),a=i(147),r=i(939);e.exports=serialOrdered;e.exports.ascending=ascending;e.exports.descending=descending;function serialOrdered(e,t,i,s){var o=a(e,i);n(e,t,o,function iteratorHandler(i,a){if(i){s(i,a);return}o.index++;if(o.index<(o["keyedList"]||e).length){n(e,t,o,iteratorHandler);return}s(null,o.results)});return r.bind(o,s)}function ascending(e,t){return e<t?-1:e>t?1:0}function descending(e,t){return-1*ascending(e,t)}},function(e,t,i){e.exports={read:read,verify:verify,sign:sign,signAsync:signAsync,write:write,fromBuffer:fromBuffer,toBuffer:toBuffer};var n=i(872);var a=i(940);var r=i(373);var s=i(215).Buffer;var o=i(98);var u=i(852);var l=i(502);var c=i(378);var d=i(538);var p=i(575);var f=i(270);var h=i(966);function verify(e,t){return false}var m={user:1,host:2};Object.keys(m).forEach(function(e){m[m[e]]=e});var b=/^ecdsa-sha2-([^@-]+)-cert-v01@openssh.com$/;function read(e,t){if(s.isBuffer(e))e=e.toString("ascii");var i=e.trim().split(/[ \t\n]+/g);if(i.length<2||i.length>3)throw new Error("Not a valid SSH certificate line");var n=i[0];var a=i[1];a=s.from(a,"base64");return fromBuffer(a,n)}function fromBuffer(e,t,i){var r=new a({buffer:e});var s=r.readString();if(t!==undefined&&s!==t)throw new Error("SSH certificate algorithm mismatch");if(t===undefined)t=s;var l={};l.signatures={};l.signatures.openssh={};l.signatures.openssh.nonce=r.readBuffer();var g={};var y=g.parts=[];g.type=getAlg(t);var S=o.info[g.type].parts.length;while(y.length<S)y.push(r.readPart());n.ok(y.length>=1,"key must have at least one part");var w=o.info[g.type];if(g.type==="ecdsa"){var v=b.exec(t);n.ok(v!==null);n.strictEqual(v[1],y[0].data.toString())}for(var z=0;z<w.parts.length;++z){y[z].name=w.parts[z];if(y[z].name!=="curve"&&w.normalize!==false){var j=y[z];j.data=f.mpNormalize(j.data)}}l.subjectKey=new u(g);l.serial=r.readInt64();var O=m[r.readInt()];n.string(O,"valid cert type");l.signatures.openssh.keyId=r.readString();var k=[];var C=r.readBuffer();var T=new a({buffer:C});while(!T.atEnd())k.push(T.readString());if(k.length===0)k=["*"];l.subjects=k.map(function(e){if(O==="user")return c.forUser(e);else if(O==="host")return c.forHost(e);throw new Error("Unknown identity type "+O)});l.validFrom=int64ToDate(r.readInt64());l.validUntil=int64ToDate(r.readInt64());var R=[];var E=new a({buffer:r.readBuffer()});var A;while(!E.atEnd()){A={critical:true};A.name=E.readString();A.data=E.readBuffer();R.push(A)}E=new a({buffer:r.readBuffer()});while(!E.atEnd()){A={critical:false};A.name=E.readString();A.data=E.readBuffer();R.push(A)}l.signatures.openssh.exts=R;r.readBuffer();var x=r.readBuffer();l.issuerKey=d.read(x);l.issuer=c.forHost("**");var N=r.readBuffer();l.signatures.openssh.signature=p.parse(N,l.issuerKey.type,"ssh");if(i!==undefined){i.remainder=r.remainder();i.consumed=r._offset}return new h(l)}function int64ToDate(e){var t=e.readUInt32BE(0)*4294967296;t+=e.readUInt32BE(4);var i=new Date;i.setTime(t*1e3);i.sourceInt64=e;return i}function dateToInt64(e){if(e.sourceInt64!==undefined)return e.sourceInt64;var t=Math.round(e.getTime()/1e3);var i=Math.floor(t/4294967296);var n=Math.floor(t%4294967296);var a=s.alloc(8);a.writeUInt32BE(i,0);a.writeUInt32BE(n,4);return a}function sign(e,t){if(e.signatures.openssh===undefined)e.signatures.openssh={};try{var i=toBuffer(e,true)}catch(t){delete e.signatures.openssh;return false}var n=e.signatures.openssh;var a=undefined;if(t.type==="rsa"||t.type==="dsa")a="sha1";var r=t.createSign(a);r.write(i);n.signature=r.sign();return true}function signAsync(e,t,i){if(e.signatures.openssh===undefined)e.signatures.openssh={};try{var n=toBuffer(e,true)}catch(t){delete e.signatures.openssh;i(t);return}var a=e.signatures.openssh;t(n,function(e,t){if(e){i(e);return}try{t.toBuffer("ssh")}catch(e){i(e);return}a.signature=t;i()})}function write(e,t){if(t===undefined)t={};var i=toBuffer(e);var n=getCertType(e.subjectKey)+" "+i.toString("base64");if(t.comment)n=n+" "+t.comment;return n}function toBuffer(e,t){n.object(e.signatures.openssh,"signature for openssh format");var i=e.signatures.openssh;if(i.nonce===undefined)i.nonce=r.randomBytes(16);var u=new a({});u.writeString(getCertType(e.subjectKey));u.writeBuffer(i.nonce);var l=e.subjectKey;var c=o.info[l.type];c.parts.forEach(function(e){u.writePart(l.part[e])});u.writeInt64(e.serial);var p=e.subjects[0].type;n.notStrictEqual(p,"unknown");e.subjects.forEach(function(e){n.strictEqual(e.type,p)});p=m[p];u.writeInt(p);if(i.keyId===undefined){i.keyId=e.subjects[0].type+"_"+(e.subjects[0].uid||e.subjects[0].hostname)}u.writeString(i.keyId);var f=new a({});e.subjects.forEach(function(e){if(p===m.host)f.writeString(e.hostname);else if(p===m.user)f.writeString(e.uid)});u.writeBuffer(f.toBuffer());u.writeInt64(dateToInt64(e.validFrom));u.writeInt64(dateToInt64(e.validUntil));var h=i.exts;if(h===undefined)h=[];var b=new a({});h.forEach(function(e){if(e.critical!==true)return;b.writeString(e.name);b.writeBuffer(e.data)});u.writeBuffer(b.toBuffer());b=new a({});h.forEach(function(e){if(e.critical===true)return;b.writeString(e.name);b.writeBuffer(e.data)});u.writeBuffer(b.toBuffer());u.writeBuffer(s.alloc(0));f=d.write(e.issuerKey);u.writeBuffer(f);if(!t)u.writeBuffer(i.signature.toBuffer("ssh"));return u.toBuffer()}function getAlg(e){if(e==="ssh-rsa-cert-v01@openssh.com")return"rsa";if(e==="ssh-dss-cert-v01@openssh.com")return"dsa";if(e.match(b))return"ecdsa";if(e==="ssh-ed25519-cert-v01@openssh.com")return"ed25519";throw new Error("Unsupported cert type "+e)}function getCertType(e){if(e.type==="rsa")return"ssh-rsa-cert-v01@openssh.com";if(e.type==="dsa")return"ssh-dss-cert-v01@openssh.com";if(e.type==="ecdsa")return"ecdsa-sha2-"+e.curve+"-cert-v01@openssh.com";if(e.type==="ed25519")return"ssh-ed25519-cert-v01@openssh.com";throw new Error("Unsupported key type "+e.type)}},function(e,t,i){"use strict";e.exports={$ref:i(266),allOf:i(107),anyOf:i(253),$comment:i(28),const:i(662),contains:i(154),dependencies:i(369),enum:i(281),format:i(687),if:i(479),items:i(643),maximum:i(341),minimum:i(341),maxItems:i(85),minItems:i(85),maxLength:i(772),minLength:i(772),maxProperties:i(560),minProperties:i(560),multipleOf:i(397),not:i(673),oneOf:i(653),pattern:i(438),properties:i(343),propertyNames:i(706),required:i(858),uniqueItems:i(434),validate:i(967)}},,function(e){e.exports=function(e,i){var n=[];for(var a=0;a<e.length;a++){var r=i(e[a],a);if(t(r))n.push.apply(n,r);else n.push(r)}return n};var t=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"}},function(e,t,i){"use strict";var n=i(4);var a=i(719);var r=Object.prototype.hasOwnProperty;var s={brackets:function brackets(e){return e+"[]"},comma:"comma",indices:function indices(e,t){return e+"["+t+"]"},repeat:function repeat(e){return e}};var o=Array.isArray;var u=Array.prototype.push;var l=function(e,t){u.apply(e,o(t)?t:[t])};var c=Date.prototype.toISOString;var d=a["default"];var p={addQueryPrefix:false,allowDots:false,charset:"utf-8",charsetSentinel:false,delimiter:"&",encode:true,encoder:n.encode,encodeValuesOnly:false,format:d,formatter:a.formatters[d],indices:false,serializeDate:function serializeDate(e){return c.call(e)},skipNulls:false,strictNullHandling:false};var f=function isNonNullishPrimitive(e){return typeof e==="string"||typeof e==="number"||typeof e==="boolean"||typeof e==="symbol"||typeof e==="bigint"};var h=function stringify(e,t,i,a,r,s,u,c,d,h,m,b,g){var y=e;if(typeof u==="function"){y=u(t,y)}else if(y instanceof Date){y=h(y)}else if(i==="comma"&&o(y)){y=n.maybeMap(y,function(e){if(e instanceof Date){return h(e)}return e}).join(",")}if(y===null){if(a){return s&&!b?s(t,p.encoder,g,"key"):t}y=""}if(f(y)||n.isBuffer(y)){if(s){var S=b?t:s(t,p.encoder,g,"key");return[m(S)+"="+m(s(y,p.encoder,g,"value"))]}return[m(t)+"="+m(String(y))]}var w=[];if(typeof y==="undefined"){return w}var v;if(o(u)){v=u}else{var z=Object.keys(y);v=c?z.sort(c):z}for(var j=0;j<v.length;++j){var O=v[j];var k=y[O];if(r&&k===null){continue}var C=o(y)?typeof i==="function"?i(t,O):t:t+(d?"."+O:"["+O+"]");l(w,stringify(k,C,i,a,r,s,u,c,d,h,m,b,g))}return w};var m=function normalizeStringifyOptions(e){if(!e){return p}if(e.encoder!==null&&e.encoder!==undefined&&typeof e.encoder!=="function"){throw new TypeError("Encoder has to be a function.")}var t=e.charset||p.charset;if(typeof e.charset!=="undefined"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1"){throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined")}var i=a["default"];if(typeof e.format!=="undefined"){if(!r.call(a.formatters,e.format)){throw new TypeError("Unknown format option provided.")}i=e.format}var n=a.formatters[i];var s=p.filter;if(typeof e.filter==="function"||o(e.filter)){s=e.filter}return{addQueryPrefix:typeof e.addQueryPrefix==="boolean"?e.addQueryPrefix:p.addQueryPrefix,allowDots:typeof e.allowDots==="undefined"?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:typeof e.charsetSentinel==="boolean"?e.charsetSentinel:p.charsetSentinel,delimiter:typeof e.delimiter==="undefined"?p.delimiter:e.delimiter,encode:typeof e.encode==="boolean"?e.encode:p.encode,encoder:typeof e.encoder==="function"?e.encoder:p.encoder,encodeValuesOnly:typeof e.encodeValuesOnly==="boolean"?e.encodeValuesOnly:p.encodeValuesOnly,filter:s,formatter:n,serializeDate:typeof e.serializeDate==="function"?e.serializeDate:p.serializeDate,skipNulls:typeof e.skipNulls==="boolean"?e.skipNulls:p.skipNulls,sort:typeof e.sort==="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling==="boolean"?e.strictNullHandling:p.strictNullHandling}};e.exports=function(e,t){var i=e;var n=m(t);var a;var r;if(typeof n.filter==="function"){r=n.filter;i=r("",i)}else if(o(n.filter)){r=n.filter;a=r}var u=[];if(typeof i!=="object"||i===null){return""}var c;if(t&&t.arrayFormat in s){c=t.arrayFormat}else if(t&&"indices"in t){c=t.indices?"indices":"repeat"}else{c="indices"}var d=s[c];if(!a){a=Object.keys(i)}if(n.sort){a.sort(n.sort)}for(var p=0;p<a.length;++p){var f=a[p];if(n.skipNulls&&i[f]===null){continue}l(u,h(i[f],f,d,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.formatter,n.encodeValuesOnly,n.charset))}var b=u.join(n.delimiter);var g=n.addQueryPrefix===true?"?":"";if(n.charsetSentinel){if(n.charset==="iso-8859-1"){g+="utf8=%26%2310003%3B&"}else{g+="utf8=%E2%9C%93&"}}return b.length>0?g+b:""}},function(e,t,i){const n=i(874);const a=(e,t,i)=>n(e,t,i)<=0;e.exports=a},function(e){e.exports=function(e,t){Object.keys(t).forEach(function(i){e[i]=e[i]||t[i]});return e}},,,function(e,t,i){"use strict";var n=i(623);var a=i(191);function Querystring(e){this.request=e;this.lib=null;this.useQuerystring=null;this.parseOptions=null;this.stringifyOptions=null}Querystring.prototype.init=function(e){if(this.lib){return}this.useQuerystring=e.useQuerystring;this.lib=this.useQuerystring?a:n;this.parseOptions=e.qsParseOptions||{};this.stringifyOptions=e.qsStringifyOptions||{}};Querystring.prototype.stringify=function(e){return this.useQuerystring?this.rfc3986(this.lib.stringify(e,this.stringifyOptions.sep||null,this.stringifyOptions.eq||null,this.stringifyOptions)):this.lib.stringify(e,this.stringifyOptions)};Querystring.prototype.parse=function(e){return this.useQuerystring?this.lib.parse(e,this.parseOptions.sep||null,this.parseOptions.eq||null,this.parseOptions):this.lib.parse(e,this.parseOptions)};Querystring.prototype.rfc3986=function(e){return e.replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})};Querystring.prototype.unescape=a.unescape;t.Querystring=Querystring},function(e){e.exports=require("zlib")},function(e){e.exports={$id:"postData.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:true,required:["mimeType"],properties:{mimeType:{type:"string"},text:{type:"string"},params:{type:"array",required:["name"],properties:{name:{type:"string"},value:{type:"string"},fileName:{type:"string"},contentType:{type:"string"},comment:{type:"string"}}},comment:{type:"string"}}}},,,,,function(e,t,i){var n=i(872);var a=i(650);var r=i(669);var s={sha1:true,sha256:true,sha512:true};var o={rsa:true,dsa:true,ecdsa:true};function HttpSignatureError(e,t){if(Error.captureStackTrace)Error.captureStackTrace(this,t||HttpSignatureError);this.message=e;this.name=t.name}r.inherits(HttpSignatureError,Error);function InvalidAlgorithmError(e){HttpSignatureError.call(this,e,InvalidAlgorithmError)}r.inherits(InvalidAlgorithmError,HttpSignatureError);function validateAlgorithm(e){var t=e.toLowerCase().split("-");if(t.length!==2){throw new InvalidAlgorithmError(t[0].toUpperCase()+" is not a "+"valid algorithm")}if(t[0]!=="hmac"&&!o[t[0]]){throw new InvalidAlgorithmError(t[0].toUpperCase()+" type keys "+"are not supported")}if(!s[t[1]]){throw new InvalidAlgorithmError(t[1].toUpperCase()+" is not a "+"supported hash algorithm")}return t}e.exports={HASH_ALGOS:s,PK_ALGOS:o,HttpSignatureError:HttpSignatureError,InvalidAlgorithmError:InvalidAlgorithmError,validateAlgorithm:validateAlgorithm,sshKeyToPEM:function sshKeyToPEM(e){n.string(e,"ssh_key");var t=a.parseKey(e,"ssh");return t.toString("pem")},fingerprint:function fingerprint(e){n.string(e,"ssh_key");var t=a.parseKey(e,"ssh");return t.fingerprint("md5").toString("hex")},pemToRsaSSHKey:function pemToRsaSSHKey(e,t){n.equal("string",typeof e,"typeof pem");var i=a.parseKey(e,"pem");i.comment=t;return i.toString("ssh")}}},function(e,t,i){"use strict";var n=i(43);e.exports=n.DEFAULT=new n({include:[i(723)],explicit:[i(386),i(629),i(352)]})},,,function(e,t,i){"use strict";var n;try{var a=require;n=a("buffer").Buffer}catch(e){}var r=i(945);var s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function resolveYamlBinary(e){if(e===null)return false;var t,i,n=0,a=e.length,r=s;for(i=0;i<a;i++){t=r.indexOf(e.charAt(i));if(t>64)continue;if(t<0)return false;n+=6}return n%8===0}function constructYamlBinary(e){var t,i,a=e.replace(/[\r\n=]/g,""),r=a.length,o=s,u=0,l=[];for(t=0;t<r;t++){if(t%4===0&&t){l.push(u>>16&255);l.push(u>>8&255);l.push(u&255)}u=u<<6|o.indexOf(a.charAt(t))}i=r%4*6;if(i===0){l.push(u>>16&255);l.push(u>>8&255);l.push(u&255)}else if(i===18){l.push(u>>10&255);l.push(u>>2&255)}else if(i===12){l.push(u>>4&255)}if(n){return n.from?n.from(l):new n(l)}return l}function representYamlBinary(e){var t="",i=0,n,a,r=e.length,o=s;for(n=0;n<r;n++){if(n%3===0&&n){t+=o[i>>18&63];t+=o[i>>12&63];t+=o[i>>6&63];t+=o[i&63]}i=(i<<8)+e[n]}a=r%3;if(a===0){t+=o[i>>18&63];t+=o[i>>12&63];t+=o[i>>6&63];t+=o[i&63]}else if(a===2){t+=o[i>>10&63];t+=o[i>>4&63];t+=o[i<<2&63];t+=o[64]}else if(a===1){t+=o[i>>2&63];t+=o[i<<4&63];t+=o[64];t+=o[64]}return t}function isBinary(e){return n&&n.isBuffer(e)}e.exports=new r("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},function(e,t){"use strict";var i=typeof Reflect!=="undefined"?Reflect.construct:undefined;var n=Object.defineProperty;var a=Error.captureStackTrace;if(a===undefined){a=function captureStackTrace(e){var t=new Error;n(e,"stack",{configurable:true,get:function getStack(){var e=t.stack;n(this,"stack",{configurable:true,value:e,writable:true});return e},set:function setStack(t){n(e,"stack",{configurable:true,value:t,writable:true})}})}}function BaseError(e){if(e!==undefined){n(this,"message",{configurable:true,value:e,writable:true})}var t=this.constructor.name;if(t!==undefined&&t!==this.name){n(this,"name",{configurable:true,value:t,writable:true})}a(this,this.constructor)}BaseError.prototype=Object.create(Error.prototype,{constructor:{configurable:true,value:BaseError,writable:true}});var r=function(){function setFunctionName(e,t){return n(e,"name",{configurable:true,value:t})}try{var e=function(){};setFunctionName(e,"foo");if(e.name==="foo"){return setFunctionName}}catch(e){}}();function makeError(e,t){if(t==null||t===Error){t=BaseError}else if(typeof t!=="function"){throw new TypeError("super_ should be a function")}var n;if(typeof e==="string"){n=e;e=i!==undefined?function(){return i(t,arguments,this.constructor)}:function(){t.apply(this,arguments)};if(r!==undefined){r(e,n);n=undefined}}else if(typeof e!=="function"){throw new TypeError("constructor should be either a string or a function")}e.super_=e["super"]=t;var a={constructor:{configurable:true,value:e,writable:true}};if(n!==undefined){a.name={configurable:true,value:n,writable:true}}e.prototype=Object.create(t.prototype,a);return e}t=e.exports=makeError;t.BaseError=BaseError},function(e,t,i){const{diffieHellman:n,KeyObject:a,sign:r,verify:s}=i(373);const[o,u]=process.version.substr(1).split(".").map(e=>parseInt(e,10));e.exports={oaepHashSupported:o>12||o===12&&u>=9,keyObjectSupported:!!a&&o>=12,edDSASupported:!!r&&!!s,dsaEncodingSupported:o>13||o===13&&u>=2||o===12&&u>=16,improvedDH:!!n}},function(e,t,i){"use strict";const n=i(614);const a=i(145);const r=i(534);const s=i(657);const o=i(678);const{HTTPError:u,ParseError:l,ReadError:c}=i(774);const{options:d}=i(821);const{reNormalize:p}=i(523);const f=e=>{const t=new n;const i=new s((i,n,s)=>{const h=o(e);s(h.abort);h.on("response",async s=>{t.emit("response",s);const o=r.null(e.encoding)?a.buffer(s):a(s,e);let m;try{m=await o}catch(t){n(new c(t,e));return}const b=e.followRedirect?299:399;s.body=m;try{for(const[t,i]of Object.entries(e.hooks.afterResponse)){s=await i(s,i=>{i=p(d(e,{...i,retry:0,throwHttpErrors:false}));i.hooks.afterResponse=e.hooks.afterResponse.slice(0,t);return f(i)})}}catch(e){n(e);return}const{statusCode:g}=s;if(e.json&&s.body){try{s.body=JSON.parse(s.body)}catch(t){if(g>=200&&g<300){const i=new l(t,g,e,m);Object.defineProperty(i,"response",{value:s});n(i);return}}}if(g!==304&&(g<200||g>b)){const t=new u(s,e);Object.defineProperty(t,"response",{value:s});if(h.retry(t)===false){if(e.throwHttpErrors){n(t);return}i(s)}return}i(s)});h.once("error",n);["request","redirect","uploadProgress","downloadProgress"].forEach(e=>h.on(e,(...i)=>t.emit(e,...i)))});i.on=((e,n)=>{t.on(e,n);return i});return i};e.exports=f},function(e,t,i){"use strict";const n=i(958);e.exports=(e=>{const t={start:Date.now(),socket:null,lookup:null,connect:null,upload:null,response:null,end:null,error:null,phases:{wait:null,dns:null,tcp:null,request:null,firstByte:null,download:null,total:null}};const i=e=>{const i=e.emit.bind(e);e.emit=((n,...a)=>{if(n==="error"){t.error=Date.now();t.phases.total=t.error-t.start;e.emit=i}return i(n,...a)})};let a=false;const r=()=>{t.upload=Date.now();t.phases.request=t.upload-t.connect};i(e);e.once("socket",e=>{t.socket=Date.now();t.phases.wait=t.socket-t.start;const i=()=>{t.lookup=Date.now();t.phases.dns=t.lookup-t.socket};e.once("lookup",i);n(e,()=>{t.connect=Date.now();if(t.lookup===null){e.removeListener("lookup",i);t.lookup=t.connect;t.phases.dns=t.lookup-t.socket}t.phases.tcp=t.connect-t.lookup;if(a&&!t.upload){r()}})});e.once("finish",()=>{a=true;if(t.connect){r()}});e.once("response",e=>{t.response=Date.now();t.phases.firstByte=t.response-t.upload;i(e);e.once("end",()=>{t.end=Date.now();t.phases.download=t.end-t.response;t.phases.total=t.end-t.start})});return t})},function(e,t,i){const{JOSECritNotUnderstood:n,JWSInvalid:a}=i(466);const r=new Set(["alg","jku","jwk","kid","x5u","x5c","x5t","x5t#S256","typ","cty","crit","enc","zip","epk","apu","apv","iv","tag","p2s","p2c"]);e.exports=function validateCrit(e,t,i,s){if(t&&"crit"in t){if(!Array.isArray(t.crit)||t.crit.length===0||t.crit.some(e=>typeof e!=="string"||!e)){throw new e('"crit" Header Parameter MUST be an array of non-empty strings when present')}const o=new Set(s);const u={...t,...i};t.crit.forEach(i=>{if(r.has(i)){throw new e(`The critical list contains a non-extension Header Parameter ${i}`)}if(!o.has(i)){throw new n(`critical "${i}" is not understood`)}if(i==="b64"){if(!("b64"in t)){throw new a('"b64" critical parameter must be integrity protected')}if(typeof t.b64!=="boolean"){throw new a('"b64" critical parameter must be a boolean')}}else if(!(i in u)){throw new e(`critical parameter "${i}" is missing`)}})}if(i&&"crit"in i){throw new e('"crit" Header Parameter MUST be integrity protected when present')}}},function(e){e.exports={$id:"entry.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:true,required:["startedDateTime","time","request","response","cache","timings"],properties:{pageref:{type:"string"},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))"},time:{type:"number",min:0},request:{$ref:"request.json#"},response:{$ref:"response.json#"},cache:{$ref:"cache.json#"},timings:{$ref:"timings.json#"},serverIPAddress:{type:"string",oneOf:[{format:"ipv4"},{format:"ipv6"}]},connection:{type:"string"},comment:{type:"string"}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(422);const a=i(695);class ListWatch{constructor(e,t,i,n=true){this.path=e;this.watch=t;this.listFn=i;this.objects=[];this.indexCache={};this.callbackCache={};this.watch=t;this.listFn=i;if(n){this.doneHandler(null)}}start(){this.doneHandler(null)}on(e,t){if(e!==a.ADD&&e!==a.UPDATE&&e!==a.DELETE){throw new Error(`Unknown verb: ${e}`)}if(!this.callbackCache[e]){this.callbackCache[e]=[]}this.callbackCache[e].push(t)}get(e,t){return this.objects.find(i=>{return i.metadata.name===e&&(!t||i.metadata.namespace===t)})}list(e){if(!e){return this.objects}return this.indexCache[e]}doneHandler(e){return n.__awaiter(this,void 0,void 0,function*(){const e=this.listFn();const t=yield e;const i=t.body;deleteItems(this.objects,i.items,this.callbackCache[a.DELETE]);this.addOrUpdateItems(i.items);this.watch.watch(this.path,{resourceVersion:i.metadata.resourceVersion},this.watchHandler.bind(this),this.doneHandler.bind(this))})}addOrUpdateItems(e){e.forEach(e=>{addOrUpdateObject(this.objects,e,this.callbackCache[a.ADD],this.callbackCache[a.UPDATE]);if(e.metadata.namespace){this.indexObj(e)}})}indexObj(e){let t=this.indexCache[e.metadata.namespace];if(!t){t=[];this.indexCache[e.metadata.namespace]=t}addOrUpdateObject(t,e)}watchHandler(e,t){switch(e){case"ADDED":case"MODIFIED":addOrUpdateObject(this.objects,t,this.callbackCache[a.ADD],this.callbackCache[a.UPDATE]);if(t.metadata.namespace){this.indexObj(t)}break;case"DELETED":deleteObject(this.objects,t,this.callbackCache[a.DELETE]);if(t.metadata.namespace){const e=this.indexCache[t.metadata.namespace];if(e){deleteObject(e,t)}}break}}}t.ListWatch=ListWatch;function deleteItems(e,t,i){return e.filter(e=>{if(findKubernetesObject(t,e)===-1){if(i){i.forEach(t=>t(e))}return false}return true})}t.deleteItems=deleteItems;function addOrUpdateObject(e,t,i,n){const a=findKubernetesObject(e,t);if(a===-1){e.push(t);if(i){i.forEach(e=>e(t))}}else{e[a]=t;if(n){n.forEach(e=>e(t))}}}t.addOrUpdateObject=addOrUpdateObject;function isSameObject(e,t){return e.metadata.name===t.metadata.name&&e.metadata.namespace===t.metadata.namespace}function findKubernetesObject(e,t){return e.findIndex(e=>{return isSameObject(e,t)})}function deleteObject(e,t,i){const n=findKubernetesObject(e,t);if(n!==-1){e.splice(n,1);if(i){i.forEach(e=>e(t))}}}t.deleteObject=deleteObject},function(e,t,i){"use strict";var n=i(945);e.exports=new n("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}})},,function(e,t,i){const{getCurves:n}=i(373);const{name:a}=i(997);const r=new Set;if(n().includes("prime256v1")){r.add("P-256")}if(n().includes("secp256k1")){r.add(a)}if(n().includes("secp384r1")){r.add("P-384")}if(n().includes("secp521r1")){r.add("P-521")}e.exports=r},,function(e,t,i){"use strict";const n=i(614);const a=i(211);const r=i(363);const s=i(631);const o=i(818);const{randomBytes:u,createHash:l}=i(373);const{URL:c}=i(835);const d=i(850);const p=i(954);const f=i(118);const{BINARY_TYPES:h,EMPTY_BUFFER:m,GUID:b,kStatusCode:g,kWebSocket:y,NOOP:S}=i(60);const{addEventListener:w,removeEventListener:v}=i(440);const{format:z,parse:j}=i(271);const{toBuffer:O}=i(676);const k=["CONNECTING","OPEN","CLOSING","CLOSED"];const C=[8,13];const T=30*1e3;class WebSocket extends n{constructor(e,t,i){super();this.readyState=WebSocket.CONNECTING;this.protocol="";this._binaryType=h[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._bufferedAmount=0;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(!h.includes(e))return;this._binaryType=e;if(this._receiver)this._receiver._binaryType=e}get bufferedAmount(){if(!this._socket)return this._bufferedAmount;return this._socket._writableState.length+this._sender._bufferedBytes}get extensions(){return Object.keys(this._extensions).join()}setSocket(e,t,i){const n=new p(this._binaryType,this._extensions,this._isServer,i);this._sender=new f(e,this._extensions);this._receiver=n;this._socket=e;n[y]=this;e[y]=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(){if(!this._socket){this.readyState=WebSocket.CLOSED;this.emit("close",this._closeCode,this._closeMessage);return}if(this._extensions[d.extensionName]){this._extensions[d.extensionName].cleanup()}this._receiver.removeAllListeners();this.readyState=WebSocket.CLOSED;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),T)}ping(e,t,i){if(this.readyState===WebSocket.CONNECTING){throw new Error("WebSocket is not open: readyState 0 (CONNECTING)")}if(typeof e==="function"){i=e;e=t=undefined}else if(typeof t==="function"){i=t;t=undefined}if(typeof e==="number")e=e.toString();if(this.readyState!==WebSocket.OPEN){sendAfterClose(this,e,i);return}if(t===undefined)t=!this._isServer;this._sender.ping(e||m,t,i)}pong(e,t,i){if(this.readyState===WebSocket.CONNECTING){throw new Error("WebSocket is not open: readyState 0 (CONNECTING)")}if(typeof e==="function"){i=e;e=t=undefined}else if(typeof t==="function"){i=t;t=undefined}if(typeof e==="number")e=e.toString();if(this.readyState!==WebSocket.OPEN){sendAfterClose(this,e,i);return}if(t===undefined)t=!this._isServer;this._sender.pong(e||m,t,i)}send(e,t,i){if(this.readyState===WebSocket.CONNECTING){throw new Error("WebSocket is not open: readyState 0 (CONNECTING)")}if(typeof t==="function"){i=t;t={}}if(typeof e==="number")e=e.toString();if(this.readyState!==WebSocket.OPEN){sendAfterClose(this,e,i);return}const n={binary:typeof e!=="string",mask:!this._isServer,compress:true,fin:true,...t};if(!this._extensions[d.extensionName]){n.compress=false}this._sender.send(e||m,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()}}}k.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(let e=0;e<t.length;e++){if(t[e]._listener)return t[e]._listener}return undefined},set(t){const i=this.listeners(e);for(let t=0;t<i.length;t++){if(i[t]._listener)this.removeListener(e,i[t])}this.addEventListener(e,t)}})});WebSocket.prototype.addEventListener=w;WebSocket.prototype.removeEventListener=v;e.exports=WebSocket;function initAsClient(e,t,i,n){const s={protocolVersion:C[1],maxPayload:100*1024*1024,perMessageDeflate:true,followRedirects:false,maxRedirects:10,...n,createConnection:undefined,socketPath:undefined,hostname:undefined,protocol:undefined,timeout:undefined,method:undefined,host:undefined,path:undefined,port:undefined};if(!C.includes(s.protocolVersion)){throw new RangeError(`Unsupported protocol version: ${s.protocolVersion} `+`(supported versions: ${C.join(", ")})`)}let o;if(t instanceof c){o=t;e.url=t.href}else{o=new c(t);e.url=t}const p=o.protocol==="ws+unix:";if(!o.host&&(!p||!o.pathname)){throw new Error(`Invalid URL: ${e.url}`)}const f=o.protocol==="wss:"||o.protocol==="https:";const h=f?443:80;const m=u(16).toString("base64");const g=f?a.get:r.get;let y;s.createConnection=f?tlsConnect:netConnect;s.defaultPort=s.defaultPort||h;s.port=o.port||h;s.host=o.hostname.startsWith("[")?o.hostname.slice(1,-1):o.hostname;s.headers={"Sec-WebSocket-Version":s.protocolVersion,"Sec-WebSocket-Key":m,Connection:"Upgrade",Upgrade:"websocket",...s.headers};s.path=o.pathname+o.search;s.timeout=s.handshakeTimeout;if(s.perMessageDeflate){y=new d(s.perMessageDeflate!==true?s.perMessageDeflate:{},false,s.maxPayload);s.headers["Sec-WebSocket-Extensions"]=z({[d.extensionName]:y.offer()})}if(i){s.headers["Sec-WebSocket-Protocol"]=i}if(s.origin){if(s.protocolVersion<13){s.headers["Sec-WebSocket-Origin"]=s.origin}else{s.headers.Origin=s.origin}}if(o.username||o.password){s.auth=`${o.username}:${o.password}`}if(p){const e=s.path.split(":");s.socketPath=e[0];s.path=e[1]}let S=e._req=g(s);if(s.timeout){S.on("timeout",()=>{abortHandshake(e,S,"Opening handshake has timed out")})}S.on("error",t=>{if(e._req.aborted)return;S=e._req=null;e.readyState=WebSocket.CLOSING;e.emit("error",t);e.emitClose()});S.on("response",a=>{const r=a.headers.location;const o=a.statusCode;if(r&&s.followRedirects&&o>=300&&o<400){if(++e._redirects>s.maxRedirects){abortHandshake(e,S,"Maximum redirects exceeded");return}S.abort();const a=new c(r,t);initAsClient(e,a,i,n)}else if(!e.emit("unexpected-response",S,a)){abortHandshake(e,S,`Unexpected server response: ${a.statusCode}`)}});S.on("upgrade",(t,n,a)=>{e.emit("upgrade",t);if(e.readyState!==WebSocket.CONNECTING)return;S=e._req=null;const r=l("sha1").update(m+b).digest("base64");if(t.headers["sec-websocket-accept"]!==r){abortHandshake(e,n,"Invalid Sec-WebSocket-Accept header");return}const o=t.headers["sec-websocket-protocol"];const u=(i||"").split(/, */);let c;if(!i&&o){c="Server sent a subprotocol but none was requested"}else if(i&&!o){c="Server sent no subprotocol"}else if(o&&!u.includes(o)){c="Server sent an invalid subprotocol"}if(c){abortHandshake(e,n,c);return}if(o)e.protocol=o;if(y){try{const i=j(t.headers["sec-websocket-extensions"]);if(i[d.extensionName]){y.accept(i[d.extensionName]);e._extensions[d.extensionName]=y}}catch(t){abortHandshake(e,n,"Invalid Sec-WebSocket-Extensions header");return}}e.setSocket(n,a,s.maxPayload)})}function netConnect(e){e.path=e.socketPath;return s.connect(e)}function tlsConnect(e){e.path=undefined;if(!e.servername&&e.servername!==""){e.servername=e.host}return o.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 sendAfterClose(e,t,i){if(t){const i=O(t).length;if(e._socket)e._sender._bufferedBytes+=i;else e._bufferedAmount+=i}if(i){const t=new Error(`WebSocket is not open: readyState ${e.readyState} `+`(${k[e.readyState]})`);i(t)}}function receiverOnConclude(e,t){const i=this[y];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[y]._socket.resume()}function receiverOnError(e){const t=this[y];t._socket.removeListener("data",socketOnData);t.readyState=WebSocket.CLOSING;t._closeCode=e[g];t.emit("error",e);t._socket.destroy()}function receiverOnFinish(){this[y].emitClose()}function receiverOnMessage(e){this[y].emit("message",e)}function receiverOnPing(e){const t=this[y];t.pong(e,!t._isServer,S);t.emit("ping",e)}function receiverOnPong(e){this[y].emit("pong",e)}function socketOnClose(){const e=this[y];this.removeListener("close",socketOnClose);this.removeListener("end",socketOnEnd);e.readyState=WebSocket.CLOSING;e._socket.read();e._receiver.end();this.removeListener("data",socketOnData);this[y]=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[y]._receiver.write(e)){this.pause()}}function socketOnEnd(){const e=this[y];e.readyState=WebSocket.CLOSING;e._receiver.end();this.end()}function socketOnError(){const e=this[y];this.removeListener("error",socketOnError);this.on("error",S);if(e){e.readyState=WebSocket.CLOSING;this.destroy()}}},function(e,t,i){const{deprecate:n,inspect:a}=i(669);const r=i(274);const{generate:s,generateSync:o}=i(626);const{USES_MAPPING:u}=i(771);const{isKey:l,asKey:c}=i(715);const d=(e,{alg:t,use:i,ops:n})=>{let a=0;if(t&&e.alg){a++}if(i&&e.use){a++}if(n&&e.key_ops){a++}return a};class KeyStore{constructor(...e){while(e.some(Array.isArray)){e=e.flat?e.flat():e.reduce((e,t)=>{if(Array.isArray(t)){return[...e,...t]}e.push(t);return e},[])}if(e.some(e=>!l(e)||!e.kty)){throw new TypeError("all keys must be instances of a key instantiated by JWK.asKey")}this._keys=new Set(e)}all({alg:e,kid:t,thumbprint:i,use:n,kty:a,key_ops:r,x5t:s,"x5t#S256":o,crv:l}={}){if(r!==undefined&&(!Array.isArray(r)||!r.length||r.some(e=>typeof e!=="string"))){throw new TypeError("`key_ops` must be a non-empty array of strings")}const c={alg:e,use:n,ops:r};return[...this._keys].filter(c=>{let d=true;if(d&&t!==undefined&&c.kid!==t){d=false}if(d&&i!==undefined&&c.thumbprint!==i){d=false}if(d&&s!==undefined&&c.x5t!==s){d=false}if(d&&o!==undefined&&c["x5t#S256"]!==o){d=false}if(d&&a!==undefined&&c.kty!==a){d=false}if(d&&l!==undefined&&c.crv!==l){d=false}if(e!==undefined&&!c.algorithms().has(e)){d=false}if(d&&n!==undefined&&(c.use!==undefined&&c.use!==n)){d=false}if(d&&r!==undefined&&(c.key_ops!==undefined||c.use!==undefined)){let e;if(c.key_ops){e=new Set(c.key_ops)}else{e=u[c.use]}if(r.some(t=>!e.has(t))){d=false}}return d}).sort((e,t)=>d(t,c)-d(e,c))}get(...e){return this.all(...e)[0]}add(e){if(!l(e)||!e.kty){throw new TypeError("key must be an instance of a key instantiated by JWK.asKey")}this._keys.add(e)}remove(e){if(!l(e)){throw new TypeError("key must be an instance of a key instantiated by JWK.asKey")}this._keys.delete(e)}toJWKS(e=false){return{keys:[...this._keys.values()].map(t=>t.toJWK(e&&(t.private||t.secret&&t.k)))}}async generate(...e){this._keys.add(await s(...e))}generateSync(...e){this._keys.add(o(...e))}get size(){return this._keys.size}[a.custom](){return`${this.constructor.name} ${a(this.toJWKS(false),{depth:Infinity,colors:process.stdout.isTTY,compact:false,sorted:true})}`}*[Symbol.iterator](){for(const e of this._keys){yield e}}}function asKeyStore(e,{ignoreErrors:t=false,calculateMissingRSAPrimes:i=false}={}){if(!r(e)||!Array.isArray(e.keys)||e.keys.some(e=>!r(e)||!("kty"in e))){throw new TypeError("jwks must be a JSON Web Key Set formatted object")}const n=e.keys.map(e=>{try{return c(e,{calculateMissingRSAPrimes:i})}catch(e){if(!t){throw e}}}).filter(Boolean);return new KeyStore(...n)}Object.defineProperty(KeyStore,"fromJWKS",{value:n(e=>asKeyStore(e,{calculateMissingRSAPrimes:true}),"JWKS.KeyStore.fromJWKS() is deprecated, use JWKS.asKeyStore() instead"),enumerable:false});e.exports={KeyStore:KeyStore,asKeyStore:asKeyStore}},,function(e,t,i){const n=i(65);const a=(e,t,i,a)=>{if(typeof i==="string"){a=i;i=undefined}try{return new n(e,i).inc(t,a).version}catch(e){return null}};e.exports=a},,,function(e,t,i){const n=i(150);const a=i(331);const r=i(745);const s=i(203);e.exports={decode:n,sign:a,verify:r,...s}},,function(e,t,i){const n=i(549);const a=i(295);class TokenSet{constructor(e){Object.assign(this,e)}set expires_in(e){this.expires_at=a()+Number(e)}get expires_in(){return Math.max.apply(null,[this.expires_at-a(),0])}expired(){return this.expires_in===0}claims(){if(!this.id_token){throw new TypeError("id_token not present in TokenSet")}return JSON.parse(n.decode(this.id_token.split(".")[1]))}}e.exports=TokenSet},function(e){e.exports={sign:new Map,verify:new Map,keyManagementEncrypt:new Map,keyManagementDecrypt:new Map,encrypt:new Map,decrypt:new Map}},,function(e,t,i){var n=i(602);n.register("set",_set,{allowGlobbing:false,wrapOutput:false});function _set(e){if(!e){var t=[].slice.call(arguments,0);if(t.length<2)n.error("must provide an argument");e=t[1]}var i=e[0]==="+";if(i){e="-"+e.slice(1)}e=n.parseOptions(e,{e:"fatal",v:"verbose",f:"noglob"});if(i){Object.keys(e).forEach(function(t){e[t]=!e[t]})}Object.keys(e).forEach(function(t){if(i!==e[t]){n.config[t]=e[t]}});return}e.exports=_set},,,function(e,t,i){var n=i(566),a=i(751);e.exports=terminator;function terminator(e){if(!Object.keys(this.jobs).length){return}this.index=this.size;n(this);a(e)(null,this.results)}},function(e,t,i){e.exports=SSHBuffer;var n=i(872);var a=i(215).Buffer;function SSHBuffer(e){n.object(e,"options");if(e.buffer!==undefined)n.buffer(e.buffer,"options.buffer");this._size=e.buffer?e.buffer.length:1024;this._buffer=e.buffer||a.alloc(this._size);this._offset=0}SSHBuffer.prototype.toBuffer=function(){return this._buffer.slice(0,this._offset)};SSHBuffer.prototype.atEnd=function(){return this._offset>=this._buffer.length};SSHBuffer.prototype.remainder=function(){return this._buffer.slice(this._offset)};SSHBuffer.prototype.skip=function(e){this._offset+=e};SSHBuffer.prototype.expand=function(){this._size*=2;var e=a.alloc(this._size);this._buffer.copy(e,0);this._buffer=e};SSHBuffer.prototype.readPart=function(){return{data:this.readBuffer()}};SSHBuffer.prototype.readBuffer=function(){var e=this._buffer.readUInt32BE(this._offset);this._offset+=4;n.ok(this._offset+e<=this._buffer.length,"length out of bounds at +0x"+this._offset.toString(16)+" (data truncated?)");var t=this._buffer.slice(this._offset,this._offset+e);this._offset+=e;return t};SSHBuffer.prototype.readString=function(){return this.readBuffer().toString()};SSHBuffer.prototype.readCString=function(){var e=this._offset;while(e<this._buffer.length&&this._buffer[e]!==0)e++;n.ok(e<this._buffer.length,"c string does not terminate");var t=this._buffer.slice(this._offset,e).toString();this._offset=e+1;return t};SSHBuffer.prototype.readInt=function(){var e=this._buffer.readUInt32BE(this._offset);this._offset+=4;return e};SSHBuffer.prototype.readInt64=function(){n.ok(this._offset+8<this._buffer.length,"buffer not long enough to read Int64");var e=this._buffer.slice(this._offset,this._offset+8);this._offset+=8;return e};SSHBuffer.prototype.readChar=function(){var e=this._buffer[this._offset++];return e};SSHBuffer.prototype.writeBuffer=function(e){while(this._offset+4+e.length>this._size)this.expand();this._buffer.writeUInt32BE(e.length,this._offset);this._offset+=4;e.copy(this._buffer,this._offset);this._offset+=e.length};SSHBuffer.prototype.writeString=function(e){this.writeBuffer(a.from(e,"utf8"))};SSHBuffer.prototype.writeCString=function(e){while(this._offset+1+e.length>this._size)this.expand();this._buffer.write(e,this._offset);this._offset+=e.length;this._buffer[this._offset++]=0};SSHBuffer.prototype.writeInt=function(e){while(this._offset+4>this._size)this.expand();this._buffer.writeUInt32BE(e,this._offset);this._offset+=4};SSHBuffer.prototype.writeInt64=function(e){n.buffer(e,"value");if(e.length>8){var t=e.slice(0,e.length-8);for(var i=0;i<t.length;++i){n.strictEqual(t[i],0,"must fit in 64 bits of precision")}e=e.slice(e.length-8,e.length)}while(this._offset+8>this._size)this.expand();e.copy(this._buffer,this._offset);this._offset+=8};SSHBuffer.prototype.writeChar=function(e){while(this._offset+1>this._size)this.expand();this._buffer[this._offset++]=e};SSHBuffer.prototype.writePart=function(e){this.writeBuffer(e.data)};SSHBuffer.prototype.write=function(e){while(this._offset+e.length>this._size)this.expand();e.copy(this._buffer,this._offset);this._offset+=e.length}},,function(e,t,i){var n=i(373),a=i(835).parse;var r=["acl","location","logging","notification","partNumber","policy","requestPayment","torrent","uploadId","uploads","versionId","versioning","versions","website"];function authorization(e){return"AWS "+e.key+":"+sign(e)}e.exports=authorization;e.exports.authorization=authorization;function hmacSha1(e){return n.createHmac("sha1",e.secret).update(e.message).digest("base64")}e.exports.hmacSha1=hmacSha1;function sign(e){e.message=stringToSign(e);return hmacSha1(e)}e.exports.sign=sign;function signQuery(e){e.message=queryStringToSign(e);return hmacSha1(e)}e.exports.signQuery=signQuery;function stringToSign(e){var t=e.amazonHeaders||"";if(t)t+="\n";var i=[e.verb,e.md5,e.contentType,e.date?e.date.toUTCString():"",t+e.resource];return i.join("\n")}e.exports.stringToSign=stringToSign;function queryStringToSign(e){return"GET\n\n\n"+e.date+"\n"+e.resource}e.exports.queryStringToSign=queryStringToSign;function canonicalizeHeaders(e){var t=[],i=Object.keys(e);for(var n=0,a=i.length;n<a;++n){var r=i[n],s=e[r],r=r.toLowerCase();if(0!==r.indexOf("x-amz"))continue;t.push(r+":"+s)}return t.sort().join("\n")}e.exports.canonicalizeHeaders=canonicalizeHeaders;function canonicalizeResource(e){var t=a(e,true),i=t.pathname,n=[];Object.keys(t.query).forEach(function(e){if(!~r.indexOf(e))return;var i=""==t.query[e]?"":"="+encodeURIComponent(t.query[e]);n.push(e+i)});return i+(n.length?"?"+n.sort().join("&"):"")}e.exports.canonicalizeResource=canonicalizeResource},,function(e){e.exports=isTypedArray;isTypedArray.strict=isStrictTypedArray;isTypedArray.loose=isLooseTypedArray;var t=Object.prototype.toString;var i={"[object Int8Array]":true,"[object Int16Array]":true,"[object Int32Array]":true,"[object Uint8Array]":true,"[object Uint8ClampedArray]":true,"[object Uint16Array]":true,"[object Uint32Array]":true,"[object Float32Array]":true,"[object Float64Array]":true};function isTypedArray(e){return isStrictTypedArray(e)||isLooseTypedArray(e)}function isStrictTypedArray(e){return e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array}function isLooseTypedArray(e){return i[t.call(e)]}},function(e,t,i){"use strict";var n=i(556);var a=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"];var r=["scalar","sequence","mapping"];function compileStyleAliases(e){var t={};if(e!==null){Object.keys(e).forEach(function(i){e[i].forEach(function(e){t[String(e)]=i})})}return t}function Type(e,t){t=t||{};Object.keys(t).forEach(function(t){if(a.indexOf(t)===-1){throw new n('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}});this.tag=e;this.kind=t["kind"]||null;this.resolve=t["resolve"]||function(){return true};this.construct=t["construct"]||function(e){return e};this.instanceOf=t["instanceOf"]||null;this.predicate=t["predicate"]||null;this.represent=t["represent"]||null;this.defaultStyle=t["defaultStyle"]||null;this.styleAliases=compileStyleAliases(t["styleAliases"]||null);if(r.indexOf(this.kind)===-1){throw new n('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}}e.exports=Type},function(e,t,i){"use strict";const n=i(614);const a=i(835);const r=i(53);const s=i(780);const o=i(632);const u=i(141);const l=i(784);const c=i(218);const d=i(303);class CacheableRequest{constructor(e,t){if(typeof e!=="function"){throw new TypeError("Parameter `request` must be a function")}this.cache=new d({uri:typeof t==="string"&&t,store:typeof t!=="string"&&t,namespace:"cacheable-request"});return this.createCacheableRequest(e)}createCacheableRequest(e){return(t,i)=>{let d;if(typeof t==="string"){d=normalizeUrlObject(a.parse(t));t={}}else if(t instanceof a.URL){d=normalizeUrlObject(a.parse(t.toString()));t={}}else{const[e,...i]=(t.path||"").split("?");const n=i.length>0?`?${i.join("?")}`:"";d=normalizeUrlObject({...t,pathname:e,search:n})}t={headers:{},method:"GET",cache:true,strictTtl:false,automaticFailover:false,...t,...urlObjectToRequestOptions(d)};t.headers=l(t.headers);const p=new n;const f=r(a.format(d),{stripWWW:false,removeTrailingSlash:false,stripAuthentication:false});const h=`${t.method}:${f}`;let m=false;let b=false;const g=t=>{b=true;let n=false;let a;const r=new Promise(e=>{a=(()=>{if(!n){n=true;e()}})});const l=e=>{if(m&&!t.forceRefresh){e.status=e.statusCode;const i=o.fromObject(m.cachePolicy).revalidatedPolicy(t,e);if(!i.modified){const t=i.policy.responseHeaders();e=new u(m.statusCode,t,m.body,m.url);e.cachePolicy=i.policy;e.fromCache=true}}if(!e.fromCache){e.cachePolicy=new o(t,e,t);e.fromCache=false}let a;if(t.cache&&e.cachePolicy.storable()){a=c(e);(async()=>{try{const i=s.buffer(e);await Promise.race([r,new Promise(t=>e.once("end",t))]);if(n){return}const a=await i;const o={cachePolicy:e.cachePolicy.toObject(),url:e.url,statusCode:e.fromCache?m.statusCode:e.statusCode,body:a};let u=t.strictTtl?e.cachePolicy.timeToLive():undefined;if(t.maxTtl){u=u?Math.min(u,t.maxTtl):t.maxTtl}await this.cache.set(h,o,u)}catch(e){p.emit("error",new CacheableRequest.CacheError(e))}})()}else if(t.cache&&m){(async()=>{try{await this.cache.delete(h)}catch(e){p.emit("error",new CacheableRequest.CacheError(e))}})()}p.emit("response",a||e);if(typeof i==="function"){i(a||e)}};try{const i=e(t,l);i.once("error",a);i.once("abort",a);p.emit("request",i)}catch(e){p.emit("error",new CacheableRequest.RequestError(e))}};(async()=>{const e=async e=>{await Promise.resolve();const t=e.cache?await this.cache.get(h):undefined;if(typeof t==="undefined"){return g(e)}const n=o.fromObject(t.cachePolicy);if(n.satisfiesWithoutRevalidation(e)&&!e.forceRefresh){const e=n.responseHeaders();const a=new u(t.statusCode,e,t.body,t.url);a.cachePolicy=n;a.fromCache=true;p.emit("response",a);if(typeof i==="function"){i(a)}}else{m=t;e.headers=n.revalidationHeaders(e);g(e)}};const n=e=>p.emit("error",new CacheableRequest.CacheError(e));this.cache.once("error",n);p.on("response",()=>this.cache.removeListener("error",n));try{await e(t)}catch(e){if(t.automaticFailover&&!b){g(t)}p.emit("error",new CacheableRequest.CacheError(e))}})();return p}}}function urlObjectToRequestOptions(e){const t={...e};t.path=`${e.pathname||"/"}${e.search||""}`;delete t.pathname;delete t.search;return t}function normalizeUrlObject(e){return{protocol:e.protocol,auth:e.auth,hostname:e.hostname||e.host||"localhost",port:e.port,pathname:e.pathname,search:e.search}}CacheableRequest.RequestError=class extends Error{constructor(e){super(e.message);this.name="RequestError";Object.assign(this,e)}};CacheableRequest.CacheError=class extends Error{constructor(e){super(e.message);this.name="CacheError";Object.assign(this,e)}};e.exports=CacheableRequest},function(e,t,i){"use strict";var n=i(945);var a=Object.prototype.toString;function resolveYamlPairs(e){if(e===null)return true;var t,i,n,r,s,o=e;s=new Array(o.length);for(t=0,i=o.length;t<i;t+=1){n=o[t];if(a.call(n)!=="[object Object]")return false;r=Object.keys(n);if(r.length!==1)return false;s[t]=[r[0],n[r[0]]]}return true}function constructYamlPairs(e){if(e===null)return[];var t,i,n,a,r,s=e;r=new Array(s.length);for(t=0,i=s.length;t<i;t+=1){n=s[t];a=Object.keys(n);r[t]=[a[0],n[a[0]]]}return r}e.exports=new n("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:resolveYamlPairs,construct:constructYamlPairs})},,,,,function(e,t,i){"use strict";var n=i(522);e.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:n.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:n.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},function(e,t,i){var n=i(602);var a=i(87);var r=i(747);n.register("tempdir",_tempDir,{allowGlobbing:false,wrapOutput:false});function writeableDir(e){if(!e||!r.existsSync(e))return false;if(!n.statFollowLinks(e).isDirectory())return false;var t=e+"/"+n.randomFileName();try{r.writeFileSync(t," ");n.unlinkSync(t);return e}catch(e){return false}}var s;function _tempDir(){if(s)return s;s=writeableDir(a.tmpdir())||writeableDir(process.env.TMPDIR)||writeableDir(process.env.TEMP)||writeableDir(process.env.TMP)||writeableDir(process.env.Wimp$ScrapDir)||writeableDir("C:\\TEMP")||writeableDir("C:\\TMP")||writeableDir("\\TEMP")||writeableDir("\\TMP")||writeableDir("/tmp")||writeableDir("/var/tmp")||writeableDir("/usr/tmp")||writeableDir(".");return s}function isCached(){return s}function clearCache(){s=undefined}e.exports.tempDir=_tempDir;e.exports.isCached=isCached;e.exports.clearCache=clearCache},function(e,t,i){"use strict";const{Writable:n}=i(413);const a=i(850);const{BINARY_TYPES:r,EMPTY_BUFFER:s,kStatusCode:o,kWebSocket:u}=i(60);const{concat:l,toArrayBuffer:c,unmask:d}=i(676);const{isValidStatusCode:p,isValidUTF8:f}=i(829);const h=0;const m=1;const b=2;const g=3;const y=4;const S=5;class Receiver extends n{constructor(e,t,i,n){super();this._binaryType=e||r[0];this[u]=undefined;this._extensions=t||{};this._isServer=!!i;this._maxPayload=n|0;this._bufferedBytes=0;this._buffers=[];this._compressed=false;this._payloadLength=0;this._mask=undefined;this._fragmented=0;this._masked=false;this._fin=false;this._opcode=0;this._totalPayloadLength=0;this._messageLength=0;this._fragments=[];this._state=h;this._loop=false}_write(e,t,i){if(this._opcode===8&&this._state==h)return i();this._bufferedBytes+=e.length;this._buffers.push(e);this.startLoop(i)}consume(e){this._bufferedBytes-=e;if(e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){const t=this._buffers[0];this._buffers[0]=t.slice(e);return t.slice(0,e)}const t=Buffer.allocUnsafe(e);do{const i=this._buffers[0];const n=t.length-e;if(e>=i.length){t.set(this._buffers.shift(),n)}else{t.set(new Uint8Array(i.buffer,i.byteOffset,e),n);this._buffers[0]=i.slice(e)}e-=i.length}while(e>0);return t}startLoop(e){let t;this._loop=true;do{switch(this._state){case h:t=this.getInfo();break;case m:t=this.getPayloadLength16();break;case b:t=this.getPayloadLength64();break;case g:this.getMask();break;case y:t=this.getData(e);break;default:this._loop=false;return}}while(this._loop);e(t)}getInfo(){if(this._bufferedBytes<2){this._loop=false;return}const e=this.consume(2);if((e[0]&48)!==0){this._loop=false;return error(RangeError,"RSV2 and RSV3 must be clear",true,1002)}const t=(e[0]&64)===64;if(t&&!this._extensions[a.extensionName]){this._loop=false;return error(RangeError,"RSV1 must be clear",true,1002)}this._fin=(e[0]&128)===128;this._opcode=e[0]&15;this._payloadLength=e[1]&127;if(this._opcode===0){if(t){this._loop=false;return error(RangeError,"RSV1 must be clear",true,1002)}if(!this._fragmented){this._loop=false;return error(RangeError,"invalid opcode 0",true,1002)}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){this._loop=false;return error(RangeError,`invalid opcode ${this._opcode}`,true,1002)}this._compressed=t}else if(this._opcode>7&&this._opcode<11){if(!this._fin){this._loop=false;return error(RangeError,"FIN must be set",true,1002)}if(t){this._loop=false;return error(RangeError,"RSV1 must be clear",true,1002)}if(this._payloadLength>125){this._loop=false;return error(RangeError,`invalid payload length ${this._payloadLength}`,true,1002)}}else{this._loop=false;return error(RangeError,`invalid opcode ${this._opcode}`,true,1002)}if(!this._fin&&!this._fragmented)this._fragmented=this._opcode;this._masked=(e[1]&128)===128;if(this._isServer){if(!this._masked){this._loop=false;return error(RangeError,"MASK must be set",true,1002)}}else if(this._masked){this._loop=false;return error(RangeError,"MASK must be clear",true,1002)}if(this._payloadLength===126)this._state=m;else if(this._payloadLength===127)this._state=b;else return this.haveLength()}getPayloadLength16(){if(this._bufferedBytes<2){this._loop=false;return}this._payloadLength=this.consume(2).readUInt16BE(0);return this.haveLength()}getPayloadLength64(){if(this._bufferedBytes<8){this._loop=false;return}const e=this.consume(8);const t=e.readUInt32BE(0);if(t>Math.pow(2,53-32)-1){this._loop=false;return error(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",false,1009)}this._payloadLength=t*Math.pow(2,32)+e.readUInt32BE(4);return this.haveLength()}haveLength(){if(this._payloadLength&&this._opcode<8){this._totalPayloadLength+=this._payloadLength;if(this._totalPayloadLength>this._maxPayload&&this._maxPayload>0){this._loop=false;return error(RangeError,"Max payload size exceeded",false,1009)}}if(this._masked)this._state=g;else this._state=y}getMask(){if(this._bufferedBytes<4){this._loop=false;return}this._mask=this.consume(4);this._state=y}getData(e){let t=s;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength){this._loop=false;return}t=this.consume(this._payloadLength);if(this._masked)d(t,this._mask)}if(this._opcode>7)return this.controlMessage(t);if(this._compressed){this._state=S;this.decompress(t,e);return}if(t.length){this._messageLength=this._totalPayloadLength;this._fragments.push(t)}return this.dataMessage()}decompress(e,t){const i=this._extensions[a.extensionName];i.decompress(e,this._fin,(e,i)=>{if(e)return t(e);if(i.length){this._messageLength+=i.length;if(this._messageLength>this._maxPayload&&this._maxPayload>0){return t(error(RangeError,"Max payload size exceeded",false,1009))}this._fragments.push(i)}const n=this.dataMessage();if(n)return t(n);this.startLoop(t)})}dataMessage(){if(this._fin){const e=this._messageLength;const t=this._fragments;this._totalPayloadLength=0;this._messageLength=0;this._fragmented=0;this._fragments=[];if(this._opcode===2){let i;if(this._binaryType==="nodebuffer"){i=l(t,e)}else if(this._binaryType==="arraybuffer"){i=c(l(t,e))}else{i=t}this.emit("message",i)}else{const i=l(t,e);if(!f(i)){this._loop=false;return error(Error,"invalid UTF-8 sequence",true,1007)}this.emit("message",i.toString())}}this._state=h}controlMessage(e){if(this._opcode===8){this._loop=false;if(e.length===0){this.emit("conclude",1005,"");this.end()}else if(e.length===1){return error(RangeError,"invalid payload length 1",true,1002)}else{const t=e.readUInt16BE(0);if(!p(t)){return error(RangeError,`invalid status code ${t}`,true,1002)}const i=e.slice(2);if(!f(i)){return error(Error,"invalid UTF-8 sequence",true,1007)}this.emit("conclude",t,i.toString());this.end()}}else if(this._opcode===9){this.emit("ping",e)}else{this.emit("pong",e)}this._state=h}}e.exports=Receiver;function error(e,t,i,n){const a=new e(i?`Invalid WebSocket frame: ${t}`:t);Error.captureStackTrace(a,error);a[o]=n;return a}},function(e,t,i){"use strict";var n=i(855);e.exports=SchemaObject;function SchemaObject(e){n.copy(e,this)}},function(e,t,i){var n=i(872);var a=i(669);var r=i(887);var s=i(286).isError;var o=r.sprintf;e.exports=VError;VError.VError=VError;VError.SError=SError;VError.WError=WError;VError.MultiError=MultiError;function parseConstructorArguments(e){var t,i,a,r,u;n.object(e,"args");n.bool(e.strict,"args.strict");n.array(e.argv,"args.argv");t=e.argv;if(t.length===0){i={};a=[]}else if(s(t[0])){i={cause:t[0]};a=t.slice(1)}else if(typeof t[0]==="object"){i={};for(u in t[0]){i[u]=t[0][u]}a=t.slice(1)}else{n.string(t[0],"first argument to VError, SError, or WError "+"constructor must be a string, object, or Error");i={};a=t}n.object(i);if(!i.strict&&!e.strict){a=a.map(function(e){return e===null?"null":e===undefined?"undefined":e})}if(a.length===0){r=""}else{r=o.apply(null,a)}return{options:i,shortmessage:r}}function VError(){var e,t,i,a,r,o,u;e=Array.prototype.slice.call(arguments,0);if(!(this instanceof VError)){t=Object.create(VError.prototype);VError.apply(t,arguments);return t}i=parseConstructorArguments({argv:e,strict:false});if(i.options.name){n.string(i.options.name,'error\'s "name" must be a string');this.name=i.options.name}this.jse_shortmsg=i.shortmessage;o=i.shortmessage;a=i.options.cause;if(a){n.ok(s(a),"cause is not an Error");this.jse_cause=a;if(!i.options.skipCauseMessage){o+=": "+a.message}}this.jse_info={};if(i.options.info){for(u in i.options.info){this.jse_info[u]=i.options.info[u]}}this.message=o;Error.call(this,o);if(Error.captureStackTrace){r=i.options.constructorOpt||this.constructor;Error.captureStackTrace(this,r)}return this}a.inherits(VError,Error);VError.prototype.name="VError";VError.prototype.toString=function ve_toString(){var e=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;if(this.message)e+=": "+this.message;return e};VError.prototype.cause=function ve_cause(){var e=VError.cause(this);return e===null?undefined:e};VError.cause=function(e){n.ok(s(e),"err must be an Error");return s(e.jse_cause)?e.jse_cause:null};VError.info=function(e){var t,i,a;n.ok(s(e),"err must be an Error");i=VError.cause(e);if(i!==null){t=VError.info(i)}else{t={}}if(typeof e.jse_info=="object"&&e.jse_info!==null){for(a in e.jse_info){t[a]=e.jse_info[a]}}return t};VError.findCauseByName=function(e,t){var i;n.ok(s(e),"err must be an Error");n.string(t,"name");n.ok(t.length>0,"name cannot be empty");for(i=e;i!==null;i=VError.cause(i)){n.ok(s(i));if(i.name==t){return i}}return null};VError.hasCauseWithName=function(e,t){return VError.findCauseByName(e,t)!==null};VError.fullStack=function(e){n.ok(s(e),"err must be an Error");var t=VError.cause(e);if(t){return e.stack+"\ncaused by: "+VError.fullStack(t)}return e.stack};VError.errorFromList=function(e){n.arrayOfObject(e,"errors");if(e.length===0){return null}e.forEach(function(e){n.ok(s(e))});if(e.length==1){return e[0]}return new MultiError(e)};VError.errorForEach=function(e,t){n.ok(s(e),"err must be an Error");n.func(t,"func");if(e instanceof MultiError){e.errors().forEach(function iterError(e){t(e)})}else{t(e)}};function SError(){var e,t,i,n;e=Array.prototype.slice.call(arguments,0);if(!(this instanceof SError)){t=Object.create(SError.prototype);SError.apply(t,arguments);return t}i=parseConstructorArguments({argv:e,strict:true});n=i.options;VError.call(this,n,"%s",i.shortmessage);return this}a.inherits(SError,VError);function MultiError(e){n.array(e,"list of errors");n.ok(e.length>0,"must be at least one error");this.ase_errors=e;VError.call(this,{cause:e[0]},"first of %d error%s",e.length,e.length==1?"":"s")}a.inherits(MultiError,VError);MultiError.prototype.name="MultiError";MultiError.prototype.errors=function me_errors(){return this.ase_errors.slice(0)};function WError(){var e,t,i,n;e=Array.prototype.slice.call(arguments,0);if(!(this instanceof WError)){t=Object.create(WError.prototype);WError.apply(t,e);return t}i=parseConstructorArguments({argv:e,strict:false});n=i.options;n["skipCauseMessage"]=true;VError.call(this,n,"%s",i.shortmessage);return this}a.inherits(WError,VError);WError.prototype.name="WError";WError.prototype.toString=function we_toString(){var e=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;if(this.message)e+=": "+this.message;if(this.jse_cause&&this.jse_cause.message)e+="; caused by "+this.jse_cause.toString();return e};WError.prototype.cause=function we_cause(e){if(s(e))this.jse_cause=e;return this.jse_cause}},function(e,t,i){"use strict";const n=i(631);class TimeoutError extends Error{constructor(e,t){super(`Timeout awaiting '${t}' for ${e}ms`);this.name="TimeoutError";this.code="ETIMEDOUT";this.event=t}}const a=Symbol("reentry");const r=()=>{};e.exports=((e,t,i)=>{if(e[a]){return}e[a]=true;let s=false;const o=(e,t,...i)=>{if(s){return r}let n;const a=setTimeout(()=>{n=setImmediate(t,e,...i);if(n.unref){n.unref()}},e);if(a.unref){a.unref()}const o=()=>{clearTimeout(a);clearImmediate(n)};d.push(o);return o};const{host:u,hostname:l}=i;const c=(t,i)=>{e.emit("error",new TimeoutError(t,i));e.once("error",()=>{});e.abort()};const d=[];const p=()=>{s=true;d.forEach(e=>e())};e.once("error",p);e.once("response",e=>{e.once("end",p)});if(t.request!==undefined){o(t.request,c,"request")}if(t.socket!==undefined){const i=()=>{c(t.socket,"socket")};e.setTimeout(t.socket,i);d.push(()=>e.removeListener("timeout",i))}if(t.lookup!==undefined&&!e.socketPath&&!n.isIP(l||u)){e.once("socket",e=>{if(e.connecting){const i=o(t.lookup,c,"lookup");e.once("lookup",i)}})}if(t.connect!==undefined){e.once("socket",i=>{if(i.connecting){const a=()=>o(t.connect,c,"connect");if(e.socketPath||n.isIP(l||u)){i.once("connect",a())}else{i.once("lookup",e=>{if(e===null){i.once("connect",a())}})}}})}if(t.secureConnect!==undefined&&i.protocol==="https:"){e.once("socket",e=>{if(e.connecting){e.once("connect",()=>{const i=o(t.secureConnect,c,"secureConnect");e.once("secureConnect",i)})}})}if(t.send!==undefined){e.once("socket",i=>{const n=()=>o(t.send,c,"send");if(i.connecting){i.once("connect",()=>{e.once("upload-complete",n())})}else{e.once("upload-complete",n())}})}if(t.response!==undefined){e.once("upload-complete",()=>{const i=o(t.response,c,"response");e.once("response",i)})}});e.exports.TimeoutError=TimeoutError},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(818);const a=(e,t)=>{let i;if(typeof t==="function"){const e=t;i={connect:e}}else{i=t}const a=typeof i.connect==="function";const r=typeof i.secureConnect==="function";const s=typeof i.close==="function";const o=()=>{if(a){i.connect()}if(e instanceof n.TLSSocket&&r){if(e.authorized){i.secureConnect()}else if(!e.authorizationError){e.once("secureConnect",i.secureConnect)}}if(s){e.once("close",i.close)}};if(e.writable&&!e.connecting){o()}else if(e.connecting){e.once("connect",o)}else if(e.destroyed&&s){i.close(e._hadError)}};t.default=a;e.exports=a;e.exports.default=a},function(e,t,i){var n=i(242).BigInteger;var a=i(729).ECCurveFp;function X9ECParameters(e,t,i,n){this.curve=e;this.g=t;this.n=i;this.h=n}function x9getCurve(){return this.curve}function x9getG(){return this.g}function x9getN(){return this.n}function x9getH(){return this.h}X9ECParameters.prototype.getCurve=x9getCurve;X9ECParameters.prototype.getG=x9getG;X9ECParameters.prototype.getN=x9getN;X9ECParameters.prototype.getH=x9getH;function fromHex(e){return new n(e,16)}function secp128r1(){var e=fromHex("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF");var t=fromHex("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC");var i=fromHex("E87579C11079F43DD824993C2CEE5ED3");var r=fromHex("FFFFFFFE0000000075A30D1B9038A115");var s=n.ONE;var o=new a(e,t,i);var u=o.decodePointHex("04"+"161FF7528B899B2D0C28607CA52C5B86"+"CF5AC8395BAFEB13C02DA292DDED7A83");return new X9ECParameters(o,u,r,s)}function secp160k1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73");var t=n.ZERO;var i=fromHex("7");var r=fromHex("0100000000000000000001B8FA16DFAB9ACA16B6B3");var s=n.ONE;var o=new a(e,t,i);var u=o.decodePointHex("04"+"3B4C382CE37AA192A4019E763036F4F5DD4D7EBB"+"938CF935318FDCED6BC28286531733C3F03C4FEE");return new X9ECParameters(o,u,r,s)}function secp160r1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF");var t=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC");var i=fromHex("1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45");var r=fromHex("0100000000000000000001F4C8F927AED3CA752257");var s=n.ONE;var o=new a(e,t,i);var u=o.decodePointHex("04"+"4A96B5688EF573284664698968C38BB913CBFC82"+"23A628553168947D59DCC912042351377AC5FB32");return new X9ECParameters(o,u,r,s)}function secp192k1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37");var t=n.ZERO;var i=fromHex("3");var r=fromHex("FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D");var s=n.ONE;var o=new a(e,t,i);var u=o.decodePointHex("04"+"DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D"+"9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D");return new X9ECParameters(o,u,r,s)}function secp192r1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF");var t=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC");var i=fromHex("64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1");var r=fromHex("FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831");var s=n.ONE;var o=new a(e,t,i);var u=o.decodePointHex("04"+"188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF1012"+"07192B95FFC8DA78631011ED6B24CDD573F977A11E794811");return new X9ECParameters(o,u,r,s)}function secp224r1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001");var t=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE");var i=fromHex("B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4");var r=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D");var s=n.ONE;var o=new a(e,t,i);var u=o.decodePointHex("04"+"B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21"+"BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34");return new X9ECParameters(o,u,r,s)}function secp256r1(){var e=fromHex("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF");var t=fromHex("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC");var i=fromHex("5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B");var r=fromHex("FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551");var s=n.ONE;var o=new a(e,t,i);var u=o.decodePointHex("04"+"6B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C296"+"4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5");return new X9ECParameters(o,u,r,s)}function getSECCurveByName(e){if(e=="secp128r1")return secp128r1();if(e=="secp160k1")return secp160k1();if(e=="secp160r1")return secp160r1();if(e=="secp192k1")return secp192k1();if(e=="secp192r1")return secp192r1();if(e=="secp224r1")return secp224r1();if(e=="secp256r1")return secp256r1();return null}e.exports={secp128r1:secp128r1,secp160k1:secp160k1,secp160r1:secp160r1,secp192k1:secp192k1,secp192r1:secp192r1,secp224r1:secp224r1,secp256r1:secp256r1}},function(e,t,i){e.exports={der:i(94),pem:i(265)}},,function(e,t,i){const n=i(923);const a=i(651);const r=i(934);const s=i(18);const o=i(994);const u=i(798);const l=i(563);e.exports={EC_CURVES:n,ECDH_DERIVE_LENGTHS:l,IVLENGTHS:a,JWA:r,JWK:s,KEYLENGTHS:o,OKP_CURVES:u}},,function(e,t,i){"use strict";var n=i(373);function randomString(e){var t=(e+1)*6;var i=n.randomBytes(Math.ceil(t/8));var a=i.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"");return a.slice(0,e)}function calculatePayloadHash(e,t,i){var a=n.createHash(t);a.update("hawk.1.payload\n");a.update((i?i.split(";")[0].trim().toLowerCase():"")+"\n");a.update(e||"");a.update("\n");return a.digest("base64")}t.calculateMac=function(e,t){var i="hawk.1.header\n"+t.ts+"\n"+t.nonce+"\n"+(t.method||"").toUpperCase()+"\n"+t.resource+"\n"+t.host.toLowerCase()+"\n"+t.port+"\n"+(t.hash||"")+"\n";if(t.ext){i=i+t.ext.replace("\\","\\\\").replace("\n","\\n")}i=i+"\n";if(t.app){i=i+t.app+"\n"+(t.dlg||"")+"\n"}var a=n.createHmac(e.algorithm,e.key).update(i);var r=a.digest("base64");return r};t.header=function(e,i,n){var a=n.timestamp||Math.floor((Date.now()+(n.localtimeOffsetMsec||0))/1e3);var r=n.credentials;if(!r||!r.id||!r.key||!r.algorithm){return""}if(["sha1","sha256"].indexOf(r.algorithm)===-1){return""}var s={ts:a,nonce:n.nonce||randomString(6),method:i,resource:e.pathname+(e.search||""),host:e.hostname,port:e.port||(e.protocol==="http:"?80:443),hash:n.hash,ext:n.ext,app:n.app,dlg:n.dlg};if(!s.hash&&(n.payload||n.payload==="")){s.hash=calculatePayloadHash(n.payload,r.algorithm,n.contentType)}var o=t.calculateMac(r,s);var u=s.ext!==null&&s.ext!==undefined&&s.ext!=="";var l='Hawk id="'+r.id+'", ts="'+s.ts+'", nonce="'+s.nonce+(s.hash?'", hash="'+s.hash:"")+(u?'", ext="'+s.ext.replace(/\\/g,"\\\\").replace(/"/g,'\\"'):"")+'", mac="'+o+'"';if(s.app){l=l+', app="'+s.app+(s.dlg?'", dlg="'+s.dlg:"")+'"'}return l}},function(e,t,i){const{createSign:n,createVerify:a}=i(373);const{KEYOBJECT:r}=i(771);const s=i(165);const{asInput:o}=i(40);const u=(e,{[r]:t},i)=>{return n(e).update(i).sign(o(t,false))};const l=(e,{[r]:t},i,n)=>{return a(e).update(i).verify(o(t,true),n)};const c={RS256:0,RS384:624,RS512:752};e.exports=((e,t)=>{["RS256","RS384","RS512"].forEach(i=>{const n=s(i);e.sign.set(i,u.bind(undefined,n));e.verify.set(i,l.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>=c[i])})})},function(e,t,i){e.exports=Certificate;var n=i(872);var a=i(215).Buffer;var r=i(98);var s=i(373);var o=i(400);var u=i(575);var l=i(753);var c=i(669);var d=i(270);var p=i(852);var f=i(502);var h=i(378);var m={};m["openssh"]=i(893);m["x509"]=i(866);m["pem"]=i(680);var b=l.CertificateParseError;var g=l.InvalidAlgorithmError;function Certificate(e){n.object(e,"options");n.arrayOfObject(e.subjects,"options.subjects");d.assertCompatible(e.subjects[0],h,[1,0],"options.subjects");d.assertCompatible(e.subjectKey,p,[1,0],"options.subjectKey");d.assertCompatible(e.issuer,h,[1,0],"options.issuer");if(e.issuerKey!==undefined){d.assertCompatible(e.issuerKey,p,[1,0],"options.issuerKey")}n.object(e.signatures,"options.signatures");n.buffer(e.serial,"options.serial");n.date(e.validFrom,"options.validFrom");n.date(e.validUntil,"optons.validUntil");n.optionalArrayOfString(e.purposes,"options.purposes");this._hashCache={};this.subjects=e.subjects;this.issuer=e.issuer;this.subjectKey=e.subjectKey;this.issuerKey=e.issuerKey;this.signatures=e.signatures;this.serial=e.serial;this.validFrom=e.validFrom;this.validUntil=e.validUntil;this.purposes=e.purposes}Certificate.formats=m;Certificate.prototype.toBuffer=function(e,t){if(e===undefined)e="x509";n.string(e,"format");n.object(m[e],"formats[format]");n.optionalObject(t,"options");return m[e].write(this,t)};Certificate.prototype.toString=function(e,t){if(e===undefined)e="pem";return this.toBuffer(e,t).toString()};Certificate.prototype.fingerprint=function(e){if(e===undefined)e="sha256";n.string(e,"algorithm");var t={type:"certificate",hash:this.hash(e),algorithm:e};return new o(t)};Certificate.prototype.hash=function(e){n.string(e,"algorithm");e=e.toLowerCase();if(r.hashAlgs[e]===undefined)throw new g(e);if(this._hashCache[e])return this._hashCache[e];var t=s.createHash(e).update(this.toBuffer("x509")).digest();this._hashCache[e]=t;return t};Certificate.prototype.isExpired=function(e){if(e===undefined)e=new Date;return!(e.getTime()>=this.validFrom.getTime()&&e.getTime()<this.validUntil.getTime())};Certificate.prototype.isSignedBy=function(e){d.assertCompatible(e,Certificate,[1,0],"issuer");if(!this.issuer.equals(e.subjects[0]))return false;if(this.issuer.purposes&&this.issuer.purposes.length>0&&this.issuer.purposes.indexOf("ca")===-1){return false}return this.isSignedByKey(e.subjectKey)};Certificate.prototype.getExtension=function(e){n.string(e,"keyOrOid");var t=this.getExtensions().filter(function(t){if(t.format==="x509")return t.oid===e;if(t.format==="openssh")return t.name===e;return false})[0];return t};Certificate.prototype.getExtensions=function(){var e=[];var t=this.signatures.x509;if(t&&t.extras&&t.extras.exts){t.extras.exts.forEach(function(t){t.format="x509";e.push(t)})}var i=this.signatures.openssh;if(i&&i.exts){i.exts.forEach(function(t){t.format="openssh";e.push(t)})}return e};Certificate.prototype.isSignedByKey=function(e){d.assertCompatible(e,p,[1,2],"issuerKey");if(this.issuerKey!==undefined){return this.issuerKey.fingerprint("sha512").matches(e)}var t=Object.keys(this.signatures)[0];var i=m[t].verify(this,e);if(i)this.issuerKey=e;return i};Certificate.prototype.signWith=function(e){d.assertCompatible(e,f,[1,2],"key");var t=Object.keys(m);var i=false;for(var n=0;n<t.length;++n){if(t[n]!=="pem"){var a=m[t[n]].sign(this,e);if(a===true)i=true}}if(!i){throw new Error("Failed to sign the certificate for any "+"available certificate formats")}};Certificate.createSelfSigned=function(e,t,i){var r;if(Array.isArray(e))r=e;else r=[e];n.arrayOfObject(r);r.forEach(function(e){d.assertCompatible(e,h,[1,0],"subject")});d.assertCompatible(t,f,[1,2],"private key");n.optionalObject(i,"options");if(i===undefined)i={};n.optionalObject(i.validFrom,"options.validFrom");n.optionalObject(i.validUntil,"options.validUntil");var s=i.validFrom;var o=i.validUntil;if(s===undefined)s=new Date;if(o===undefined){n.optionalNumber(i.lifetime,"options.lifetime");var u=i.lifetime;if(u===undefined)u=10*365*24*3600;o=new Date;o.setTime(o.getTime()+u*1e3)}n.optionalBuffer(i.serial,"options.serial");var l=i.serial;if(l===undefined)l=a.from("0000000000000001","hex");var c=i.purposes;if(c===undefined)c=[];if(c.indexOf("signature")===-1)c.push("signature");if(c.indexOf("ca")===-1)c.push("ca");if(c.indexOf("crl")===-1)c.push("crl");if(c.length<=3){var p=r.filter(function(e){return e.type==="host"});var m=r.filter(function(e){return e.type==="user"});if(p.length>0){if(c.indexOf("serverAuth")===-1)c.push("serverAuth")}if(m.length>0){if(c.indexOf("clientAuth")===-1)c.push("clientAuth")}if(m.length>0||p.length>0){if(c.indexOf("keyAgreement")===-1)c.push("keyAgreement");if(t.type==="rsa"&&c.indexOf("encryption")===-1)c.push("encryption")}}var b=new Certificate({subjects:r,issuer:r[0],subjectKey:t.toPublic(),issuerKey:t.toPublic(),signatures:{},serial:l,validFrom:s,validUntil:o,purposes:c});b.signWith(t);return b};Certificate.create=function(e,t,i,r,s){var o;if(Array.isArray(e))o=e;else o=[e];n.arrayOfObject(o);o.forEach(function(e){d.assertCompatible(e,h,[1,0],"subject")});d.assertCompatible(t,p,[1,0],"key");if(f.isPrivateKey(t))t=t.toPublic();d.assertCompatible(i,h,[1,0],"issuer");d.assertCompatible(r,f,[1,2],"issuer key");n.optionalObject(s,"options");if(s===undefined)s={};n.optionalObject(s.validFrom,"options.validFrom");n.optionalObject(s.validUntil,"options.validUntil");var u=s.validFrom;var l=s.validUntil;if(u===undefined)u=new Date;if(l===undefined){n.optionalNumber(s.lifetime,"options.lifetime");var c=s.lifetime;if(c===undefined)c=10*365*24*3600;l=new Date;l.setTime(l.getTime()+c*1e3)}n.optionalBuffer(s.serial,"options.serial");var m=s.serial;if(m===undefined)m=a.from("0000000000000001","hex");var b=s.purposes;if(b===undefined)b=[];if(b.indexOf("signature")===-1)b.push("signature");if(s.ca===true){if(b.indexOf("ca")===-1)b.push("ca");if(b.indexOf("crl")===-1)b.push("crl")}var g=o.filter(function(e){return e.type==="host"});var y=o.filter(function(e){return e.type==="user"});if(g.length>0){if(b.indexOf("serverAuth")===-1)b.push("serverAuth")}if(y.length>0){if(b.indexOf("clientAuth")===-1)b.push("clientAuth")}if(y.length>0||g.length>0){if(b.indexOf("keyAgreement")===-1)b.push("keyAgreement");if(t.type==="rsa"&&b.indexOf("encryption")===-1)b.push("encryption")}var S=new Certificate({subjects:o,issuer:i,subjectKey:t,issuerKey:r.toPublic(),signatures:{},serial:m,validFrom:u,validUntil:l,purposes:b});S.signWith(r);return S};Certificate.parse=function(e,t,i){if(typeof e!=="string")n.buffer(e,"data");if(t===undefined)t="auto";n.string(t,"format");if(typeof i==="string")i={filename:i};n.optionalObject(i,"options");if(i===undefined)i={};n.optionalString(i.filename,"options.filename");if(i.filename===undefined)i.filename="(unnamed)";n.object(m[t],"formats[format]");try{var a=m[t].read(e,i);return a}catch(e){throw new b(i.filename,t,e)}};Certificate.isCertificate=function(e,t){return d.isCompatible(e,Certificate,t)};Certificate.prototype._sshpkApiVersion=[1,1];Certificate._oldVersionDetect=function(e){return[1,0]}},function(e){"use strict";e.exports=function generate_validate(e,t,i){var n="";var a=e.schema.$async===true,r=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),s=e.self._getId(e.schema);if(e.opts.strictKeywords){var o=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(o){var u="unknown keyword: "+o;if(e.opts.strictKeywords==="log")e.logger.warn(u);else throw new Error(u)}}if(e.isTop){n+=" var validate = ";if(a){e.async=true;n+="async "}n+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if(s&&(e.opts.sourceCode||e.opts.processCode)){n+=" "+("/*# sourceURL="+s+" */")+" "}}if(typeof e.schema=="boolean"||!(r||e.schema.$ref)){var t="false schema";var l=e.level;var c=e.dataLevel;var d=e.schema[t];var p=e.schemaPath+e.util.getProperty(t);var f=e.errSchemaPath+"/"+t;var h=!e.opts.allErrors;var m;var b="data"+(c||"");var g="valid"+l;if(e.schema===false){if(e.isTop){h=true}else{n+=" var "+g+" = false; "}var y=y||[];y.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(m||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: {} ";if(e.opts.messages!==false){n+=" , message: 'boolean schema is false' "}if(e.opts.verbose){n+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "}n+=" } "}else{n+=" {} "}var S=n;n=y.pop();if(!e.compositeRule&&h){if(e.async){n+=" throw new ValidationError(["+S+"]); "}else{n+=" validate.errors = ["+S+"]; return false; "}}else{n+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(e.isTop){if(a){n+=" return data; "}else{n+=" validate.errors = null; return true; "}}else{n+=" var "+g+" = true; "}}if(e.isTop){n+=" }; return validate; "}return n}if(e.isTop){var w=e.isTop,l=e.level=0,c=e.dataLevel=0,b="data";e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema));e.baseId=e.baseId||e.rootId;delete e.isTop;e.dataPathArr=[undefined];if(e.schema.default!==undefined&&e.opts.useDefaults&&e.opts.strictDefaults){var v="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(v);else throw new Error(v)}n+=" var vErrors = null; ";n+=" var errors = 0; ";n+=" if (rootData === undefined) rootData = data; "}else{var l=e.level,c=e.dataLevel,b="data"+(c||"");if(s)e.baseId=e.resolve.url(e.baseId,s);if(a&&!e.async)throw new Error("async schema in sync schema");n+=" var errs_"+l+" = errors;"}var g="valid"+l,h=!e.opts.allErrors,z="",j="";var m;var O=e.schema.type,k=Array.isArray(O);if(O&&e.opts.nullable&&e.schema.nullable===true){if(k){if(O.indexOf("null")==-1)O=O.concat("null")}else if(O!="null"){O=[O,"null"];k=true}}if(k&&O.length==1){O=O[0];k=false}if(e.schema.$ref&&r){if(e.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)')}else if(e.opts.extendRefs!==true){r=false;e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"')}}if(e.schema.$comment&&e.opts.$comment){n+=" "+e.RULES.all.$comment.code(e,"$comment")}if(O){if(e.opts.coerceTypes){var C=e.util.coerceToTypes(e.opts.coerceTypes,O)}var T=e.RULES.types[O];if(C||k||T===true||T&&!$shouldUseGroup(T)){var p=e.schemaPath+".type",f=e.errSchemaPath+"/type";var p=e.schemaPath+".type",f=e.errSchemaPath+"/type",R=k?"checkDataTypes":"checkDataType";n+=" if ("+e.util[R](O,b,e.opts.strictNumbers,true)+") { ";if(C){var E="dataType"+l,A="coerced"+l;n+=" var "+E+" = typeof "+b+"; var "+A+" = undefined; ";if(e.opts.coerceTypes=="array"){n+=" if ("+E+" == 'object' && Array.isArray("+b+") && "+b+".length == 1) { "+b+" = "+b+"[0]; "+E+" = typeof "+b+"; if ("+e.util.checkDataType(e.schema.type,b,e.opts.strictNumbers)+") "+A+" = "+b+"; } "}n+=" if ("+A+" !== undefined) ; ";var x=C;if(x){var N,V=-1,P=x.length-1;while(V<P){N=x[V+=1];if(N=="string"){n+=" else if ("+E+" == 'number' || "+E+" == 'boolean') "+A+" = '' + "+b+"; else if ("+b+" === null) "+A+" = ''; "}else if(N=="number"||N=="integer"){n+=" else if ("+E+" == 'boolean' || "+b+" === null || ("+E+" == 'string' && "+b+" && "+b+" == +"+b+" ";if(N=="integer"){n+=" && !("+b+" % 1)"}n+=")) "+A+" = +"+b+"; "}else if(N=="boolean"){n+=" else if ("+b+" === 'false' || "+b+" === 0 || "+b+" === null) "+A+" = false; else if ("+b+" === 'true' || "+b+" === 1) "+A+" = true; "}else if(N=="null"){n+=" else if ("+b+" === '' || "+b+" === 0 || "+b+" === false) "+A+" = null; "}else if(e.opts.coerceTypes=="array"&&N=="array"){n+=" else if ("+E+" == 'string' || "+E+" == 'number' || "+E+" == 'boolean' || "+b+" == null) "+A+" = ["+b+"]; "}}}n+=" else { ";var y=y||[];y.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(m||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '";if(k){n+=""+O.join(",")}else{n+=""+O}n+="' } ";if(e.opts.messages!==false){n+=" , message: 'should be ";if(k){n+=""+O.join(",")}else{n+=""+O}n+="' "}if(e.opts.verbose){n+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "}n+=" } "}else{n+=" {} "}var S=n;n=y.pop();if(!e.compositeRule&&h){if(e.async){n+=" throw new ValidationError(["+S+"]); "}else{n+=" validate.errors = ["+S+"]; return false; "}}else{n+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } if ("+A+" !== undefined) { ";var D=c?"data"+(c-1||""):"parentData",I=c?e.dataPathArr[c]:"parentDataProperty";n+=" "+b+" = "+A+"; ";if(!c){n+="if ("+D+" !== undefined)"}n+=" "+D+"["+I+"] = "+A+"; } "}else{var y=y||[];y.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(m||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '";if(k){n+=""+O.join(",")}else{n+=""+O}n+="' } ";if(e.opts.messages!==false){n+=" , message: 'should be ";if(k){n+=""+O.join(",")}else{n+=""+O}n+="' "}if(e.opts.verbose){n+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "}n+=" } "}else{n+=" {} "}var S=n;n=y.pop();if(!e.compositeRule&&h){if(e.async){n+=" throw new ValidationError(["+S+"]); "}else{n+=" validate.errors = ["+S+"]; return false; "}}else{n+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}n+=" } "}}if(e.schema.$ref&&!r){n+=" "+e.RULES.all.$ref.code(e,"$ref")+" ";if(h){n+=" } if (errors === ";if(w){n+="0"}else{n+="errs_"+l}n+=") { ";j+="}"}}else{var _=e.RULES;if(_){var T,q=-1,B=_.length-1;while(q<B){T=_[q+=1];if($shouldUseGroup(T)){if(T.type){n+=" if ("+e.util.checkDataType(T.type,b,e.opts.strictNumbers)+") { "}if(e.opts.useDefaults){if(T.type=="object"&&e.schema.properties){var d=e.schema.properties,M=Object.keys(d);var U=M;if(U){var L,H=-1,Q=U.length-1;while(H<Q){L=U[H+=1];var W=d[L];if(W.default!==undefined){var G=b+e.util.getProperty(L);if(e.compositeRule){if(e.opts.strictDefaults){var v="default is ignored for: "+G;if(e.opts.strictDefaults==="log")e.logger.warn(v);else throw new Error(v)}}else{n+=" if ("+G+" === undefined ";if(e.opts.useDefaults=="empty"){n+=" || "+G+" === null || "+G+" === '' "}n+=" ) "+G+" = ";if(e.opts.useDefaults=="shared"){n+=" "+e.useDefault(W.default)+" "}else{n+=" "+JSON.stringify(W.default)+" "}n+="; "}}}}}else if(T.type=="array"&&Array.isArray(e.schema.items)){var K=e.schema.items;if(K){var W,V=-1,J=K.length-1;while(V<J){W=K[V+=1];if(W.default!==undefined){var G=b+"["+V+"]";if(e.compositeRule){if(e.opts.strictDefaults){var v="default is ignored for: "+G;if(e.opts.strictDefaults==="log")e.logger.warn(v);else throw new Error(v)}}else{n+=" if ("+G+" === undefined ";if(e.opts.useDefaults=="empty"){n+=" || "+G+" === null || "+G+" === '' "}n+=" ) "+G+" = ";if(e.opts.useDefaults=="shared"){n+=" "+e.useDefault(W.default)+" "}else{n+=" "+JSON.stringify(W.default)+" "}n+="; "}}}}}}var F=T.rules;if(F){var Y,X=-1,Z=F.length-1;while(X<Z){Y=F[X+=1];if($shouldUseRule(Y)){var $=Y.code(e,Y.keyword,T.type);if($){n+=" "+$+" ";if(h){z+="}"}}}}}if(h){n+=" "+z+" ";z=""}if(T.type){n+=" } ";if(O&&O===T.type&&!C){n+=" else { ";var p=e.schemaPath+".type",f=e.errSchemaPath+"/type";var y=y||[];y.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(m||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '";if(k){n+=""+O.join(",")}else{n+=""+O}n+="' } ";if(e.opts.messages!==false){n+=" , message: 'should be ";if(k){n+=""+O.join(",")}else{n+=""+O}n+="' "}if(e.opts.verbose){n+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "}n+=" } "}else{n+=" {} "}var S=n;n=y.pop();if(!e.compositeRule&&h){if(e.async){n+=" throw new ValidationError(["+S+"]); "}else{n+=" validate.errors = ["+S+"]; return false; "}}else{n+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } "}}if(h){n+=" if (errors === ";if(w){n+="0"}else{n+="errs_"+l}n+=") { ";j+="}"}}}}}if(h){n+=" "+j+" "}if(w){if(a){n+=" if (errors === 0) return data; ";n+=" else throw new ValidationError(vErrors); "}else{n+=" validate.errors = vErrors; ";n+=" return errors === 0; "}n+=" }; return validate;"}else{n+=" var "+g+" = errors === errs_"+l+";"}function $shouldUseGroup(e){var t=e.rules;for(var i=0;i<t.length;i++)if($shouldUseRule(t[i]))return true}function $shouldUseRule(t){return e.schema[t.keyword]!==undefined||t.implements&&$ruleImplementsSomeKeyword(t)}function $ruleImplementsSomeKeyword(t){var i=t.implements;for(var n=0;n<i.length;n++)if(e.schema[i[n]]!==undefined)return true}return n}},function(e,t,i){const n=i(830);const a=(e,t)=>{const i=n(e,t);return i&&i.prerelease.length?i.prerelease:null};e.exports=a},,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(414);function loadYaml(e,t){return n.safeLoad(e,t)}t.loadYaml=loadYaml;function loadAllYaml(e,t){return n.safeLoadAll(e,undefined,t)}t.loadAllYaml=loadAllYaml;function dumpYaml(e,t){return n.safeDump(e,t)}t.dumpYaml=dumpYaml},function(e,t,i){e.exports=i(512)},function(e,t,i){const{inspect:n}=i(669);const a=i(849);class EmbeddedJWK extends a{constructor(){super({type:"embedded"});Object.defineProperties(this,{kid:{value:undefined},kty:{value:undefined},thumbprint:{value:undefined},toJWK:{value:undefined},toPEM:{value:undefined}})}[n.custom](){return"Embedded.JWK {}"}algorithms(){return new Set}}e.exports=new EmbeddedJWK},,function(e,t,i){const n=i(274);let a=i(918);const{JWEInvalid:r}=i(466);a=a.bind(undefined,r);const s=(e,[t])=>{return`${e.protected}.${t.encrypted_key}.${e.iv}.${e.ciphertext}.${e.tag}`};s.validate=((e,t,i,{0:{header:n},length:s})=>{if(s!==1||i||t||n){throw new r("JWE Compact Serialization doesn't support multiple recipients, JWE unprotected headers or AAD")}a(e,t,e?e.crit:undefined)});const o=(e,[t])=>{const{header:i,encrypted_key:n}=t;return{...e.protected?{protected:e.protected}:undefined,...e.unprotected?{unprotected:e.unprotected}:undefined,...i?{header:i}:undefined,...n?{encrypted_key:n}:undefined,...e.aad?{aad:e.aad}:undefined,iv:e.iv,ciphertext:e.ciphertext,tag:e.tag}};o.validate=((e,t,i,{0:{header:n},length:s})=>{if(s!==1){throw new r("Flattened JWE JSON Serialization doesn't support multiple recipients")}a(e,{...t,...n},e?e.crit:undefined)});const u=(e,t)=>{const i={...e.protected?{protected:e.protected}:undefined,...e.unprotected?{unprotected:e.unprotected}:undefined,recipients:t.map(({header:e,encrypted_key:t,generatedHeader:i})=>{if(!e&&!t&&!i){return false}return{...e||i?{header:{...e,...i}}:undefined,...t?{encrypted_key:t}:undefined}}).filter(Boolean),...e.aad?{aad:e.aad}:undefined,iv:e.iv,ciphertext:e.ciphertext,tag:e.tag};if(!i.recipients.length){delete i.recipients}return i};u.validate=((e,t,i,n)=>{n.forEach(({header:i})=>{a(e,{...i,...t},e?e.crit:undefined)})});const l=e=>{return n(e)&&typeof e.ciphertext==="string"&&typeof e.iv==="string"&&typeof e.tag==="string"&&(e.unprotected===undefined||n(e.unprotected))&&(e.protected===undefined||typeof e.protected==="string")&&(e.aad===undefined||typeof e.aad==="string")};const c=e=>{return(e.encrypted_key===undefined||typeof e.encrypted_key==="string")&&(e.header===undefined||n(e.header))};const d=e=>{return n(e)&&typeof e.encrypted_key==="string"&&(e.header===undefined||n(e.header))};const p=e=>{if(Array.isArray(e.recipients)&&e.recipients.every(d)){return true}return false};const f=e=>{if(typeof e==="string"&&e.split(".").length===5){return"compact"}if(l(e)){if(p(e)){return"general"}if(c(e)){return"flattened"}}throw new r("JWE malformed or invalid serialization")};e.exports={compact:s,flattened:o,general:u,detect:f}},function(e,t,i){const{MAX_SAFE_COMPONENT_LENGTH:n}=i(181);const a=i(548);t=e.exports={};const r=t.re=[];const s=t.src=[];const o=t.t={};let u=0;const l=(e,t,i)=>{const n=u++;a(n,t);o[e]=n;s[n]=t;r[n]=new RegExp(t,i?"g":undefined)};l("NUMERICIDENTIFIER","0|[1-9]\\d*");l("NUMERICIDENTIFIERLOOSE","[0-9]+");l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");l("MAINVERSION",`(${s[o.NUMERICIDENTIFIER]})\\.`+`(${s[o.NUMERICIDENTIFIER]})\\.`+`(${s[o.NUMERICIDENTIFIER]})`);l("MAINVERSIONLOOSE",`(${s[o.NUMERICIDENTIFIERLOOSE]})\\.`+`(${s[o.NUMERICIDENTIFIERLOOSE]})\\.`+`(${s[o.NUMERICIDENTIFIERLOOSE]})`);l("PRERELEASEIDENTIFIER",`(?:${s[o.NUMERICIDENTIFIER]}|${s[o.NONNUMERICIDENTIFIER]})`);l("PRERELEASEIDENTIFIERLOOSE",`(?:${s[o.NUMERICIDENTIFIERLOOSE]}|${s[o.NONNUMERICIDENTIFIER]})`);l("PRERELEASE",`(?:-(${s[o.PRERELEASEIDENTIFIER]}(?:\\.${s[o.PRERELEASEIDENTIFIER]})*))`);l("PRERELEASELOOSE",`(?:-?(${s[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[o.PRERELEASEIDENTIFIERLOOSE]})*))`);l("BUILDIDENTIFIER","[0-9A-Za-z-]+");l("BUILD",`(?:\\+(${s[o.BUILDIDENTIFIER]}(?:\\.${s[o.BUILDIDENTIFIER]})*))`);l("FULLPLAIN",`v?${s[o.MAINVERSION]}${s[o.PRERELEASE]}?${s[o.BUILD]}?`);l("FULL",`^${s[o.FULLPLAIN]}$`);l("LOOSEPLAIN",`[v=\\s]*${s[o.MAINVERSIONLOOSE]}${s[o.PRERELEASELOOSE]}?${s[o.BUILD]}?`);l("LOOSE",`^${s[o.LOOSEPLAIN]}$`);l("GTLT","((?:<|>)?=?)");l("XRANGEIDENTIFIERLOOSE",`${s[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);l("XRANGEIDENTIFIER",`${s[o.NUMERICIDENTIFIER]}|x|X|\\*`);l("XRANGEPLAIN",`[v=\\s]*(${s[o.XRANGEIDENTIFIER]})`+`(?:\\.(${s[o.XRANGEIDENTIFIER]})`+`(?:\\.(${s[o.XRANGEIDENTIFIER]})`+`(?:${s[o.PRERELEASE]})?${s[o.BUILD]}?`+`)?)?`);l("XRANGEPLAINLOOSE",`[v=\\s]*(${s[o.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})`+`(?:${s[o.PRERELEASELOOSE]})?${s[o.BUILD]}?`+`)?)?`);l("XRANGE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAIN]}$`);l("XRANGELOOSE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAINLOOSE]}$`);l("COERCE",`${"(^|[^\\d])"+"(\\d{1,"}${n}})`+`(?:\\.(\\d{1,${n}}))?`+`(?:\\.(\\d{1,${n}}))?`+`(?:$|[^\\d])`);l("COERCERTL",s[o.COERCE],true);l("LONETILDE","(?:~>?)");l("TILDETRIM",`(\\s*)${s[o.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";l("TILDE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAIN]}$`);l("TILDELOOSE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAINLOOSE]}$`);l("LONECARET","(?:\\^)");l("CARETTRIM",`(\\s*)${s[o.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";l("CARET",`^${s[o.LONECARET]}${s[o.XRANGEPLAIN]}$`);l("CARETLOOSE",`^${s[o.LONECARET]}${s[o.XRANGEPLAINLOOSE]}$`);l("COMPARATORLOOSE",`^${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]})$|^$`);l("COMPARATOR",`^${s[o.GTLT]}\\s*(${s[o.FULLPLAIN]})$|^$`);l("COMPARATORTRIM",`(\\s*)${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]}|${s[o.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";l("HYPHENRANGE",`^\\s*(${s[o.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${s[o.XRANGEPLAIN]})`+`\\s*$`);l("HYPHENRANGELOOSE",`^\\s*(${s[o.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${s[o.XRANGEPLAINLOOSE]})`+`\\s*$`);l("STAR","(<|>)?=?\\s*\\*");l("GTE0","^\\s*>=\\s*0.0.0\\s*$");l("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},,function(e,t,i){const n=i(510);const a=i(372);const r=(e,t,i,a,r,s)=>{return new n(t,a,r,s).recipient(i).encrypt(e)};e.exports.Encrypt=n;e.exports.encrypt=r.bind(undefined,"compact");e.exports.encrypt.flattened=r.bind(undefined,"flattened");e.exports.encrypt.general=r.bind(undefined,"general");e.exports.decrypt=a},,,function(e,t,i){const{createHmac:n}=i(373);const{KEYOBJECT:a}=i(771);const r=i(355);const s=i(165);const{asInput:o}=i(40);const u=(e,t,{[a]:i},r)=>{const s=n(t,o(i,false));s.update(r);return s.digest()};const l=(e,t,i,n,a)=>{const s=u(e,t,i,n);const o=a;return r(o,s)};e.exports=((e,t)=>{["HS256","HS384","HS512"].forEach(i=>{const n=s(i);e.sign.set(i,u.bind(undefined,i,n));e.verify.set(i,l.bind(undefined,i,n));t.oct.sign[i]=t.oct.verify[i]=(e=>e.use==="sig"||e.use===undefined)})})},function(e,t,i){e.exports={read:read,write:write};var n=i(872);var a=i(215).Buffer;var r=i(852);var s=i(502);var o=i(270);var u=i(940);var l=i(532);var c={"rsa-sha1":5,"rsa-sha256":8,"rsa-sha512":10,"ecdsa-p256-sha256":13,"ecdsa-p384-sha384":14};var d={};Object.keys(c).forEach(function(e){d[c[e]]=e.toUpperCase()});function read(e,t){if(typeof e!=="string"){n.buffer(e,"buf");e=e.toString("ascii")}var i=e.split("\n");if(i[0].match(/^Private-key-format\: v1/)){var a=i[1].split(" ");var r=parseInt(a[1],10);var s=a[2];if(!d[r])throw new Error("Unsupported algorithm: "+s);return readDNSSECPrivateKey(r,i.slice(2))}var o=0;while(i[o].match(/^\;/))o++;if((i[o].match(/\. IN KEY /)||i[o].match(/\. IN DNSKEY /))&&i[o+1].length===0){return readRFC3110(i[o])}throw new Error("Cannot parse dnssec key")}function readRFC3110(e){var t=e.split(" ");var i=parseInt(t[5],10);if(!d[i])throw new Error("Unsupported algorithm: "+i);var n=t.slice(6,t.length).join();var s=a.from(n,"base64");if(d[i].match(/^RSA-/)){var u=s.readUInt8(0);if(u!=3&&u!=1)throw new Error("Cannot parse dnssec key: "+"unsupported exponent length");var l=s.slice(1,u+1);l=o.mpNormalize(l);var c=s.slice(1+u);c=o.mpNormalize(c);var p={type:"rsa",parts:[]};p.parts.push({name:"e",data:l});p.parts.push({name:"n",data:c});return new r(p)}if(d[i]==="ECDSA-P384-SHA384"||d[i]==="ECDSA-P256-SHA256"){var f="nistp384";var h=384;if(d[i].match(/^ECDSA-P256-SHA256/)){f="nistp256";h=256}var m={type:"ecdsa",curve:f,size:h,parts:[{name:"curve",data:a.from(f)},{name:"Q",data:o.ecNormalize(s)}]};return new r(m)}throw new Error("Unsupported algorithm: "+d[i])}function elementToBuf(e){return a.from(e.split(" ")[1],"base64")}function readDNSSECRSAPrivateKey(e){var t={};e.forEach(function(e){if(e.split(" ")[0]==="Modulus:")t["n"]=elementToBuf(e);else if(e.split(" ")[0]==="PublicExponent:")t["e"]=elementToBuf(e);else if(e.split(" ")[0]==="PrivateExponent:")t["d"]=elementToBuf(e);else if(e.split(" ")[0]==="Prime1:")t["p"]=elementToBuf(e);else if(e.split(" ")[0]==="Prime2:")t["q"]=elementToBuf(e);else if(e.split(" ")[0]==="Exponent1:")t["dmodp"]=elementToBuf(e);else if(e.split(" ")[0]==="Exponent2:")t["dmodq"]=elementToBuf(e);else if(e.split(" ")[0]==="Coefficient:")t["iqmp"]=elementToBuf(e)});var i={type:"rsa",parts:[{name:"e",data:o.mpNormalize(t["e"])},{name:"n",data:o.mpNormalize(t["n"])},{name:"d",data:o.mpNormalize(t["d"])},{name:"p",data:o.mpNormalize(t["p"])},{name:"q",data:o.mpNormalize(t["q"])},{name:"dmodp",data:o.mpNormalize(t["dmodp"])},{name:"dmodq",data:o.mpNormalize(t["dmodq"])},{name:"iqmp",data:o.mpNormalize(t["iqmp"])}]};return new s(i)}function readDNSSECPrivateKey(e,t){if(d[e].match(/^RSA-/)){return readDNSSECRSAPrivateKey(t)}if(d[e]==="ECDSA-P384-SHA384"||d[e]==="ECDSA-P256-SHA256"){var i=a.from(t[0].split(" ")[1],"base64");var n="nistp384";var r=384;if(d[e]==="ECDSA-P256-SHA256"){n="nistp256";r=256}var u=o.publicFromPrivateECDSA(n,i);var l=u.part["Q"].data;var c={type:"ecdsa",curve:n,size:r,parts:[{name:"curve",data:a.from(n)},{name:"d",data:i},{name:"Q",data:l}]};return new s(c)}throw new Error("Unsupported algorithm: "+d[e])}function dnssecTimestamp(e){var t=e.getFullYear()+"";var i=e.getMonth()+1;var n=t+i+e.getUTCDate();n+=""+e.getUTCHours()+e.getUTCMinutes();n+=e.getUTCSeconds();return n}function rsaAlgFromOptions(e){if(!e||!e.hashAlgo||e.hashAlgo==="sha1")return"5 (RSASHA1)";else if(e.hashAlgo==="sha256")return"8 (RSASHA256)";else if(e.hashAlgo==="sha512")return"10 (RSASHA512)";else throw new Error("Unknown or unsupported hash: "+e.hashAlgo)}function writeRSA(e,t){if(!e.part.dmodp||!e.part.dmodq){o.addRSAMissing(e)}var i="";i+="Private-key-format: v1.3\n";i+="Algorithm: "+rsaAlgFromOptions(t)+"\n";var n=o.mpDenormalize(e.part["n"].data);i+="Modulus: "+n.toString("base64")+"\n";var r=o.mpDenormalize(e.part["e"].data);i+="PublicExponent: "+r.toString("base64")+"\n";var s=o.mpDenormalize(e.part["d"].data);i+="PrivateExponent: "+s.toString("base64")+"\n";var u=o.mpDenormalize(e.part["p"].data);i+="Prime1: "+u.toString("base64")+"\n";var l=o.mpDenormalize(e.part["q"].data);i+="Prime2: "+l.toString("base64")+"\n";var c=o.mpDenormalize(e.part["dmodp"].data);i+="Exponent1: "+c.toString("base64")+"\n";var d=o.mpDenormalize(e.part["dmodq"].data);i+="Exponent2: "+d.toString("base64")+"\n";var p=o.mpDenormalize(e.part["iqmp"].data);i+="Coefficient: "+p.toString("base64")+"\n";var f=new Date;i+="Created: "+dnssecTimestamp(f)+"\n";i+="Publish: "+dnssecTimestamp(f)+"\n";i+="Activate: "+dnssecTimestamp(f)+"\n";return a.from(i,"ascii")}function writeECDSA(e,t){var i="";i+="Private-key-format: v1.3\n";if(e.curve==="nistp256"){i+="Algorithm: 13 (ECDSAP256SHA256)\n"}else if(e.curve==="nistp384"){i+="Algorithm: 14 (ECDSAP384SHA384)\n"}else{throw new Error("Unsupported curve")}var n=e.part["d"].data.toString("base64");i+="PrivateKey: "+n+"\n";var r=new Date;i+="Created: "+dnssecTimestamp(r)+"\n";i+="Publish: "+dnssecTimestamp(r)+"\n";i+="Activate: "+dnssecTimestamp(r)+"\n";return a.from(i,"ascii")}function write(e,t){if(s.isPrivateKey(e)){if(e.type==="rsa"){return writeRSA(e,t)}else if(e.type==="ecdsa"){return writeECDSA(e,t)}else{throw new Error("Unsupported algorithm: "+e.type)}}else if(r.isKey(e)){throw new Error('Format "dnssec" only supports '+"writing private keys")}else{throw new Error("key is not a Key or PrivateKey")}}},,,function(e,t,i){"use strict";const n=i(272).Component;const a=i(418)("kubernetes-client");const r=i(747);const s=i(314);const o=i(622);const u=i(903);const l=i(198);const c=i(610);class Root extends n{_getSpec(e){return this.backend.http({method:"GET",pathname:e}).then(e=>{return e.body})}loadSpec(){return this._getSpec("/openapi/v2").catch(()=>{return this._getSpec("/swagger.json")}).then(e=>{this._addSpec(e);return this}).catch(e=>{throw new Error(`Failed to get /openapi/v2 and /swagger.json: ${e.message}`)})}_getLogByteStream(e){return this.backend.getLogByteStream(Object.assign({method:"GET",pathItemObject:this.pathItemObject,pathname:this.getPath(),pathnameParameters:this.getPathnameParameters()},e))}async _getWatchObjectStream(e){return this.backend.getWatchObjectStream(Object.assign({method:"GET",pathItemObject:this.pathItemObject,pathname:this.getPath(),pathnameParameters:this.getPathnameParameters()},e))}_addEndpoint(e){const t=super._addEndpoint(e);if(!t)return t;if(e.pathItem.get){const i=e.pathItem.get["x-kubernetes-action"];if(i==="watch"||i==="watchlist"){t.getStream=a.function(t.getStream,".getStream use .getObjectStream, see "+"https://github.com/godaddy/kubernetes-client/blob/master/merging-with-kubernetes.md");t.getObjectStream=t._getWatchObjectStream}else if(e.name==="/api/v1/namespaces/{namespace}/pods/{name}/log"){t.getStream=a.function(t.getStream,".getStream use .getByteStream, see "+"https://github.com/godaddy/kubernetes-client/blob/master/merging-with-kubernetes.md");t.getByteStream=t._getLogByteStream}else{t.getStream=a.function(t.getStream,".getStream see https://github.com/godaddy/kubernetes-client/blob/master/merging-with-kubernetes.md")}}}addCustomResourceDefinition(e){const t=e.spec.group;const i=e.spec.names.plural;const n=e.spec.scope==="Cluster"?"":"/namespaces/{namespace}";const a=a=>{const r={paths:{}};const s=`/apis/${t}/${a}${n}/${i}/{name}`;r.paths[s]=["delete","get","patch","put"].reduce((e,t)=>{e[t]={operationId:`${t}Template${i}`};return e},{});const o=`/apis/${t}/${a}${n}/${i}`;r.paths[o]=["get","post"].reduce((e,t)=>{e[t]={operationId:`${t}${i}`};return e},{});if(e.spec.scope==="Namespaced"){const e=`/apis/${t}/${a}/${i}`;r.paths[e]={get:{operationId:`getCluster${i}`}}}const u={watchCluster:`/apis/${t}/${a}/watch/${i}`,watchNamespace:`/apis/${t}/${a}/watch${n}/${i}`,watchResource:`/apis/${t}/${a}/watch${n}/${i}/{name}`};Object.keys(u).forEach(e=>{const t=u[e];r.paths[t]={get:{"x-kubernetes-action":"watch",operationId:`operationId${i}`}}});if(e.spec.subresources&&e.spec.subresources.status){const e=`/apis/${t}/${a}${n}/${i}/{name}/status`;r.paths[e]=["get","put"].reduce((e,t)=>{e[t]={operationId:`${t}Template${i}`};return e},{})}if(e.spec.subresources&&e.spec.subresources.scale){const e=`/apis/${t}/${a}${n}/${i}/{name}/scale`;r.paths[e]=["get","put"].reduce((e,t)=>{e[t]={operationId:`${t}Template${i}`};return e},{})}this._addSpec(r)};if(e.spec.version){a(e.spec.version)}else{const t=e.spec.versions||[];t.forEach(e=>a(e.name))}}}class Client{constructor(e){e=e||{};if(e.config){a("Client({ config }), see "+"https://github.com/godaddy/kubernetes-client/blob/master/merging-with-kubernetes.md")}let t=e.backend;if(!t){if(e.config){t=new c(e.config)}else{const e=new s;e.loadFromDefault();t=new c({kubeconfig:e})}}let i=e.spec;if(!i&&e.version){const t=o.join(__dirname,"specs",`swagger-${e.version}.json.gz`);i=JSON.parse(u.gunzipSync(r.readFileSync(t)))}const n=new Root({splits:[],backend:t,getNames:e.getNames||l});if(i)n._addSpec(i);return n}}class Client1_13 extends Client{constructor(e){super(Object.assign({},e,{version:"1.13"}))}}e.exports={Client:Client,Client1_13:Client1_13}},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())})};var a=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 r=a(i(9));function exec(e,t,i){return n(this,void 0,void 0,function*(){const n=r.argStringToArray(e);if(n.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const a=n[0];t=n.slice(1).concat(t||[]);const s=new r.ToolRunner(a,t,i);return s.exec()})}t.exec=exec},,function(e,t,i){"use strict";var n=i(945);e.exports=new n("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}})},function(e,t,i){var n=i(602);var a=i(747);n.register("sed",_sed,{globStart:3,canReceivePipe:true,cmdOptions:{i:"inplace"}});function _sed(e,t,i,r){var s=n.readFromPipe();if(typeof i!=="string"&&typeof i!=="function"){if(typeof i==="number"){i=i.toString()}else{n.error("invalid replacement string")}}if(typeof t==="string"){t=RegExp(t)}if(!r&&!s){n.error("no files given")}r=[].slice.call(arguments,3);if(s){r.unshift("-")}var o=[];r.forEach(function(r){if(!a.existsSync(r)&&r!=="-"){n.error("no such file or directory: "+r,2,{continue:true});return}var u=r==="-"?s:a.readFileSync(r,"utf8");var l=u.split("\n");var c=l.map(function(e){return e.replace(t,i)}).join("\n");o.push(c);if(e.inplace){a.writeFileSync(r,c,"utf8")}});return o.join("\n")}e.exports=_sed},,,,function(e){e.exports={$id:"cache.json#",$schema:"http://json-schema.org/draft-06/schema#",properties:{beforeRequest:{oneOf:[{type:"null"},{$ref:"beforeRequest.json#"}]},afterRequest:{oneOf:[{type:"null"},{$ref:"afterRequest.json#"}]},comment:{type:"string"}}}},function(e){e.exports=new Map([["A128CBC-HS256",256],["A128GCM",128],["A192CBC-HS384",384],["A192GCM",192],["A256CBC-HS512",512],["A256GCM",256]])},function(e,t,i){const n=i(274);let a=i(918);const{JWSInvalid:r}=i(466);a=a.bind(undefined,r);const s=(e,[t])=>{return`${t.protected}.${e}.${t.signature}`};s.validate=((e,{0:{unprotectedHeader:t,protectedHeader:i},length:n})=>{if(n!==1||t){throw new r("JWS Compact Serialization doesn't support multiple recipients or JWS unprotected headers")}a(i,t,i?i.crit:undefined)});const o=(e,[t])=>{const{header:i,signature:n,protected:a}=t;return{payload:e,...a?{protected:a}:undefined,...i?{header:i}:undefined,signature:n}};o.validate=((e,{0:{unprotectedHeader:t,protectedHeader:i},length:n})=>{if(n!==1){throw new r("Flattened JWS JSON Serialization doesn't support multiple recipients")}a(i,t,i?i.crit:undefined)});const u=(e,t)=>{return{payload:e,signatures:t.map(({header:e,signature:t,protected:i})=>{return{...i?{protected:i}:undefined,...e?{header:e}:undefined,signature:t}})}};u.validate=((e,t)=>{let i=false;t.forEach(({protectedHeader:e,unprotectedHeader:t})=>{if(e&&!i&&"b64"in e){i=true}a(e,t,e?e.crit:undefined)});if(i){const e=t.map(({protectedHeader:e})=>e&&e.b64);if(!e.every((e,t,[i])=>e===i)){throw new r('the "b64" Header Parameter value MUST be the same for all recipients')}}});const l=e=>{return n(e)&&(typeof e.payload==="string"||Buffer.isBuffer(e.payload))};const c=e=>{return n(e)&&typeof e.signature==="string"&&(e.header===undefined||n(e.header))&&(e.protected===undefined||typeof e.protected==="string")};const d=e=>{if(Array.isArray(e.signatures)&&e.signatures.every(c)){return true}return false};const p=e=>{if(typeof e==="string"&&e.split(".").length===3){return"compact"}if(l(e)){if(d(e)){return"general"}if(c(e)){return"flattened"}}throw new r("JWS malformed or invalid serialization")};e.exports={compact:s,flattened:o,general:u,detect:p}},function(e,t,i){const n=i(255);e.exports=function(){this.seq().obj(this.key("algorithm").objid(n),this.key("parameters").optional().choice({namedCurve:this.objid(n),null:this.null_()}))}},function(e,t,i){const{deprecate:n}=i(669);const a=n(()=>{},'"P-256K" EC curve name is deprecated');e.exports={name:"secp256k1",rename(t){if(t!=="secp256k1"){a()}e.exports.name=t}}},function(e,t,i){var n=i(357);var a=i(215).Buffer;var r=i(362);var s=i(584);var o=s.newInvalidAsn1Error;var u={size:1024,growthFactor:8};function merge(e,t){n.ok(e);n.equal(typeof e,"object");n.ok(t);n.equal(typeof t,"object");var i=Object.getOwnPropertyNames(e);i.forEach(function(i){if(t[i])return;var n=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,n)});return t}function Writer(e){e=merge(u,e||{});this._buf=a.alloc(e.size||1024);this._size=this._buf.length;this._offset=0;this._options=e;this._seq=[]}Object.defineProperty(Writer.prototype,"buffer",{get:function(){if(this._seq.length)throw o(this._seq.length+" unended sequence(s)");return this._buf.slice(0,this._offset)}});Writer.prototype.writeByte=function(e){if(typeof e!=="number")throw new TypeError("argument must be a Number");this._ensure(1);this._buf[this._offset++]=e};Writer.prototype.writeInt=function(e,t){if(typeof e!=="number")throw new TypeError("argument must be a Number");if(typeof t!=="number")t=r.Integer;var i=4;while(((e&4286578688)===0||(e&4286578688)===4286578688>>0)&&i>1){i--;e<<=8}if(i>4)throw o("BER ints cannot be > 0xffffffff");this._ensure(2+i);this._buf[this._offset++]=t;this._buf[this._offset++]=i;while(i-- >0){this._buf[this._offset++]=(e&4278190080)>>>24;e<<=8}};Writer.prototype.writeNull=function(){this.writeByte(r.Null);this.writeByte(0)};Writer.prototype.writeEnumeration=function(e,t){if(typeof e!=="number")throw new TypeError("argument must be a Number");if(typeof t!=="number")t=r.Enumeration;return this.writeInt(e,t)};Writer.prototype.writeBoolean=function(e,t){if(typeof e!=="boolean")throw new TypeError("argument must be a Boolean");if(typeof t!=="number")t=r.Boolean;this._ensure(3);this._buf[this._offset++]=t;this._buf[this._offset++]=1;this._buf[this._offset++]=e?255:0};Writer.prototype.writeString=function(e,t){if(typeof e!=="string")throw new TypeError("argument must be a string (was: "+typeof e+")");if(typeof t!=="number")t=r.OctetString;var i=a.byteLength(e);this.writeByte(t);this.writeLength(i);if(i){this._ensure(i);this._buf.write(e,this._offset);this._offset+=i}};Writer.prototype.writeBuffer=function(e,t){if(typeof t!=="number")throw new TypeError("tag must be a number");if(!a.isBuffer(e))throw new TypeError("argument must be a buffer");this.writeByte(t);this.writeLength(e.length);this._ensure(e.length);e.copy(this._buf,this._offset,0,e.length);this._offset+=e.length};Writer.prototype.writeStringArray=function(e){if(!e instanceof Array)throw new TypeError("argument must be an Array[String]");var t=this;e.forEach(function(e){t.writeString(e)})};Writer.prototype.writeOID=function(e,t){if(typeof e!=="string")throw new TypeError("argument must be a string");if(typeof t!=="number")t=r.OID;if(!/^([0-9]+\.){3,}[0-9]+$/.test(e))throw new Error("argument is not a valid OID string");function encodeOctet(e,t){if(t<128){e.push(t)}else if(t<16384){e.push(t>>>7|128);e.push(t&127)}else if(t<2097152){e.push(t>>>14|128);e.push((t>>>7|128)&255);e.push(t&127)}else if(t<268435456){e.push(t>>>21|128);e.push((t>>>14|128)&255);e.push((t>>>7|128)&255);e.push(t&127)}else{e.push((t>>>28|128)&255);e.push((t>>>21|128)&255);e.push((t>>>14|128)&255);e.push((t>>>7|128)&255);e.push(t&127)}}var i=e.split(".");var n=[];n.push(parseInt(i[0],10)*40+parseInt(i[1],10));i.slice(2).forEach(function(e){encodeOctet(n,parseInt(e,10))});var a=this;this._ensure(2+n.length);this.writeByte(t);this.writeLength(n.length);n.forEach(function(e){a.writeByte(e)})};Writer.prototype.writeLength=function(e){if(typeof e!=="number")throw new TypeError("argument must be a Number");this._ensure(4);if(e<=127){this._buf[this._offset++]=e}else if(e<=255){this._buf[this._offset++]=129;this._buf[this._offset++]=e}else if(e<=65535){this._buf[this._offset++]=130;this._buf[this._offset++]=e>>8;this._buf[this._offset++]=e}else if(e<=16777215){this._buf[this._offset++]=131;this._buf[this._offset++]=e>>16;this._buf[this._offset++]=e>>8;this._buf[this._offset++]=e}else{throw o("Length too long (> 4 bytes)")}};Writer.prototype.startSequence=function(e){if(typeof e!=="number")e=r.Sequence|r.Constructor;this.writeByte(e);this._seq.push(this._offset);this._ensure(3);this._offset+=3};Writer.prototype.endSequence=function(){var e=this._seq.pop();var t=e+3;var i=this._offset-t;if(i<=127){this._shift(t,i,-2);this._buf[e]=i}else if(i<=255){this._shift(t,i,-1);this._buf[e]=129;this._buf[e+1]=i}else if(i<=65535){this._buf[e]=130;this._buf[e+1]=i>>8;this._buf[e+2]=i}else if(i<=16777215){this._shift(t,i,1);this._buf[e]=131;this._buf[e+1]=i>>16;this._buf[e+2]=i>>8;this._buf[e+3]=i}else{throw o("Sequence too long")}};Writer.prototype._shift=function(e,t,i){n.ok(e!==undefined);n.ok(t!==undefined);n.ok(i);this._buf.copy(this._buf,e+i,e,e+t);this._offset+=i};Writer.prototype._ensure=function(e){n.ok(e);if(this._size-this._offset<e){var t=this._size*this._options.growthFactor;if(t-this._offset<e)t+=e;var i=a.alloc(t);this._buf.copy(i,0,0,this._offset);this._buf=i;this._size=t}};e.exports=Writer},function(e,t,i){const n=i(124);const{ANY:a}=i(174);const r=i(310);const s=i(874);const o=(e,t,i)=>{e=new n(e,i);t=new n(t,i);let a=false;e:for(const n of e.set){for(const e of t.set){const t=u(n,e,i);a=a||t!==null;if(t)continue e}if(a)return false}return true};const u=(e,t,i)=>{if(e.length===1&&e[0].semver===a)return t.length===1&&t[0].semver===a;const n=new Set;let o,u;for(const t of e){if(t.operator===">"||t.operator===">=")o=l(o,t,i);else if(t.operator==="<"||t.operator==="<=")u=c(u,t,i);else n.add(t.semver)}if(n.size>1)return null;let d;if(o&&u){d=s(o.semver,u.semver,i);if(d>0)return null;else if(d===0&&(o.operator!==">="||u.operator!=="<="))return null}for(const e of n){if(o&&!r(e,String(o),i))return null;if(u&&!r(e,String(u),i))return null;for(const n of t){if(!r(e,String(n),i))return false}return true}let p,f;let h,m;for(const e of t){m=m||e.operator===">"||e.operator===">=";h=h||e.operator==="<"||e.operator==="<=";if(o){if(e.operator===">"||e.operator===">="){p=l(o,e,i);if(p===e)return false}else if(o.operator===">="&&!r(o.semver,String(e),i))return false}if(u){if(e.operator==="<"||e.operator==="<="){f=c(u,e,i);if(f===e)return false}else if(u.operator==="<="&&!r(u.semver,String(e),i))return false}if(!e.operator&&(u||o)&&d!==0)return false}if(o&&h&&!u&&d!==0)return false;if(u&&m&&!o&&d!==0)return false;return true};const l=(e,t,i)=>{if(!e)return t;const n=s(e.semver,t.semver,i);return n>0?e:n<0?t:t.operator===">"&&e.operator===">="?t:e};const c=(e,t,i)=>{if(!e)return t;const n=s(e.semver,t.semver,i);return n<0?e:n>0?t:t.operator==="<"&&e.operator==="<="?t:e};e.exports=o}],function(e){"use strict";!function(){e.nmd=function(e){e.paths=[];if(!e.children)e.children=[];Object.defineProperty(e,"loaded",{enumerable:true,get:function(){return e.l}});Object.defineProperty(e,"id",{enumerable:true,get:function(){return e.i}});return e}}();!function(){e.r=function(e){if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}}();!function(){var t=Object.prototype.hasOwnProperty;e.d=function(e,i,n){if(!t.call(e,i)){Object.defineProperty(e,i,{enumerable:true,get:n})}}}();!function(){e.t=function(t,i){if(i&1)t=this(t);if(i&8)return t;if(i&4&&typeof t==="object"&&t&&t.__esModule)return t;var n=Object.create(null);e.r(n);Object.defineProperty(n,"default",{enumerable:true,value:t});if(i&2&&typeof t!="string")for(var a in t)e.d(n,a,function(e){return t[e]}.bind(null,a));return n}}();!function(){e.n=function(t){var i=t&&t.__esModule?function getDefault(){return t["default"]}:function getModuleExports(){return t};e.d(i,"a",i);return i}}();!function(){e.hmd=function(e){e=Object.create(e);if(!e.children)e.children=[];Object.defineProperty(e,"loaded",{enumerable:true,get:function(){return e.l}});Object.defineProperty(e,"id",{enumerable:true,get:function(){return e.i}});Object.defineProperty(e,"exports",{enumerable:true,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}});return e}}()});