require('./sourcemap-register.js');(()=>{var __webpack_modules__={7351:function(e,t,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,o,n){if(n===undefined)n=o;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[o]}})}:function(e,t,o,n){if(n===undefined)n=o;e[n]=t[o]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var o in e)if(o!=="default"&&Object.hasOwnProperty.call(e,o))n(t,e,o);r(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issue=t.issueCommand=void 0;const i=s(o(2037));const a=o(5278);function issueCommand(e,t,o){const n=new Command(e,t,o);process.stdout.write(n.toString()+i.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const c="::";class Command{constructor(e,t,o){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=o}toString(){let e=c+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const o in this.properties){if(this.properties.hasOwnProperty(o)){const n=this.properties[o];if(n){if(t){t=false}else{e+=","}e+=`${o}=${escapeProperty(n)}`}}}}e+=`${c}${escapeData(this.message)}`;return e}}function escapeData(e){return a.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return a.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},2186:function(e,t,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,o,n){if(n===undefined)n=o;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[o]}})}:function(e,t,o,n){if(n===undefined)n=o;e[n]=t[o]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var o in e)if(o!=="default"&&Object.hasOwnProperty.call(e,o))n(t,e,o);r(t,e);return t};var i=this&&this.__awaiter||function(e,t,o,n){function adopt(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,r){function fulfilled(e){try{step(n.next(e))}catch(e){r(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){r(e)}}function step(e){e.done?o(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getIDToken=t.getState=t.saveState=t.group=t.endGroup=t.startGroup=t.info=t.notice=t.warning=t.error=t.debug=t.isDebug=t.setFailed=t.setCommandEcho=t.setOutput=t.getBooleanInput=t.getMultilineInput=t.getInput=t.addPath=t.setSecret=t.exportVariable=t.ExitCode=void 0;const a=o(7351);const c=o(717);const l=o(5278);const u=s(o(2037));const d=s(o(1017));const p=o(8041);var m;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(m=t.ExitCode||(t.ExitCode={}));function exportVariable(e,t){const o=l.toCommandValue(t);process.env[e]=o;const n=process.env["GITHUB_ENV"]||"";if(n){return c.issueFileCommand("ENV",c.prepareKeyValueMessage(e,t))}a.issueCommand("set-env",{name:e},o)}t.exportVariable=exportVariable;function setSecret(e){a.issueCommand("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){c.issueFileCommand("PATH",e)}else{a.issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${d.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const o=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!o){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return o}return o.trim()}t.getInput=getInput;function getMultilineInput(e,t){const o=getInput(e,t).split("\n").filter((e=>e!==""));if(t&&t.trimWhitespace===false){return o}return o.map((e=>e.trim()))}t.getMultilineInput=getMultilineInput;function getBooleanInput(e,t){const o=["true","True","TRUE"];const n=["false","False","FALSE"];const r=getInput(e,t);if(o.includes(r))return true;if(n.includes(r))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}t.getBooleanInput=getBooleanInput;function setOutput(e,t){const o=process.env["GITHUB_OUTPUT"]||"";if(o){return c.issueFileCommand("OUTPUT",c.prepareKeyValueMessage(e,t))}process.stdout.write(u.EOL);a.issueCommand("set-output",{name:e},l.toCommandValue(t))}t.setOutput=setOutput;function setCommandEcho(e){a.issue("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=m.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){a.issueCommand("debug",{},e)}t.debug=debug;function error(e,t={}){a.issueCommand("error",l.toCommandProperties(t),e instanceof Error?e.toString():e)}t.error=error;function warning(e,t={}){a.issueCommand("warning",l.toCommandProperties(t),e instanceof Error?e.toString():e)}t.warning=warning;function notice(e,t={}){a.issueCommand("notice",l.toCommandProperties(t),e instanceof Error?e.toString():e)}t.notice=notice;function info(e){process.stdout.write(e+u.EOL)}t.info=info;function startGroup(e){a.issue("group",e)}t.startGroup=startGroup;function endGroup(){a.issue("endgroup")}t.endGroup=endGroup;function group(e,t){return i(this,void 0,void 0,(function*(){startGroup(e);let o;try{o=yield t()}finally{endGroup()}return o}))}t.group=group;function saveState(e,t){const o=process.env["GITHUB_STATE"]||"";if(o){return c.issueFileCommand("STATE",c.prepareKeyValueMessage(e,t))}a.issueCommand("save-state",{name:e},l.toCommandValue(t))}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState;function getIDToken(e){return i(this,void 0,void 0,(function*(){return yield p.OidcClient.getIDToken(e)}))}t.getIDToken=getIDToken;var g=o(1327);Object.defineProperty(t,"summary",{enumerable:true,get:function(){return g.summary}});var f=o(1327);Object.defineProperty(t,"markdownSummary",{enumerable:true,get:function(){return f.markdownSummary}});var y=o(2981);Object.defineProperty(t,"toPosixPath",{enumerable:true,get:function(){return y.toPosixPath}});Object.defineProperty(t,"toWin32Path",{enumerable:true,get:function(){return y.toWin32Path}});Object.defineProperty(t,"toPlatformPath",{enumerable:true,get:function(){return y.toPlatformPath}})},717:function(e,t,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,o,n){if(n===undefined)n=o;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[o]}})}:function(e,t,o,n){if(n===undefined)n=o;e[n]=t[o]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var o in e)if(o!=="default"&&Object.hasOwnProperty.call(e,o))n(t,e,o);r(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.prepareKeyValueMessage=t.issueFileCommand=void 0;const i=s(o(7147));const a=s(o(2037));const c=o(5840);const l=o(5278);function issueFileCommand(e,t){const o=process.env[`GITHUB_${e}`];if(!o){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!i.existsSync(o)){throw new Error(`Missing file at path: ${o}`)}i.appendFileSync(o,`${l.toCommandValue(t)}${a.EOL}`,{encoding:"utf8"})}t.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(e,t){const o=`ghadelimiter_${c.v4()}`;const n=l.toCommandValue(t);if(e.includes(o)){throw new Error(`Unexpected input: name should not contain the delimiter "${o}"`)}if(n.includes(o)){throw new Error(`Unexpected input: value should not contain the delimiter "${o}"`)}return`${e}<<${o}${a.EOL}${n}${a.EOL}${o}`}t.prepareKeyValueMessage=prepareKeyValueMessage},8041:function(e,t,o){"use strict";var n=this&&this.__awaiter||function(e,t,o,n){function adopt(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,r){function fulfilled(e){try{step(n.next(e))}catch(e){r(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){r(e)}}function step(e){e.done?o(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.OidcClient=void 0;const r=o(6255);const s=o(5526);const i=o(2186);class OidcClient{static createHttpClient(e=true,t=10){const o={allowRetries:e,maxRetries:t};return new r.HttpClient("actions/oidc-client",[new s.BearerCredentialHandler(OidcClient.getRequestToken())],o)}static getRequestToken(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return e}static getIDTokenUrl(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return e}static getCall(e){var t;return n(this,void 0,void 0,(function*(){const o=OidcClient.createHttpClient();const n=yield o.getJson(e).catch((e=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.result.message}`)}));const r=(t=n.result)===null||t===void 0?void 0:t.value;if(!r){throw new Error("Response json body do not have ID Token field")}return r}))}static getIDToken(e){return n(this,void 0,void 0,(function*(){try{let t=OidcClient.getIDTokenUrl();if(e){const o=encodeURIComponent(e);t=`${t}&audience=${o}`}i.debug(`ID token url is ${t}`);const o=yield OidcClient.getCall(t);i.setSecret(o);return o}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}t.OidcClient=OidcClient},2981:function(e,t,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,o,n){if(n===undefined)n=o;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[o]}})}:function(e,t,o,n){if(n===undefined)n=o;e[n]=t[o]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var o in e)if(o!=="default"&&Object.hasOwnProperty.call(e,o))n(t,e,o);r(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.toPlatformPath=t.toWin32Path=t.toPosixPath=void 0;const i=s(o(1017));function toPosixPath(e){return e.replace(/[\\]/g,"/")}t.toPosixPath=toPosixPath;function toWin32Path(e){return e.replace(/[/]/g,"\\")}t.toWin32Path=toWin32Path;function toPlatformPath(e){return e.replace(/[/\\]/g,i.sep)}t.toPlatformPath=toPlatformPath},1327:function(e,t,o){"use strict";var n=this&&this.__awaiter||function(e,t,o,n){function adopt(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,r){function fulfilled(e){try{step(n.next(e))}catch(e){r(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){r(e)}}function step(e){e.done?o(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.summary=t.markdownSummary=t.SUMMARY_DOCS_URL=t.SUMMARY_ENV_VAR=void 0;const r=o(2037);const s=o(7147);const{access:i,appendFile:a,writeFile:c}=s.promises;t.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";t.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return n(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const e=process.env[t.SUMMARY_ENV_VAR];if(!e){throw new Error(`Unable to find environment variable for $${t.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield i(e,s.constants.R_OK|s.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}this._filePath=e;return this._filePath}))}wrap(e,t,o={}){const n=Object.entries(o).map((([e,t])=>` ${e}="${t}"`)).join("");if(!t){return`<${e}${n}>`}return`<${e}${n}>${t}`}write(e){return n(this,void 0,void 0,(function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const o=yield this.filePath();const n=t?c:a;yield n(o,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return n(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(e,t=false){this._buffer+=e;return t?this.addEOL():this}addEOL(){return this.addRaw(r.EOL)}addCodeBlock(e,t){const o=Object.assign({},t&&{lang:t});const n=this.wrap("pre",this.wrap("code",e),o);return this.addRaw(n).addEOL()}addList(e,t=false){const o=t?"ol":"ul";const n=e.map((e=>this.wrap("li",e))).join("");const r=this.wrap(o,n);return this.addRaw(r).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if(typeof e==="string"){return this.wrap("td",e)}const{header:t,data:o,colspan:n,rowspan:r}=e;const s=t?"th":"td";const i=Object.assign(Object.assign({},n&&{colspan:n}),r&&{rowspan:r});return this.wrap(s,o,i)})).join("");return this.wrap("tr",t)})).join("");const o=this.wrap("table",t);return this.addRaw(o).addEOL()}addDetails(e,t){const o=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(o).addEOL()}addImage(e,t,o){const{width:n,height:r}=o||{};const s=Object.assign(Object.assign({},n&&{width:n}),r&&{height:r});const i=this.wrap("img",null,Object.assign({src:e,alt:t},s));return this.addRaw(i).addEOL()}addHeading(e,t){const o=`h${t}`;const n=["h1","h2","h3","h4","h5","h6"].includes(o)?o:"h1";const r=this.wrap(n,e);return this.addRaw(r).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const o=Object.assign({},t&&{cite:t});const n=this.wrap("blockquote",e,o);return this.addRaw(n).addEOL()}addLink(e,t){const o=this.wrap("a",e,{href:t});return this.addRaw(o).addEOL()}}const l=new Summary;t.markdownSummary=l;t.summary=l},5278:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toCommandProperties=t.toCommandValue=void 0;function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}t.toCommandValue=toCommandValue;function toCommandProperties(e){if(!Object.keys(e).length){return{}}return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}t.toCommandProperties=toCommandProperties},1514:function(e,t,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,o,n){if(n===undefined)n=o;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[o]}})}:function(e,t,o,n){if(n===undefined)n=o;e[n]=t[o]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var o in e)if(o!=="default"&&Object.hasOwnProperty.call(e,o))n(t,e,o);r(t,e);return t};var i=this&&this.__awaiter||function(e,t,o,n){function adopt(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,r){function fulfilled(e){try{step(n.next(e))}catch(e){r(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){r(e)}}function step(e){e.done?o(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getExecOutput=t.exec=void 0;const a=o(1576);const c=s(o(8159));function exec(e,t,o){return i(this,void 0,void 0,(function*(){const n=c.argStringToArray(e);if(n.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const r=n[0];t=n.slice(1).concat(t||[]);const s=new c.ToolRunner(r,t,o);return s.exec()}))}t.exec=exec;function getExecOutput(e,t,o){var n,r;return i(this,void 0,void 0,(function*(){let s="";let i="";const c=new a.StringDecoder("utf8");const l=new a.StringDecoder("utf8");const u=(n=o===null||o===void 0?void 0:o.listeners)===null||n===void 0?void 0:n.stdout;const d=(r=o===null||o===void 0?void 0:o.listeners)===null||r===void 0?void 0:r.stderr;const stdErrListener=e=>{i+=l.write(e);if(d){d(e)}};const stdOutListener=e=>{s+=c.write(e);if(u){u(e)}};const p=Object.assign(Object.assign({},o===null||o===void 0?void 0:o.listeners),{stdout:stdOutListener,stderr:stdErrListener});const m=yield exec(e,t,Object.assign(Object.assign({},o),{listeners:p}));s+=c.end();i+=l.end();return{exitCode:m,stdout:s,stderr:i}}))}t.getExecOutput=getExecOutput},8159:function(e,t,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,o,n){if(n===undefined)n=o;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[o]}})}:function(e,t,o,n){if(n===undefined)n=o;e[n]=t[o]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var o in e)if(o!=="default"&&Object.hasOwnProperty.call(e,o))n(t,e,o);r(t,e);return t};var i=this&&this.__awaiter||function(e,t,o,n){function adopt(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,r){function fulfilled(e){try{step(n.next(e))}catch(e){r(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){r(e)}}function step(e){e.done?o(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.argStringToArray=t.ToolRunner=void 0;const a=s(o(2037));const c=s(o(2361));const l=s(o(2081));const u=s(o(1017));const d=s(o(7436));const p=s(o(1962));const m=o(9512);const g=process.platform==="win32";class ToolRunner extends c.EventEmitter{constructor(e,t,o){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=t||[];this.options=o||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,t){const o=this._getSpawnFileName();const n=this._getSpawnArgs(e);let r=t?"":"[command]";if(g){if(this._isCmdFile()){r+=o;for(const e of n){r+=` ${e}`}}else if(e.windowsVerbatimArguments){r+=`"${o}"`;for(const e of n){r+=` ${e}`}}else{r+=this._windowsQuoteCmdArg(o);for(const e of n){r+=` ${this._windowsQuoteCmdArg(e)}`}}}else{r+=o;for(const e of n){r+=` ${e}`}}return r}_processLineBuffer(e,t,o){try{let n=t+e.toString();let r=n.indexOf(a.EOL);while(r>-1){const e=n.substring(0,r);o(e);n=n.substring(r+a.EOL.length);r=n.indexOf(a.EOL)}return n}catch(e){this._debug(`error processing line. Failed with error ${e}`);return""}}_getSpawnFileName(){if(g){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(g){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const o of this.args){t+=" ";t+=e.windowsVerbatimArguments?o:this._windowsQuoteCmdArg(o)}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 o=false;for(const n of e){if(t.some((e=>e===n))){o=true;break}}if(!o){return e}let n='"';let r=true;for(let t=e.length;t>0;t--){n+=e[t-1];if(r&&e[t-1]==="\\"){n+="\\"}else if(e[t-1]==='"'){r=true;n+='"'}else{r=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 o=true;for(let n=e.length;n>0;n--){t+=e[n-1];if(o&&e[n-1]==="\\"){t+="\\"}else if(e[n-1]==='"'){o=true;t+="\\"}else{o=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 o={};o.cwd=e.cwd;o.env=e.env;o["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){o.argv0=`"${t}"`}return o}exec(){return i(this,void 0,void 0,(function*(){if(!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||g&&this.toolPath.includes("\\"))){this.toolPath=u.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield d.which(this.toolPath,true);return new Promise(((e,t)=>i(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(` ${e}`)}const o=this._cloneExecOptions(this.options);if(!o.silent&&o.outStream){o.outStream.write(this._getCommandString(o)+a.EOL)}const n=new ExecState(o,this.toolPath);n.on("debug",(e=>{this._debug(e)}));if(this.options.cwd&&!(yield p.exists(this.options.cwd))){return t(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const r=this._getSpawnFileName();const s=l.spawn(r,this._getSpawnArgs(o),this._getSpawnOptions(this.options,r));let i="";if(s.stdout){s.stdout.on("data",(e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!o.silent&&o.outStream){o.outStream.write(e)}i=this._processLineBuffer(e,i,(e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}}))}))}let c="";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(!o.silent&&o.errStream&&o.outStream){const t=o.failOnStdErr?o.errStream:o.outStream;t.write(e)}c=this._processLineBuffer(e,c,(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",((o,n)=>{if(i.length>0){this.emit("stdline",i)}if(c.length>0){this.emit("errline",c)}s.removeAllListeners();if(o){t(o)}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 o=false;let n=false;let r="";function append(e){if(n&&e!=='"'){r+="\\"}r+=e;n=false}for(let s=0;s0){t.push(r);r=""}continue}append(i)}if(r.length>0){t.push(r.trim())}return t}t.argStringToArray=argStringToArray;class ExecState extends c.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=m.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()}}},5526:function(e,t){"use strict";var o=this&&this.__awaiter||function(e,t,o,n){function adopt(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,r){function fulfilled(e){try{step(n.next(e))}catch(e){r(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){r(e)}}function step(e){e.done?o(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.PersonalAccessTokenCredentialHandler=t.BearerCredentialHandler=t.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(e,t){this.username=e;this.password=t}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return o(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return o(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return o(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},6255:function(e,t,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,o,n){if(n===undefined)n=o;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[o]}})}:function(e,t,o,n){if(n===undefined)n=o;e[n]=t[o]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var o in e)if(o!=="default"&&Object.hasOwnProperty.call(e,o))n(t,e,o);r(t,e);return t};var i=this&&this.__awaiter||function(e,t,o,n){function adopt(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,r){function fulfilled(e){try{step(n.next(e))}catch(e){r(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){r(e)}}function step(e){e.done?o(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.HttpClient=t.isHttps=t.HttpClientResponse=t.HttpClientError=t.getProxyUrl=t.MediaTypes=t.Headers=t.HttpCodes=void 0;const a=s(o(3685));const c=s(o(5687));const l=s(o(9835));const u=s(o(4294));var d;(function(e){e[e["OK"]=200]="OK";e[e["MultipleChoices"]=300]="MultipleChoices";e[e["MovedPermanently"]=301]="MovedPermanently";e[e["ResourceMoved"]=302]="ResourceMoved";e[e["SeeOther"]=303]="SeeOther";e[e["NotModified"]=304]="NotModified";e[e["UseProxy"]=305]="UseProxy";e[e["SwitchProxy"]=306]="SwitchProxy";e[e["TemporaryRedirect"]=307]="TemporaryRedirect";e[e["PermanentRedirect"]=308]="PermanentRedirect";e[e["BadRequest"]=400]="BadRequest";e[e["Unauthorized"]=401]="Unauthorized";e[e["PaymentRequired"]=402]="PaymentRequired";e[e["Forbidden"]=403]="Forbidden";e[e["NotFound"]=404]="NotFound";e[e["MethodNotAllowed"]=405]="MethodNotAllowed";e[e["NotAcceptable"]=406]="NotAcceptable";e[e["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";e[e["RequestTimeout"]=408]="RequestTimeout";e[e["Conflict"]=409]="Conflict";e[e["Gone"]=410]="Gone";e[e["TooManyRequests"]=429]="TooManyRequests";e[e["InternalServerError"]=500]="InternalServerError";e[e["NotImplemented"]=501]="NotImplemented";e[e["BadGateway"]=502]="BadGateway";e[e["ServiceUnavailable"]=503]="ServiceUnavailable";e[e["GatewayTimeout"]=504]="GatewayTimeout"})(d=t.HttpCodes||(t.HttpCodes={}));var p;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(p=t.Headers||(t.Headers={}));var m;(function(e){e["ApplicationJson"]="application/json"})(m=t.MediaTypes||(t.MediaTypes={}));function getProxyUrl(e){const t=l.getProxyUrl(new URL(e));return t?t.href:""}t.getProxyUrl=getProxyUrl;const g=[d.MovedPermanently,d.ResourceMoved,d.SeeOther,d.TemporaryRedirect,d.PermanentRedirect];const f=[d.BadGateway,d.ServiceUnavailable,d.GatewayTimeout];const y=["OPTIONS","GET","DELETE","HEAD"];const h=10;const v=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}t.HttpClientError=HttpClientError;class HttpClientResponse{constructor(e){this.message=e}readBody(){return i(this,void 0,void 0,(function*(){return new Promise((e=>i(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])}));this.message.on("end",(()=>{e(t.toString())}))}))))}))}}t.HttpClientResponse=HttpClientResponse;function isHttps(e){const t=new URL(e);return t.protocol==="https:"}t.isHttps=isHttps;class HttpClient{constructor(e,t,o){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=e;this.handlers=t||[];this.requestOptions=o;if(o){if(o.ignoreSslError!=null){this._ignoreSslError=o.ignoreSslError}this._socketTimeout=o.socketTimeout;if(o.allowRedirects!=null){this._allowRedirects=o.allowRedirects}if(o.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=o.allowRedirectDowngrade}if(o.maxRedirects!=null){this._maxRedirects=Math.max(o.maxRedirects,0)}if(o.keepAlive!=null){this._keepAlive=o.keepAlive}if(o.allowRetries!=null){this._allowRetries=o.allowRetries}if(o.maxRetries!=null){this._maxRetries=o.maxRetries}}}options(e,t){return i(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return i(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return i(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,o){return i(this,void 0,void 0,(function*(){return this.request("POST",e,t,o||{})}))}patch(e,t,o){return i(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,o||{})}))}put(e,t,o){return i(this,void 0,void 0,(function*(){return this.request("PUT",e,t,o||{})}))}head(e,t){return i(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,o,n){return i(this,void 0,void 0,(function*(){return this.request(e,t,o,n)}))}getJson(e,t={}){return i(this,void 0,void 0,(function*(){t[p.Accept]=this._getExistingOrDefaultHeader(t,p.Accept,m.ApplicationJson);const o=yield this.get(e,t);return this._processResponse(o,this.requestOptions)}))}postJson(e,t,o={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);o[p.Accept]=this._getExistingOrDefaultHeader(o,p.Accept,m.ApplicationJson);o[p.ContentType]=this._getExistingOrDefaultHeader(o,p.ContentType,m.ApplicationJson);const r=yield this.post(e,n,o);return this._processResponse(r,this.requestOptions)}))}putJson(e,t,o={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);o[p.Accept]=this._getExistingOrDefaultHeader(o,p.Accept,m.ApplicationJson);o[p.ContentType]=this._getExistingOrDefaultHeader(o,p.ContentType,m.ApplicationJson);const r=yield this.put(e,n,o);return this._processResponse(r,this.requestOptions)}))}patchJson(e,t,o={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);o[p.Accept]=this._getExistingOrDefaultHeader(o,p.Accept,m.ApplicationJson);o[p.ContentType]=this._getExistingOrDefaultHeader(o,p.ContentType,m.ApplicationJson);const r=yield this.patch(e,n,o);return this._processResponse(r,this.requestOptions)}))}request(e,t,o,n){return i(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const r=new URL(t);let s=this._prepareRequest(e,r,n);const i=this._allowRetries&&y.includes(e)?this._maxRetries+1:1;let a=0;let c;do{c=yield this.requestRaw(s,o);if(c&&c.message&&c.message.statusCode===d.Unauthorized){let e;for(const t of this.handlers){if(t.canHandleAuthentication(c)){e=t;break}}if(e){return e.handleAuthentication(this,s,o)}else{return c}}let t=this._maxRedirects;while(c.message.statusCode&&g.includes(c.message.statusCode)&&this._allowRedirects&&t>0){const i=c.message.headers["location"];if(!i){break}const a=new URL(i);if(r.protocol==="https:"&&r.protocol!==a.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}yield c.readBody();if(a.hostname!==r.hostname){for(const e in n){if(e.toLowerCase()==="authorization"){delete n[e]}}}s=this._prepareRequest(e,a,n);c=yield this.requestRaw(s,o);t--}if(!c.message.statusCode||!f.includes(c.message.statusCode)){return c}a+=1;if(a{function callbackForResult(e,t){if(e){n(e)}else if(!t){n(new Error("Unknown error"))}else{o(t)}}this.requestRawWithCallback(e,t,callbackForResult)}))}))}requestRawWithCallback(e,t,o){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let n=false;function handleResult(e,t){if(!n){n=true;o(e,t)}}const r=e.httpModule.request(e.options,(e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)}));let s;r.on("socket",(e=>{s=e}));r.setTimeout(this._socketTimeout||3*6e4,(()=>{if(s){s.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))}));r.on("error",(function(e){handleResult(e)}));if(t&&typeof t==="string"){r.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",(function(){r.end()}));t.pipe(r)}else{r.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}_prepareRequest(e,t,o){const n={};n.parsedUrl=t;const r=n.parsedUrl.protocol==="https:";n.httpModule=r?c:a;const s=r?443:80;n.options={};n.options.host=n.parsedUrl.hostname;n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):s;n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||"");n.options.method=e;n.options.headers=this._mergeHeaders(o);if(this.userAgent!=null){n.options.headers["user-agent"]=this.userAgent}n.options.agent=this._getAgent(n.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(n.options)}}return n}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,o){let n;if(this.requestOptions&&this.requestOptions.headers){n=lowercaseKeys(this.requestOptions.headers)[t]}return e[t]||n||o}_getAgent(e){let t;const o=l.getProxyUrl(e);const n=o&&o.hostname;if(this._keepAlive&&n){t=this._proxyAgent}if(this._keepAlive&&!n){t=this._agent}if(t){return t}const r=e.protocol==="https:";let s=100;if(this.requestOptions){s=this.requestOptions.maxSockets||a.globalAgent.maxSockets}if(o&&o.hostname){const e={maxSockets:s,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(o.username||o.password)&&{proxyAuth:`${o.username}:${o.password}`}),{host:o.hostname,port:o.port})};let n;const i=o.protocol==="https:";if(r){n=i?u.httpsOverHttps:u.httpsOverHttp}else{n=i?u.httpOverHttps:u.httpOverHttp}t=n(e);this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:s};t=r?new c.Agent(e):new a.Agent(e);this._agent=t}if(!t){t=r?c.globalAgent:a.globalAgent}if(r&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_performExponentialBackoff(e){return i(this,void 0,void 0,(function*(){e=Math.min(h,e);const t=v*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return i(this,void 0,void 0,(function*(){return new Promise(((o,n)=>i(this,void 0,void 0,(function*(){const r=e.message.statusCode||0;const s={statusCode:r,result:null,headers:{}};if(r===d.NotFound){o(s)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let i;let a;try{a=yield e.readBody();if(a&&a.length>0){if(t&&t.deserializeDates){i=JSON.parse(a,dateTimeDeserializer)}else{i=JSON.parse(a)}s.result=i}s.headers=e.message.headers}catch(e){}if(r>299){let e;if(i&&i.message){e=i.message}else if(a&&a.length>0){e=a}else{e=`Failed request: (${r})`}const t=new HttpClientError(e,r);t.result=s.result;n(t)}else{o(s)}}))))}))}}t.HttpClient=HttpClient;const lowercaseKeys=e=>Object.keys(e).reduce(((t,o)=>(t[o.toLowerCase()]=e[o],t)),{})},9835:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.checkBypass=t.getProxyUrl=void 0;function getProxyUrl(e){const t=e.protocol==="https:";if(checkBypass(e)){return undefined}const o=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(o){return new URL(o)}else{return undefined}}t.getProxyUrl=getProxyUrl;function checkBypass(e){if(!e.hostname){return false}const t=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!t){return false}let o;if(e.port){o=Number(e.port)}else if(e.protocol==="http:"){o=80}else if(e.protocol==="https:"){o=443}const n=[e.hostname.toUpperCase()];if(typeof o==="number"){n.push(`${n[0]}:${o}`)}for(const e of t.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(n.some((t=>t===e))){return true}}return false}t.checkBypass=checkBypass},1962:function(e,t,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,o,n){if(n===undefined)n=o;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[o]}})}:function(e,t,o,n){if(n===undefined)n=o;e[n]=t[o]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var o in e)if(o!=="default"&&Object.hasOwnProperty.call(e,o))n(t,e,o);r(t,e);return t};var i=this&&this.__awaiter||function(e,t,o,n){function adopt(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,r){function fulfilled(e){try{step(n.next(e))}catch(e){r(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){r(e)}}function step(e){e.done?o(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};var a;Object.defineProperty(t,"__esModule",{value:true});t.getCmdPath=t.tryGetExecutablePath=t.isRooted=t.isDirectory=t.exists=t.IS_WINDOWS=t.unlink=t.symlink=t.stat=t.rmdir=t.rename=t.readlink=t.readdir=t.mkdir=t.lstat=t.copyFile=t.chmod=void 0;const c=s(o(7147));const l=s(o(1017));a=c.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 i(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,o=false){return i(this,void 0,void 0,(function*(){const n=o?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 tryGetExecutablePath(e,o){return i(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=l.extname(e).toUpperCase();if(o.some((e=>e.toUpperCase()===t))){return e}}else{if(isUnixExecutable(n)){return e}}}const r=e;for(const s of o){e=r+s;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 o=l.dirname(e);const n=l.basename(e).toUpperCase();for(const r of yield t.readdir(o)){if(n===r.toUpperCase()){e=l.join(o,r);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 getCmdPath(){var e;return(e=process.env["COMSPEC"])!==null&&e!==void 0?e:`cmd.exe`}t.getCmdPath=getCmdPath},7436:function(e,t,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,o,n){if(n===undefined)n=o;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[o]}})}:function(e,t,o,n){if(n===undefined)n=o;e[n]=t[o]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var o in e)if(o!=="default"&&Object.hasOwnProperty.call(e,o))n(t,e,o);r(t,e);return t};var i=this&&this.__awaiter||function(e,t,o,n){function adopt(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,r){function fulfilled(e){try{step(n.next(e))}catch(e){r(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){r(e)}}function step(e){e.done?o(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.findInPath=t.which=t.mkdirP=t.rmRF=t.mv=t.cp=void 0;const a=o(9491);const c=s(o(2081));const l=s(o(1017));const u=o(3837);const d=s(o(1962));const p=u.promisify(c.exec);const m=u.promisify(c.execFile);function cp(e,t,o={}){return i(this,void 0,void 0,(function*(){const{force:n,recursive:r,copySourceDirectory:s}=readCopyOptions(o);const i=(yield d.exists(t))?yield d.stat(t):null;if(i&&i.isFile()&&!n){return}const a=i&&i.isDirectory()&&s?l.join(t,l.basename(e)):t;if(!(yield d.exists(e))){throw new Error(`no such file or directory: ${e}`)}const c=yield d.stat(e);if(c.isDirectory()){if(!r){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,a,0,n)}}else{if(l.relative(e,a)===""){throw new Error(`'${a}' and '${e}' are the same file`)}yield copyFile(e,a,n)}}))}t.cp=cp;function mv(e,t,o={}){return i(this,void 0,void 0,(function*(){if(yield d.exists(t)){let n=true;if(yield d.isDirectory(t)){t=l.join(t,l.basename(e));n=yield d.exists(t)}if(n){if(o.force==null||o.force){yield rmRF(t)}else{throw new Error("Destination already exists")}}}yield mkdirP(l.dirname(t));yield d.rename(e,t)}))}t.mv=mv;function rmRF(e){return i(this,void 0,void 0,(function*(){if(d.IS_WINDOWS){if(/[*"<>|]/.test(e)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}try{const t=d.getCmdPath();if(yield d.isDirectory(e,true)){yield p(`${t} /s /c "rd /s /q "%inputPath%""`,{env:{inputPath:e}})}else{yield p(`${t} /s /c "del /f /a "%inputPath%""`,{env:{inputPath:e}})}}catch(e){if(e.code!=="ENOENT")throw e}try{yield d.unlink(e)}catch(e){if(e.code!=="ENOENT")throw e}}else{let t=false;try{t=yield d.isDirectory(e)}catch(e){if(e.code!=="ENOENT")throw e;return}if(t){yield m(`rm`,[`-rf`,`${e}`])}else{yield d.unlink(e)}}}))}t.rmRF=rmRF;function mkdirP(e){return i(this,void 0,void 0,(function*(){a.ok(e,"a path argument must be provided");yield d.mkdir(e,{recursive:true})}))}t.mkdirP=mkdirP;function which(e,t){return i(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(d.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return t}const o=yield findInPath(e);if(o&&o.length>0){return o[0]}return""}))}t.which=which;function findInPath(e){return i(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}const t=[];if(d.IS_WINDOWS&&process.env["PATHEXT"]){for(const e of process.env["PATHEXT"].split(l.delimiter)){if(e){t.push(e)}}}if(d.isRooted(e)){const o=yield d.tryGetExecutablePath(e,t);if(o){return[o]}return[]}if(e.includes(l.sep)){return[]}const o=[];if(process.env.PATH){for(const e of process.env.PATH.split(l.delimiter)){if(e){o.push(e)}}}const n=[];for(const r of o){const o=yield d.tryGetExecutablePath(l.join(r,e),t);if(o){n.push(o)}}return n}))}t.findInPath=findInPath;function readCopyOptions(e){const t=e.force==null?true:e.force;const o=Boolean(e.recursive);const n=e.copySourceDirectory==null?true:Boolean(e.copySourceDirectory);return{force:t,recursive:o,copySourceDirectory:n}}function cpDirRecursive(e,t,o,n){return i(this,void 0,void 0,(function*(){if(o>=255)return;o++;yield mkdirP(t);const r=yield d.readdir(e);for(const s of r){const r=`${e}/${s}`;const i=`${t}/${s}`;const a=yield d.lstat(r);if(a.isDirectory()){yield cpDirRecursive(r,i,o,n)}else{yield copyFile(r,i,n)}}yield d.chmod(t,(yield d.stat(e)).mode)}))}function copyFile(e,t,o){return i(this,void 0,void 0,(function*(){if((yield d.lstat(e)).isSymbolicLink()){try{yield d.lstat(t);yield d.unlink(t)}catch(e){if(e.code==="EPERM"){yield d.chmod(t,"0666");yield d.unlink(t)}}const o=yield d.readlink(e);yield d.symlink(o,t,d.IS_WINDOWS?"junction":null)}else if(!(yield d.exists(t))||o){yield d.copyFile(e,t)}}))}},6087:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ECRPUBLIC=void 0;const n=o(9464);const r=o(6517);const s=o(5490);const i=o(9633);const a=o(467);const c=o(2528);const l=o(2776);const u=o(7670);const d=o(8696);const p=o(2218);const m=o(2674);const g=o(6518);const f=o(3189);const y=o(8562);const h=o(3675);const v=o(575);const w=o(6486);const E=o(6805);const S=o(3753);const C=o(1796);const x=o(9869);const _=o(6689);const R=o(7429);const b=o(608);class ECRPUBLIC extends b.ECRPUBLICClient{batchCheckLayerAvailability(e,t,o){const r=new n.BatchCheckLayerAvailabilityCommand(e);if(typeof t==="function"){this.send(r,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(r,t||{},o)}else{return this.send(r,t)}}batchDeleteImage(e,t,o){const n=new r.BatchDeleteImageCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}completeLayerUpload(e,t,o){const n=new s.CompleteLayerUploadCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}createRepository(e,t,o){const n=new i.CreateRepositoryCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}deleteRepository(e,t,o){const n=new a.DeleteRepositoryCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}deleteRepositoryPolicy(e,t,o){const n=new c.DeleteRepositoryPolicyCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}describeImages(e,t,o){const n=new l.DescribeImagesCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}describeImageTags(e,t,o){const n=new u.DescribeImageTagsCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}describeRegistries(e,t,o){const n=new d.DescribeRegistriesCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}describeRepositories(e,t,o){const n=new p.DescribeRepositoriesCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}getAuthorizationToken(e,t,o){const n=new m.GetAuthorizationTokenCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}getRegistryCatalogData(e,t,o){const n=new g.GetRegistryCatalogDataCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}getRepositoryCatalogData(e,t,o){const n=new f.GetRepositoryCatalogDataCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}getRepositoryPolicy(e,t,o){const n=new y.GetRepositoryPolicyCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}initiateLayerUpload(e,t,o){const n=new h.InitiateLayerUploadCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}listTagsForResource(e,t,o){const n=new v.ListTagsForResourceCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}putImage(e,t,o){const n=new w.PutImageCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}putRegistryCatalogData(e,t,o){const n=new E.PutRegistryCatalogDataCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}putRepositoryCatalogData(e,t,o){const n=new S.PutRepositoryCatalogDataCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}setRepositoryPolicy(e,t,o){const n=new C.SetRepositoryPolicyCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}tagResource(e,t,o){const n=new x.TagResourceCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}untagResource(e,t,o){const n=new _.UntagResourceCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}uploadLayerPart(e,t,o){const n=new R.UploadLayerPartCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}}t.ECRPUBLIC=ECRPUBLIC},608:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ECRPUBLICClient=void 0;const n=o(6153);const r=o(2245);const s=o(2545);const i=o(14);const a=o(5525);const c=o(6064);const l=o(4935);const u=o(4688);const d=o(4963);const p=o(9324);class ECRPUBLICClient extends d.Client{constructor(e){const t=(0,p.getRuntimeConfig)(e);const o=(0,n.resolveRegionConfig)(t);const d=(0,n.resolveEndpointsConfig)(o);const m=(0,c.resolveRetryConfig)(d);const g=(0,s.resolveHostHeaderConfig)(m);const f=(0,l.resolveAwsAuthConfig)(g);const y=(0,u.resolveUserAgentConfig)(f);super(y);this.config=y;this.middlewareStack.use((0,c.getRetryPlugin)(this.config));this.middlewareStack.use((0,r.getContentLengthPlugin)(this.config));this.middlewareStack.use((0,s.getHostHeaderPlugin)(this.config));this.middlewareStack.use((0,i.getLoggerPlugin)(this.config));this.middlewareStack.use((0,a.getRecursionDetectionPlugin)(this.config));this.middlewareStack.use((0,l.getAwsAuthPlugin)(this.config));this.middlewareStack.use((0,u.getUserAgentPlugin)(this.config))}destroy(){super.destroy()}}t.ECRPUBLICClient=ECRPUBLICClient},9464:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BatchCheckLayerAvailabilityCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class BatchCheckLayerAvailabilityCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="BatchCheckLayerAvailabilityCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.BatchCheckLayerAvailabilityRequestFilterSensitiveLog,outputFilterSensitiveLog:s.BatchCheckLayerAvailabilityResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1BatchCheckLayerAvailabilityCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1BatchCheckLayerAvailabilityCommand)(e,t)}}t.BatchCheckLayerAvailabilityCommand=BatchCheckLayerAvailabilityCommand},6517:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BatchDeleteImageCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class BatchDeleteImageCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="BatchDeleteImageCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.BatchDeleteImageRequestFilterSensitiveLog,outputFilterSensitiveLog:s.BatchDeleteImageResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1BatchDeleteImageCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1BatchDeleteImageCommand)(e,t)}}t.BatchDeleteImageCommand=BatchDeleteImageCommand},5490:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CompleteLayerUploadCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class CompleteLayerUploadCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="CompleteLayerUploadCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.CompleteLayerUploadRequestFilterSensitiveLog,outputFilterSensitiveLog:s.CompleteLayerUploadResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1CompleteLayerUploadCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1CompleteLayerUploadCommand)(e,t)}}t.CompleteLayerUploadCommand=CompleteLayerUploadCommand},9633:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CreateRepositoryCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class CreateRepositoryCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="CreateRepositoryCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.CreateRepositoryRequestFilterSensitiveLog,outputFilterSensitiveLog:s.CreateRepositoryResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1CreateRepositoryCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1CreateRepositoryCommand)(e,t)}}t.CreateRepositoryCommand=CreateRepositoryCommand},467:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DeleteRepositoryCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class DeleteRepositoryCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="DeleteRepositoryCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.DeleteRepositoryRequestFilterSensitiveLog,outputFilterSensitiveLog:s.DeleteRepositoryResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1DeleteRepositoryCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1DeleteRepositoryCommand)(e,t)}}t.DeleteRepositoryCommand=DeleteRepositoryCommand},2528:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DeleteRepositoryPolicyCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class DeleteRepositoryPolicyCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="DeleteRepositoryPolicyCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.DeleteRepositoryPolicyRequestFilterSensitiveLog,outputFilterSensitiveLog:s.DeleteRepositoryPolicyResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1DeleteRepositoryPolicyCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1DeleteRepositoryPolicyCommand)(e,t)}}t.DeleteRepositoryPolicyCommand=DeleteRepositoryPolicyCommand},7670:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DescribeImageTagsCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class DescribeImageTagsCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="DescribeImageTagsCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.DescribeImageTagsRequestFilterSensitiveLog,outputFilterSensitiveLog:s.DescribeImageTagsResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1DescribeImageTagsCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1DescribeImageTagsCommand)(e,t)}}t.DescribeImageTagsCommand=DescribeImageTagsCommand},2776:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DescribeImagesCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class DescribeImagesCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="DescribeImagesCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.DescribeImagesRequestFilterSensitiveLog,outputFilterSensitiveLog:s.DescribeImagesResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1DescribeImagesCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1DescribeImagesCommand)(e,t)}}t.DescribeImagesCommand=DescribeImagesCommand},8696:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DescribeRegistriesCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class DescribeRegistriesCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="DescribeRegistriesCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.DescribeRegistriesRequestFilterSensitiveLog,outputFilterSensitiveLog:s.DescribeRegistriesResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1DescribeRegistriesCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1DescribeRegistriesCommand)(e,t)}}t.DescribeRegistriesCommand=DescribeRegistriesCommand},2218:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DescribeRepositoriesCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class DescribeRepositoriesCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="DescribeRepositoriesCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.DescribeRepositoriesRequestFilterSensitiveLog,outputFilterSensitiveLog:s.DescribeRepositoriesResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1DescribeRepositoriesCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1DescribeRepositoriesCommand)(e,t)}}t.DescribeRepositoriesCommand=DescribeRepositoriesCommand},2674:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GetAuthorizationTokenCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class GetAuthorizationTokenCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="GetAuthorizationTokenCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.GetAuthorizationTokenRequestFilterSensitiveLog,outputFilterSensitiveLog:s.GetAuthorizationTokenResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1GetAuthorizationTokenCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1GetAuthorizationTokenCommand)(e,t)}}t.GetAuthorizationTokenCommand=GetAuthorizationTokenCommand},6518:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GetRegistryCatalogDataCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class GetRegistryCatalogDataCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="GetRegistryCatalogDataCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.GetRegistryCatalogDataRequestFilterSensitiveLog,outputFilterSensitiveLog:s.GetRegistryCatalogDataResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1GetRegistryCatalogDataCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1GetRegistryCatalogDataCommand)(e,t)}}t.GetRegistryCatalogDataCommand=GetRegistryCatalogDataCommand},3189:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GetRepositoryCatalogDataCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class GetRepositoryCatalogDataCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="GetRepositoryCatalogDataCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.GetRepositoryCatalogDataRequestFilterSensitiveLog,outputFilterSensitiveLog:s.GetRepositoryCatalogDataResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1GetRepositoryCatalogDataCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1GetRepositoryCatalogDataCommand)(e,t)}}t.GetRepositoryCatalogDataCommand=GetRepositoryCatalogDataCommand},8562:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GetRepositoryPolicyCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class GetRepositoryPolicyCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="GetRepositoryPolicyCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.GetRepositoryPolicyRequestFilterSensitiveLog,outputFilterSensitiveLog:s.GetRepositoryPolicyResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1GetRepositoryPolicyCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1GetRepositoryPolicyCommand)(e,t)}}t.GetRepositoryPolicyCommand=GetRepositoryPolicyCommand},3675:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.InitiateLayerUploadCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class InitiateLayerUploadCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="InitiateLayerUploadCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.InitiateLayerUploadRequestFilterSensitiveLog,outputFilterSensitiveLog:s.InitiateLayerUploadResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1InitiateLayerUploadCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1InitiateLayerUploadCommand)(e,t)}}t.InitiateLayerUploadCommand=InitiateLayerUploadCommand},575:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ListTagsForResourceCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class ListTagsForResourceCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="ListTagsForResourceCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.ListTagsForResourceRequestFilterSensitiveLog,outputFilterSensitiveLog:s.ListTagsForResourceResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1ListTagsForResourceCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1ListTagsForResourceCommand)(e,t)}}t.ListTagsForResourceCommand=ListTagsForResourceCommand},6486:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PutImageCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class PutImageCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="PutImageCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.PutImageRequestFilterSensitiveLog,outputFilterSensitiveLog:s.PutImageResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1PutImageCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1PutImageCommand)(e,t)}}t.PutImageCommand=PutImageCommand},6805:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PutRegistryCatalogDataCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class PutRegistryCatalogDataCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="PutRegistryCatalogDataCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.PutRegistryCatalogDataRequestFilterSensitiveLog,outputFilterSensitiveLog:s.PutRegistryCatalogDataResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1PutRegistryCatalogDataCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1PutRegistryCatalogDataCommand)(e,t)}}t.PutRegistryCatalogDataCommand=PutRegistryCatalogDataCommand},3753:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PutRepositoryCatalogDataCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class PutRepositoryCatalogDataCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="PutRepositoryCatalogDataCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.PutRepositoryCatalogDataRequestFilterSensitiveLog,outputFilterSensitiveLog:s.PutRepositoryCatalogDataResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1PutRepositoryCatalogDataCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1PutRepositoryCatalogDataCommand)(e,t)}}t.PutRepositoryCatalogDataCommand=PutRepositoryCatalogDataCommand},1796:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SetRepositoryPolicyCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class SetRepositoryPolicyCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="SetRepositoryPolicyCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.SetRepositoryPolicyRequestFilterSensitiveLog,outputFilterSensitiveLog:s.SetRepositoryPolicyResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1SetRepositoryPolicyCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1SetRepositoryPolicyCommand)(e,t)}}t.SetRepositoryPolicyCommand=SetRepositoryPolicyCommand},9869:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TagResourceCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class TagResourceCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="TagResourceCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.TagResourceRequestFilterSensitiveLog,outputFilterSensitiveLog:s.TagResourceResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1TagResourceCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1TagResourceCommand)(e,t)}}t.TagResourceCommand=TagResourceCommand},6689:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UntagResourceCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class UntagResourceCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="UntagResourceCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.UntagResourceRequestFilterSensitiveLog,outputFilterSensitiveLog:s.UntagResourceResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1UntagResourceCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1UntagResourceCommand)(e,t)}}t.UntagResourceCommand=UntagResourceCommand},7429:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UploadLayerPartCommand=void 0;const n=o(3631);const r=o(4963);const s=o(8818);const i=o(4170);class UploadLayerPartCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRPUBLICClient";const c="UploadLayerPartCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.UploadLayerPartRequestFilterSensitiveLog,outputFilterSensitiveLog:s.UploadLayerPartResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1UploadLayerPartCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1UploadLayerPartCommand)(e,t)}}t.UploadLayerPartCommand=UploadLayerPartCommand},5506:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(9464),t);n.__exportStar(o(6517),t);n.__exportStar(o(5490),t);n.__exportStar(o(9633),t);n.__exportStar(o(467),t);n.__exportStar(o(2528),t);n.__exportStar(o(7670),t);n.__exportStar(o(2776),t);n.__exportStar(o(8696),t);n.__exportStar(o(2218),t);n.__exportStar(o(2674),t);n.__exportStar(o(6518),t);n.__exportStar(o(3189),t);n.__exportStar(o(8562),t);n.__exportStar(o(3675),t);n.__exportStar(o(575),t);n.__exportStar(o(6486),t);n.__exportStar(o(6805),t);n.__exportStar(o(3753),t);n.__exportStar(o(1796),t);n.__exportStar(o(9869),t);n.__exportStar(o(6689),t);n.__exportStar(o(7429),t)},8593:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.defaultRegionInfoProvider=void 0;const n=o(6153);const r={};const s={aws:{regions:["af-south-1","ap-east-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-south-1","ap-southeast-1","ap-southeast-2","ap-southeast-3","ca-central-1","eu-central-1","eu-north-1","eu-south-1","eu-west-1","eu-west-2","eu-west-3","me-central-1","me-south-1","sa-east-1","us-east-1","us-east-2","us-west-1","us-west-2"],regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",variants:[{hostname:"api.ecr-public.{region}.amazonaws.com",tags:[]},{hostname:"api.ecr-public-fips.{region}.amazonaws.com",tags:["fips"]},{hostname:"api.ecr-public-fips.{region}.api.aws",tags:["dualstack","fips"]},{hostname:"api.ecr-public.{region}.api.aws",tags:["dualstack"]}]},"aws-cn":{regions:["cn-north-1","cn-northwest-1"],regionRegex:"^cn\\-\\w+\\-\\d+$",variants:[{hostname:"api.ecr-public.{region}.amazonaws.com.cn",tags:[]},{hostname:"api.ecr-public-fips.{region}.amazonaws.com.cn",tags:["fips"]},{hostname:"api.ecr-public-fips.{region}.api.amazonwebservices.com.cn",tags:["dualstack","fips"]},{hostname:"api.ecr-public.{region}.api.amazonwebservices.com.cn",tags:["dualstack"]}]},"aws-iso":{regions:["us-iso-east-1","us-iso-west-1"],regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",variants:[{hostname:"api.ecr-public.{region}.c2s.ic.gov",tags:[]},{hostname:"api.ecr-public-fips.{region}.c2s.ic.gov",tags:["fips"]}]},"aws-iso-b":{regions:["us-isob-east-1"],regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",variants:[{hostname:"api.ecr-public.{region}.sc2s.sgov.gov",tags:[]},{hostname:"api.ecr-public-fips.{region}.sc2s.sgov.gov",tags:["fips"]}]},"aws-us-gov":{regions:["us-gov-east-1","us-gov-west-1"],regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",variants:[{hostname:"api.ecr-public.{region}.amazonaws.com",tags:[]},{hostname:"api.ecr-public-fips.{region}.amazonaws.com",tags:["fips"]},{hostname:"api.ecr-public-fips.{region}.api.aws",tags:["dualstack","fips"]},{hostname:"api.ecr-public.{region}.api.aws",tags:["dualstack"]}]}};const defaultRegionInfoProvider=async(e,t)=>(0,n.getRegionInfo)(e,{...t,signingService:"ecr-public",regionHash:r,partitionHash:s});t.defaultRegionInfoProvider=defaultRegionInfoProvider},2308:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ECRPUBLICServiceException=void 0;const n=o(4351);n.__exportStar(o(6087),t);n.__exportStar(o(608),t);n.__exportStar(o(5506),t);n.__exportStar(o(183),t);n.__exportStar(o(5945),t);var r=o(8278);Object.defineProperty(t,"ECRPUBLICServiceException",{enumerable:true,get:function(){return r.ECRPUBLICServiceException}})},8278:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ECRPUBLICServiceException=void 0;const n=o(4963);class ECRPUBLICServiceException extends n.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,ECRPUBLICServiceException.prototype)}}t.ECRPUBLICServiceException=ECRPUBLICServiceException},183:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(8818),t)},8818:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ImageDetailFilterSensitiveLog=t.DescribeImagesRequestFilterSensitiveLog=t.DeleteRepositoryPolicyResponseFilterSensitiveLog=t.DeleteRepositoryPolicyRequestFilterSensitiveLog=t.DeleteRepositoryResponseFilterSensitiveLog=t.DeleteRepositoryRequestFilterSensitiveLog=t.CreateRepositoryResponseFilterSensitiveLog=t.RepositoryFilterSensitiveLog=t.RepositoryCatalogDataFilterSensitiveLog=t.CreateRepositoryRequestFilterSensitiveLog=t.TagFilterSensitiveLog=t.RepositoryCatalogDataInputFilterSensitiveLog=t.CompleteLayerUploadResponseFilterSensitiveLog=t.CompleteLayerUploadRequestFilterSensitiveLog=t.BatchDeleteImageResponseFilterSensitiveLog=t.ImageFailureFilterSensitiveLog=t.BatchDeleteImageRequestFilterSensitiveLog=t.ImageIdentifierFilterSensitiveLog=t.BatchCheckLayerAvailabilityResponseFilterSensitiveLog=t.LayerFilterSensitiveLog=t.LayerFailureFilterSensitiveLog=t.BatchCheckLayerAvailabilityRequestFilterSensitiveLog=t.AuthorizationDataFilterSensitiveLog=t.ReferencedImagesNotFoundException=t.LayersNotFoundException=t.InvalidLayerPartException=t.ImageTagAlreadyExistsException=t.ImageDigestDoesNotMatchException=t.ImageAlreadyExistsException=t.RegistryAliasStatus=t.ImageNotFoundException=t.RepositoryPolicyNotFoundException=t.RepositoryNotEmptyException=t.TooManyTagsException=t.RepositoryAlreadyExistsException=t.LimitExceededException=t.InvalidTagParameterException=t.UploadNotFoundException=t.UnsupportedCommandException=t.LayerPartTooSmallException=t.LayerAlreadyExistsException=t.InvalidLayerException=t.EmptyUploadException=t.ImageFailureCode=t.ServerException=t.RepositoryNotFoundException=t.RegistryNotFoundException=t.InvalidParameterException=t.LayerAvailability=t.LayerFailureCode=void 0;t.UploadLayerPartResponseFilterSensitiveLog=t.UploadLayerPartRequestFilterSensitiveLog=t.UntagResourceResponseFilterSensitiveLog=t.UntagResourceRequestFilterSensitiveLog=t.TagResourceResponseFilterSensitiveLog=t.TagResourceRequestFilterSensitiveLog=t.SetRepositoryPolicyResponseFilterSensitiveLog=t.SetRepositoryPolicyRequestFilterSensitiveLog=t.PutRepositoryCatalogDataResponseFilterSensitiveLog=t.PutRepositoryCatalogDataRequestFilterSensitiveLog=t.PutRegistryCatalogDataResponseFilterSensitiveLog=t.PutRegistryCatalogDataRequestFilterSensitiveLog=t.PutImageResponseFilterSensitiveLog=t.PutImageRequestFilterSensitiveLog=t.ListTagsForResourceResponseFilterSensitiveLog=t.ListTagsForResourceRequestFilterSensitiveLog=t.InitiateLayerUploadResponseFilterSensitiveLog=t.InitiateLayerUploadRequestFilterSensitiveLog=t.ImageFilterSensitiveLog=t.GetRepositoryPolicyResponseFilterSensitiveLog=t.GetRepositoryPolicyRequestFilterSensitiveLog=t.GetRepositoryCatalogDataResponseFilterSensitiveLog=t.GetRepositoryCatalogDataRequestFilterSensitiveLog=t.GetRegistryCatalogDataResponseFilterSensitiveLog=t.RegistryCatalogDataFilterSensitiveLog=t.GetRegistryCatalogDataRequestFilterSensitiveLog=t.GetAuthorizationTokenResponseFilterSensitiveLog=t.GetAuthorizationTokenRequestFilterSensitiveLog=t.DescribeRepositoriesResponseFilterSensitiveLog=t.DescribeRepositoriesRequestFilterSensitiveLog=t.DescribeRegistriesResponseFilterSensitiveLog=t.RegistryFilterSensitiveLog=t.RegistryAliasFilterSensitiveLog=t.DescribeRegistriesRequestFilterSensitiveLog=t.DescribeImageTagsResponseFilterSensitiveLog=t.ImageTagDetailFilterSensitiveLog=t.ReferencedImageDetailFilterSensitiveLog=t.DescribeImageTagsRequestFilterSensitiveLog=t.DescribeImagesResponseFilterSensitiveLog=void 0;const n=o(8278);var r;(function(e){e["InvalidLayerDigest"]="InvalidLayerDigest";e["MissingLayerDigest"]="MissingLayerDigest"})(r=t.LayerFailureCode||(t.LayerFailureCode={}));var s;(function(e){e["AVAILABLE"]="AVAILABLE";e["UNAVAILABLE"]="UNAVAILABLE"})(s=t.LayerAvailability||(t.LayerAvailability={}));class InvalidParameterException extends n.ECRPUBLICServiceException{constructor(e){super({name:"InvalidParameterException",$fault:"client",...e});this.name="InvalidParameterException";this.$fault="client";Object.setPrototypeOf(this,InvalidParameterException.prototype)}}t.InvalidParameterException=InvalidParameterException;class RegistryNotFoundException extends n.ECRPUBLICServiceException{constructor(e){super({name:"RegistryNotFoundException",$fault:"client",...e});this.name="RegistryNotFoundException";this.$fault="client";Object.setPrototypeOf(this,RegistryNotFoundException.prototype)}}t.RegistryNotFoundException=RegistryNotFoundException;class RepositoryNotFoundException extends n.ECRPUBLICServiceException{constructor(e){super({name:"RepositoryNotFoundException",$fault:"client",...e});this.name="RepositoryNotFoundException";this.$fault="client";Object.setPrototypeOf(this,RepositoryNotFoundException.prototype)}}t.RepositoryNotFoundException=RepositoryNotFoundException;class ServerException extends n.ECRPUBLICServiceException{constructor(e){super({name:"ServerException",$fault:"server",...e});this.name="ServerException";this.$fault="server";Object.setPrototypeOf(this,ServerException.prototype)}}t.ServerException=ServerException;var i;(function(e){e["ImageNotFound"]="ImageNotFound";e["ImageReferencedByManifestList"]="ImageReferencedByManifestList";e["ImageTagDoesNotMatchDigest"]="ImageTagDoesNotMatchDigest";e["InvalidImageDigest"]="InvalidImageDigest";e["InvalidImageTag"]="InvalidImageTag";e["KmsError"]="KmsError";e["MissingDigestAndTag"]="MissingDigestAndTag"})(i=t.ImageFailureCode||(t.ImageFailureCode={}));class EmptyUploadException extends n.ECRPUBLICServiceException{constructor(e){super({name:"EmptyUploadException",$fault:"client",...e});this.name="EmptyUploadException";this.$fault="client";Object.setPrototypeOf(this,EmptyUploadException.prototype)}}t.EmptyUploadException=EmptyUploadException;class InvalidLayerException extends n.ECRPUBLICServiceException{constructor(e){super({name:"InvalidLayerException",$fault:"client",...e});this.name="InvalidLayerException";this.$fault="client";Object.setPrototypeOf(this,InvalidLayerException.prototype)}}t.InvalidLayerException=InvalidLayerException;class LayerAlreadyExistsException extends n.ECRPUBLICServiceException{constructor(e){super({name:"LayerAlreadyExistsException",$fault:"client",...e});this.name="LayerAlreadyExistsException";this.$fault="client";Object.setPrototypeOf(this,LayerAlreadyExistsException.prototype)}}t.LayerAlreadyExistsException=LayerAlreadyExistsException;class LayerPartTooSmallException extends n.ECRPUBLICServiceException{constructor(e){super({name:"LayerPartTooSmallException",$fault:"client",...e});this.name="LayerPartTooSmallException";this.$fault="client";Object.setPrototypeOf(this,LayerPartTooSmallException.prototype)}}t.LayerPartTooSmallException=LayerPartTooSmallException;class UnsupportedCommandException extends n.ECRPUBLICServiceException{constructor(e){super({name:"UnsupportedCommandException",$fault:"client",...e});this.name="UnsupportedCommandException";this.$fault="client";Object.setPrototypeOf(this,UnsupportedCommandException.prototype)}}t.UnsupportedCommandException=UnsupportedCommandException;class UploadNotFoundException extends n.ECRPUBLICServiceException{constructor(e){super({name:"UploadNotFoundException",$fault:"client",...e});this.name="UploadNotFoundException";this.$fault="client";Object.setPrototypeOf(this,UploadNotFoundException.prototype)}}t.UploadNotFoundException=UploadNotFoundException;class InvalidTagParameterException extends n.ECRPUBLICServiceException{constructor(e){super({name:"InvalidTagParameterException",$fault:"client",...e});this.name="InvalidTagParameterException";this.$fault="client";Object.setPrototypeOf(this,InvalidTagParameterException.prototype)}}t.InvalidTagParameterException=InvalidTagParameterException;class LimitExceededException extends n.ECRPUBLICServiceException{constructor(e){super({name:"LimitExceededException",$fault:"client",...e});this.name="LimitExceededException";this.$fault="client";Object.setPrototypeOf(this,LimitExceededException.prototype)}}t.LimitExceededException=LimitExceededException;class RepositoryAlreadyExistsException extends n.ECRPUBLICServiceException{constructor(e){super({name:"RepositoryAlreadyExistsException",$fault:"client",...e});this.name="RepositoryAlreadyExistsException";this.$fault="client";Object.setPrototypeOf(this,RepositoryAlreadyExistsException.prototype)}}t.RepositoryAlreadyExistsException=RepositoryAlreadyExistsException;class TooManyTagsException extends n.ECRPUBLICServiceException{constructor(e){super({name:"TooManyTagsException",$fault:"client",...e});this.name="TooManyTagsException";this.$fault="client";Object.setPrototypeOf(this,TooManyTagsException.prototype)}}t.TooManyTagsException=TooManyTagsException;class RepositoryNotEmptyException extends n.ECRPUBLICServiceException{constructor(e){super({name:"RepositoryNotEmptyException",$fault:"client",...e});this.name="RepositoryNotEmptyException";this.$fault="client";Object.setPrototypeOf(this,RepositoryNotEmptyException.prototype)}}t.RepositoryNotEmptyException=RepositoryNotEmptyException;class RepositoryPolicyNotFoundException extends n.ECRPUBLICServiceException{constructor(e){super({name:"RepositoryPolicyNotFoundException",$fault:"client",...e});this.name="RepositoryPolicyNotFoundException";this.$fault="client";Object.setPrototypeOf(this,RepositoryPolicyNotFoundException.prototype)}}t.RepositoryPolicyNotFoundException=RepositoryPolicyNotFoundException;class ImageNotFoundException extends n.ECRPUBLICServiceException{constructor(e){super({name:"ImageNotFoundException",$fault:"client",...e});this.name="ImageNotFoundException";this.$fault="client";Object.setPrototypeOf(this,ImageNotFoundException.prototype)}}t.ImageNotFoundException=ImageNotFoundException;var a;(function(e){e["ACTIVE"]="ACTIVE";e["PENDING"]="PENDING";e["REJECTED"]="REJECTED"})(a=t.RegistryAliasStatus||(t.RegistryAliasStatus={}));class ImageAlreadyExistsException extends n.ECRPUBLICServiceException{constructor(e){super({name:"ImageAlreadyExistsException",$fault:"client",...e});this.name="ImageAlreadyExistsException";this.$fault="client";Object.setPrototypeOf(this,ImageAlreadyExistsException.prototype)}}t.ImageAlreadyExistsException=ImageAlreadyExistsException;class ImageDigestDoesNotMatchException extends n.ECRPUBLICServiceException{constructor(e){super({name:"ImageDigestDoesNotMatchException",$fault:"client",...e});this.name="ImageDigestDoesNotMatchException";this.$fault="client";Object.setPrototypeOf(this,ImageDigestDoesNotMatchException.prototype)}}t.ImageDigestDoesNotMatchException=ImageDigestDoesNotMatchException;class ImageTagAlreadyExistsException extends n.ECRPUBLICServiceException{constructor(e){super({name:"ImageTagAlreadyExistsException",$fault:"client",...e});this.name="ImageTagAlreadyExistsException";this.$fault="client";Object.setPrototypeOf(this,ImageTagAlreadyExistsException.prototype)}}t.ImageTagAlreadyExistsException=ImageTagAlreadyExistsException;class InvalidLayerPartException extends n.ECRPUBLICServiceException{constructor(e){super({name:"InvalidLayerPartException",$fault:"client",...e});this.name="InvalidLayerPartException";this.$fault="client";Object.setPrototypeOf(this,InvalidLayerPartException.prototype);this.registryId=e.registryId;this.repositoryName=e.repositoryName;this.uploadId=e.uploadId;this.lastValidByteReceived=e.lastValidByteReceived}}t.InvalidLayerPartException=InvalidLayerPartException;class LayersNotFoundException extends n.ECRPUBLICServiceException{constructor(e){super({name:"LayersNotFoundException",$fault:"client",...e});this.name="LayersNotFoundException";this.$fault="client";Object.setPrototypeOf(this,LayersNotFoundException.prototype)}}t.LayersNotFoundException=LayersNotFoundException;class ReferencedImagesNotFoundException extends n.ECRPUBLICServiceException{constructor(e){super({name:"ReferencedImagesNotFoundException",$fault:"client",...e});this.name="ReferencedImagesNotFoundException";this.$fault="client";Object.setPrototypeOf(this,ReferencedImagesNotFoundException.prototype)}}t.ReferencedImagesNotFoundException=ReferencedImagesNotFoundException;const AuthorizationDataFilterSensitiveLog=e=>({...e});t.AuthorizationDataFilterSensitiveLog=AuthorizationDataFilterSensitiveLog;const BatchCheckLayerAvailabilityRequestFilterSensitiveLog=e=>({...e});t.BatchCheckLayerAvailabilityRequestFilterSensitiveLog=BatchCheckLayerAvailabilityRequestFilterSensitiveLog;const LayerFailureFilterSensitiveLog=e=>({...e});t.LayerFailureFilterSensitiveLog=LayerFailureFilterSensitiveLog;const LayerFilterSensitiveLog=e=>({...e});t.LayerFilterSensitiveLog=LayerFilterSensitiveLog;const BatchCheckLayerAvailabilityResponseFilterSensitiveLog=e=>({...e});t.BatchCheckLayerAvailabilityResponseFilterSensitiveLog=BatchCheckLayerAvailabilityResponseFilterSensitiveLog;const ImageIdentifierFilterSensitiveLog=e=>({...e});t.ImageIdentifierFilterSensitiveLog=ImageIdentifierFilterSensitiveLog;const BatchDeleteImageRequestFilterSensitiveLog=e=>({...e});t.BatchDeleteImageRequestFilterSensitiveLog=BatchDeleteImageRequestFilterSensitiveLog;const ImageFailureFilterSensitiveLog=e=>({...e});t.ImageFailureFilterSensitiveLog=ImageFailureFilterSensitiveLog;const BatchDeleteImageResponseFilterSensitiveLog=e=>({...e});t.BatchDeleteImageResponseFilterSensitiveLog=BatchDeleteImageResponseFilterSensitiveLog;const CompleteLayerUploadRequestFilterSensitiveLog=e=>({...e});t.CompleteLayerUploadRequestFilterSensitiveLog=CompleteLayerUploadRequestFilterSensitiveLog;const CompleteLayerUploadResponseFilterSensitiveLog=e=>({...e});t.CompleteLayerUploadResponseFilterSensitiveLog=CompleteLayerUploadResponseFilterSensitiveLog;const RepositoryCatalogDataInputFilterSensitiveLog=e=>({...e});t.RepositoryCatalogDataInputFilterSensitiveLog=RepositoryCatalogDataInputFilterSensitiveLog;const TagFilterSensitiveLog=e=>({...e});t.TagFilterSensitiveLog=TagFilterSensitiveLog;const CreateRepositoryRequestFilterSensitiveLog=e=>({...e});t.CreateRepositoryRequestFilterSensitiveLog=CreateRepositoryRequestFilterSensitiveLog;const RepositoryCatalogDataFilterSensitiveLog=e=>({...e});t.RepositoryCatalogDataFilterSensitiveLog=RepositoryCatalogDataFilterSensitiveLog;const RepositoryFilterSensitiveLog=e=>({...e});t.RepositoryFilterSensitiveLog=RepositoryFilterSensitiveLog;const CreateRepositoryResponseFilterSensitiveLog=e=>({...e});t.CreateRepositoryResponseFilterSensitiveLog=CreateRepositoryResponseFilterSensitiveLog;const DeleteRepositoryRequestFilterSensitiveLog=e=>({...e});t.DeleteRepositoryRequestFilterSensitiveLog=DeleteRepositoryRequestFilterSensitiveLog;const DeleteRepositoryResponseFilterSensitiveLog=e=>({...e});t.DeleteRepositoryResponseFilterSensitiveLog=DeleteRepositoryResponseFilterSensitiveLog;const DeleteRepositoryPolicyRequestFilterSensitiveLog=e=>({...e});t.DeleteRepositoryPolicyRequestFilterSensitiveLog=DeleteRepositoryPolicyRequestFilterSensitiveLog;const DeleteRepositoryPolicyResponseFilterSensitiveLog=e=>({...e});t.DeleteRepositoryPolicyResponseFilterSensitiveLog=DeleteRepositoryPolicyResponseFilterSensitiveLog;const DescribeImagesRequestFilterSensitiveLog=e=>({...e});t.DescribeImagesRequestFilterSensitiveLog=DescribeImagesRequestFilterSensitiveLog;const ImageDetailFilterSensitiveLog=e=>({...e});t.ImageDetailFilterSensitiveLog=ImageDetailFilterSensitiveLog;const DescribeImagesResponseFilterSensitiveLog=e=>({...e});t.DescribeImagesResponseFilterSensitiveLog=DescribeImagesResponseFilterSensitiveLog;const DescribeImageTagsRequestFilterSensitiveLog=e=>({...e});t.DescribeImageTagsRequestFilterSensitiveLog=DescribeImageTagsRequestFilterSensitiveLog;const ReferencedImageDetailFilterSensitiveLog=e=>({...e});t.ReferencedImageDetailFilterSensitiveLog=ReferencedImageDetailFilterSensitiveLog;const ImageTagDetailFilterSensitiveLog=e=>({...e});t.ImageTagDetailFilterSensitiveLog=ImageTagDetailFilterSensitiveLog;const DescribeImageTagsResponseFilterSensitiveLog=e=>({...e});t.DescribeImageTagsResponseFilterSensitiveLog=DescribeImageTagsResponseFilterSensitiveLog;const DescribeRegistriesRequestFilterSensitiveLog=e=>({...e});t.DescribeRegistriesRequestFilterSensitiveLog=DescribeRegistriesRequestFilterSensitiveLog;const RegistryAliasFilterSensitiveLog=e=>({...e});t.RegistryAliasFilterSensitiveLog=RegistryAliasFilterSensitiveLog;const RegistryFilterSensitiveLog=e=>({...e});t.RegistryFilterSensitiveLog=RegistryFilterSensitiveLog;const DescribeRegistriesResponseFilterSensitiveLog=e=>({...e});t.DescribeRegistriesResponseFilterSensitiveLog=DescribeRegistriesResponseFilterSensitiveLog;const DescribeRepositoriesRequestFilterSensitiveLog=e=>({...e});t.DescribeRepositoriesRequestFilterSensitiveLog=DescribeRepositoriesRequestFilterSensitiveLog;const DescribeRepositoriesResponseFilterSensitiveLog=e=>({...e});t.DescribeRepositoriesResponseFilterSensitiveLog=DescribeRepositoriesResponseFilterSensitiveLog;const GetAuthorizationTokenRequestFilterSensitiveLog=e=>({...e});t.GetAuthorizationTokenRequestFilterSensitiveLog=GetAuthorizationTokenRequestFilterSensitiveLog;const GetAuthorizationTokenResponseFilterSensitiveLog=e=>({...e});t.GetAuthorizationTokenResponseFilterSensitiveLog=GetAuthorizationTokenResponseFilterSensitiveLog;const GetRegistryCatalogDataRequestFilterSensitiveLog=e=>({...e});t.GetRegistryCatalogDataRequestFilterSensitiveLog=GetRegistryCatalogDataRequestFilterSensitiveLog;const RegistryCatalogDataFilterSensitiveLog=e=>({...e});t.RegistryCatalogDataFilterSensitiveLog=RegistryCatalogDataFilterSensitiveLog;const GetRegistryCatalogDataResponseFilterSensitiveLog=e=>({...e});t.GetRegistryCatalogDataResponseFilterSensitiveLog=GetRegistryCatalogDataResponseFilterSensitiveLog;const GetRepositoryCatalogDataRequestFilterSensitiveLog=e=>({...e});t.GetRepositoryCatalogDataRequestFilterSensitiveLog=GetRepositoryCatalogDataRequestFilterSensitiveLog;const GetRepositoryCatalogDataResponseFilterSensitiveLog=e=>({...e});t.GetRepositoryCatalogDataResponseFilterSensitiveLog=GetRepositoryCatalogDataResponseFilterSensitiveLog;const GetRepositoryPolicyRequestFilterSensitiveLog=e=>({...e});t.GetRepositoryPolicyRequestFilterSensitiveLog=GetRepositoryPolicyRequestFilterSensitiveLog;const GetRepositoryPolicyResponseFilterSensitiveLog=e=>({...e});t.GetRepositoryPolicyResponseFilterSensitiveLog=GetRepositoryPolicyResponseFilterSensitiveLog;const ImageFilterSensitiveLog=e=>({...e});t.ImageFilterSensitiveLog=ImageFilterSensitiveLog;const InitiateLayerUploadRequestFilterSensitiveLog=e=>({...e});t.InitiateLayerUploadRequestFilterSensitiveLog=InitiateLayerUploadRequestFilterSensitiveLog;const InitiateLayerUploadResponseFilterSensitiveLog=e=>({...e});t.InitiateLayerUploadResponseFilterSensitiveLog=InitiateLayerUploadResponseFilterSensitiveLog;const ListTagsForResourceRequestFilterSensitiveLog=e=>({...e});t.ListTagsForResourceRequestFilterSensitiveLog=ListTagsForResourceRequestFilterSensitiveLog;const ListTagsForResourceResponseFilterSensitiveLog=e=>({...e});t.ListTagsForResourceResponseFilterSensitiveLog=ListTagsForResourceResponseFilterSensitiveLog;const PutImageRequestFilterSensitiveLog=e=>({...e});t.PutImageRequestFilterSensitiveLog=PutImageRequestFilterSensitiveLog;const PutImageResponseFilterSensitiveLog=e=>({...e});t.PutImageResponseFilterSensitiveLog=PutImageResponseFilterSensitiveLog;const PutRegistryCatalogDataRequestFilterSensitiveLog=e=>({...e});t.PutRegistryCatalogDataRequestFilterSensitiveLog=PutRegistryCatalogDataRequestFilterSensitiveLog;const PutRegistryCatalogDataResponseFilterSensitiveLog=e=>({...e});t.PutRegistryCatalogDataResponseFilterSensitiveLog=PutRegistryCatalogDataResponseFilterSensitiveLog;const PutRepositoryCatalogDataRequestFilterSensitiveLog=e=>({...e});t.PutRepositoryCatalogDataRequestFilterSensitiveLog=PutRepositoryCatalogDataRequestFilterSensitiveLog;const PutRepositoryCatalogDataResponseFilterSensitiveLog=e=>({...e});t.PutRepositoryCatalogDataResponseFilterSensitiveLog=PutRepositoryCatalogDataResponseFilterSensitiveLog;const SetRepositoryPolicyRequestFilterSensitiveLog=e=>({...e});t.SetRepositoryPolicyRequestFilterSensitiveLog=SetRepositoryPolicyRequestFilterSensitiveLog;const SetRepositoryPolicyResponseFilterSensitiveLog=e=>({...e});t.SetRepositoryPolicyResponseFilterSensitiveLog=SetRepositoryPolicyResponseFilterSensitiveLog;const TagResourceRequestFilterSensitiveLog=e=>({...e});t.TagResourceRequestFilterSensitiveLog=TagResourceRequestFilterSensitiveLog;const TagResourceResponseFilterSensitiveLog=e=>({...e});t.TagResourceResponseFilterSensitiveLog=TagResourceResponseFilterSensitiveLog;const UntagResourceRequestFilterSensitiveLog=e=>({...e});t.UntagResourceRequestFilterSensitiveLog=UntagResourceRequestFilterSensitiveLog;const UntagResourceResponseFilterSensitiveLog=e=>({...e});t.UntagResourceResponseFilterSensitiveLog=UntagResourceResponseFilterSensitiveLog;const UploadLayerPartRequestFilterSensitiveLog=e=>({...e});t.UploadLayerPartRequestFilterSensitiveLog=UploadLayerPartRequestFilterSensitiveLog;const UploadLayerPartResponseFilterSensitiveLog=e=>({...e});t.UploadLayerPartResponseFilterSensitiveLog=UploadLayerPartResponseFilterSensitiveLog},9634:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.paginateDescribeImageTags=void 0;const n=o(7670);const r=o(6087);const s=o(608);const makePagedClientRequest=async(e,t,...o)=>await e.send(new n.DescribeImageTagsCommand(t),...o);const makePagedRequest=async(e,t,...o)=>await e.describeImageTags(t,...o);async function*paginateDescribeImageTags(e,t,...o){let n=e.startingToken||undefined;let i=true;let a;while(i){t.nextToken=n;t["maxResults"]=e.pageSize;if(e.client instanceof r.ECRPUBLIC){a=await makePagedRequest(e.client,t,...o)}else if(e.client instanceof s.ECRPUBLICClient){a=await makePagedClientRequest(e.client,t,...o)}else{throw new Error("Invalid client, expected ECRPUBLIC | ECRPUBLICClient")}yield a;const c=n;n=a.nextToken;i=!!(n&&(!e.stopOnSameToken||n!==c))}return undefined}t.paginateDescribeImageTags=paginateDescribeImageTags},4128:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.paginateDescribeImages=void 0;const n=o(2776);const r=o(6087);const s=o(608);const makePagedClientRequest=async(e,t,...o)=>await e.send(new n.DescribeImagesCommand(t),...o);const makePagedRequest=async(e,t,...o)=>await e.describeImages(t,...o);async function*paginateDescribeImages(e,t,...o){let n=e.startingToken||undefined;let i=true;let a;while(i){t.nextToken=n;t["maxResults"]=e.pageSize;if(e.client instanceof r.ECRPUBLIC){a=await makePagedRequest(e.client,t,...o)}else if(e.client instanceof s.ECRPUBLICClient){a=await makePagedClientRequest(e.client,t,...o)}else{throw new Error("Invalid client, expected ECRPUBLIC | ECRPUBLICClient")}yield a;const c=n;n=a.nextToken;i=!!(n&&(!e.stopOnSameToken||n!==c))}return undefined}t.paginateDescribeImages=paginateDescribeImages},1720:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.paginateDescribeRegistries=void 0;const n=o(8696);const r=o(6087);const s=o(608);const makePagedClientRequest=async(e,t,...o)=>await e.send(new n.DescribeRegistriesCommand(t),...o);const makePagedRequest=async(e,t,...o)=>await e.describeRegistries(t,...o);async function*paginateDescribeRegistries(e,t,...o){let n=e.startingToken||undefined;let i=true;let a;while(i){t.nextToken=n;t["maxResults"]=e.pageSize;if(e.client instanceof r.ECRPUBLIC){a=await makePagedRequest(e.client,t,...o)}else if(e.client instanceof s.ECRPUBLICClient){a=await makePagedClientRequest(e.client,t,...o)}else{throw new Error("Invalid client, expected ECRPUBLIC | ECRPUBLICClient")}yield a;const c=n;n=a.nextToken;i=!!(n&&(!e.stopOnSameToken||n!==c))}return undefined}t.paginateDescribeRegistries=paginateDescribeRegistries},5474:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.paginateDescribeRepositories=void 0;const n=o(2218);const r=o(6087);const s=o(608);const makePagedClientRequest=async(e,t,...o)=>await e.send(new n.DescribeRepositoriesCommand(t),...o);const makePagedRequest=async(e,t,...o)=>await e.describeRepositories(t,...o);async function*paginateDescribeRepositories(e,t,...o){let n=e.startingToken||undefined;let i=true;let a;while(i){t.nextToken=n;t["maxResults"]=e.pageSize;if(e.client instanceof r.ECRPUBLIC){a=await makePagedRequest(e.client,t,...o)}else if(e.client instanceof s.ECRPUBLICClient){a=await makePagedClientRequest(e.client,t,...o)}else{throw new Error("Invalid client, expected ECRPUBLIC | ECRPUBLICClient")}yield a;const c=n;n=a.nextToken;i=!!(n&&(!e.stopOnSameToken||n!==c))}return undefined}t.paginateDescribeRepositories=paginateDescribeRepositories},3463:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},5945:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(9634),t);n.__exportStar(o(4128),t);n.__exportStar(o(1720),t);n.__exportStar(o(5474),t);n.__exportStar(o(3463),t)},4170:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.deserializeAws_json1_1UploadLayerPartCommand=t.deserializeAws_json1_1UntagResourceCommand=t.deserializeAws_json1_1TagResourceCommand=t.deserializeAws_json1_1SetRepositoryPolicyCommand=t.deserializeAws_json1_1PutRepositoryCatalogDataCommand=t.deserializeAws_json1_1PutRegistryCatalogDataCommand=t.deserializeAws_json1_1PutImageCommand=t.deserializeAws_json1_1ListTagsForResourceCommand=t.deserializeAws_json1_1InitiateLayerUploadCommand=t.deserializeAws_json1_1GetRepositoryPolicyCommand=t.deserializeAws_json1_1GetRepositoryCatalogDataCommand=t.deserializeAws_json1_1GetRegistryCatalogDataCommand=t.deserializeAws_json1_1GetAuthorizationTokenCommand=t.deserializeAws_json1_1DescribeRepositoriesCommand=t.deserializeAws_json1_1DescribeRegistriesCommand=t.deserializeAws_json1_1DescribeImageTagsCommand=t.deserializeAws_json1_1DescribeImagesCommand=t.deserializeAws_json1_1DeleteRepositoryPolicyCommand=t.deserializeAws_json1_1DeleteRepositoryCommand=t.deserializeAws_json1_1CreateRepositoryCommand=t.deserializeAws_json1_1CompleteLayerUploadCommand=t.deserializeAws_json1_1BatchDeleteImageCommand=t.deserializeAws_json1_1BatchCheckLayerAvailabilityCommand=t.serializeAws_json1_1UploadLayerPartCommand=t.serializeAws_json1_1UntagResourceCommand=t.serializeAws_json1_1TagResourceCommand=t.serializeAws_json1_1SetRepositoryPolicyCommand=t.serializeAws_json1_1PutRepositoryCatalogDataCommand=t.serializeAws_json1_1PutRegistryCatalogDataCommand=t.serializeAws_json1_1PutImageCommand=t.serializeAws_json1_1ListTagsForResourceCommand=t.serializeAws_json1_1InitiateLayerUploadCommand=t.serializeAws_json1_1GetRepositoryPolicyCommand=t.serializeAws_json1_1GetRepositoryCatalogDataCommand=t.serializeAws_json1_1GetRegistryCatalogDataCommand=t.serializeAws_json1_1GetAuthorizationTokenCommand=t.serializeAws_json1_1DescribeRepositoriesCommand=t.serializeAws_json1_1DescribeRegistriesCommand=t.serializeAws_json1_1DescribeImageTagsCommand=t.serializeAws_json1_1DescribeImagesCommand=t.serializeAws_json1_1DeleteRepositoryPolicyCommand=t.serializeAws_json1_1DeleteRepositoryCommand=t.serializeAws_json1_1CreateRepositoryCommand=t.serializeAws_json1_1CompleteLayerUploadCommand=t.serializeAws_json1_1BatchDeleteImageCommand=t.serializeAws_json1_1BatchCheckLayerAvailabilityCommand=void 0;const n=o(223);const r=o(4963);const s=o(8278);const i=o(8818);const serializeAws_json1_1BatchCheckLayerAvailabilityCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.BatchCheckLayerAvailability"};let n;n=JSON.stringify(serializeAws_json1_1BatchCheckLayerAvailabilityRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1BatchCheckLayerAvailabilityCommand=serializeAws_json1_1BatchCheckLayerAvailabilityCommand;const serializeAws_json1_1BatchDeleteImageCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.BatchDeleteImage"};let n;n=JSON.stringify(serializeAws_json1_1BatchDeleteImageRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1BatchDeleteImageCommand=serializeAws_json1_1BatchDeleteImageCommand;const serializeAws_json1_1CompleteLayerUploadCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.CompleteLayerUpload"};let n;n=JSON.stringify(serializeAws_json1_1CompleteLayerUploadRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1CompleteLayerUploadCommand=serializeAws_json1_1CompleteLayerUploadCommand;const serializeAws_json1_1CreateRepositoryCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.CreateRepository"};let n;n=JSON.stringify(serializeAws_json1_1CreateRepositoryRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1CreateRepositoryCommand=serializeAws_json1_1CreateRepositoryCommand;const serializeAws_json1_1DeleteRepositoryCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.DeleteRepository"};let n;n=JSON.stringify(serializeAws_json1_1DeleteRepositoryRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1DeleteRepositoryCommand=serializeAws_json1_1DeleteRepositoryCommand;const serializeAws_json1_1DeleteRepositoryPolicyCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.DeleteRepositoryPolicy"};let n;n=JSON.stringify(serializeAws_json1_1DeleteRepositoryPolicyRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1DeleteRepositoryPolicyCommand=serializeAws_json1_1DeleteRepositoryPolicyCommand;const serializeAws_json1_1DescribeImagesCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.DescribeImages"};let n;n=JSON.stringify(serializeAws_json1_1DescribeImagesRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1DescribeImagesCommand=serializeAws_json1_1DescribeImagesCommand;const serializeAws_json1_1DescribeImageTagsCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.DescribeImageTags"};let n;n=JSON.stringify(serializeAws_json1_1DescribeImageTagsRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1DescribeImageTagsCommand=serializeAws_json1_1DescribeImageTagsCommand;const serializeAws_json1_1DescribeRegistriesCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.DescribeRegistries"};let n;n=JSON.stringify(serializeAws_json1_1DescribeRegistriesRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1DescribeRegistriesCommand=serializeAws_json1_1DescribeRegistriesCommand;const serializeAws_json1_1DescribeRepositoriesCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.DescribeRepositories"};let n;n=JSON.stringify(serializeAws_json1_1DescribeRepositoriesRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1DescribeRepositoriesCommand=serializeAws_json1_1DescribeRepositoriesCommand;const serializeAws_json1_1GetAuthorizationTokenCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.GetAuthorizationToken"};let n;n=JSON.stringify(serializeAws_json1_1GetAuthorizationTokenRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1GetAuthorizationTokenCommand=serializeAws_json1_1GetAuthorizationTokenCommand;const serializeAws_json1_1GetRegistryCatalogDataCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.GetRegistryCatalogData"};let n;n=JSON.stringify(serializeAws_json1_1GetRegistryCatalogDataRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1GetRegistryCatalogDataCommand=serializeAws_json1_1GetRegistryCatalogDataCommand;const serializeAws_json1_1GetRepositoryCatalogDataCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.GetRepositoryCatalogData"};let n;n=JSON.stringify(serializeAws_json1_1GetRepositoryCatalogDataRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1GetRepositoryCatalogDataCommand=serializeAws_json1_1GetRepositoryCatalogDataCommand;const serializeAws_json1_1GetRepositoryPolicyCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.GetRepositoryPolicy"};let n;n=JSON.stringify(serializeAws_json1_1GetRepositoryPolicyRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1GetRepositoryPolicyCommand=serializeAws_json1_1GetRepositoryPolicyCommand;const serializeAws_json1_1InitiateLayerUploadCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.InitiateLayerUpload"};let n;n=JSON.stringify(serializeAws_json1_1InitiateLayerUploadRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1InitiateLayerUploadCommand=serializeAws_json1_1InitiateLayerUploadCommand;const serializeAws_json1_1ListTagsForResourceCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.ListTagsForResource"};let n;n=JSON.stringify(serializeAws_json1_1ListTagsForResourceRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1ListTagsForResourceCommand=serializeAws_json1_1ListTagsForResourceCommand;const serializeAws_json1_1PutImageCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.PutImage"};let n;n=JSON.stringify(serializeAws_json1_1PutImageRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1PutImageCommand=serializeAws_json1_1PutImageCommand;const serializeAws_json1_1PutRegistryCatalogDataCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.PutRegistryCatalogData"};let n;n=JSON.stringify(serializeAws_json1_1PutRegistryCatalogDataRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1PutRegistryCatalogDataCommand=serializeAws_json1_1PutRegistryCatalogDataCommand;const serializeAws_json1_1PutRepositoryCatalogDataCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.PutRepositoryCatalogData"};let n;n=JSON.stringify(serializeAws_json1_1PutRepositoryCatalogDataRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1PutRepositoryCatalogDataCommand=serializeAws_json1_1PutRepositoryCatalogDataCommand;const serializeAws_json1_1SetRepositoryPolicyCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.SetRepositoryPolicy"};let n;n=JSON.stringify(serializeAws_json1_1SetRepositoryPolicyRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1SetRepositoryPolicyCommand=serializeAws_json1_1SetRepositoryPolicyCommand;const serializeAws_json1_1TagResourceCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.TagResource"};let n;n=JSON.stringify(serializeAws_json1_1TagResourceRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1TagResourceCommand=serializeAws_json1_1TagResourceCommand;const serializeAws_json1_1UntagResourceCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.UntagResource"};let n;n=JSON.stringify(serializeAws_json1_1UntagResourceRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1UntagResourceCommand=serializeAws_json1_1UntagResourceCommand;const serializeAws_json1_1UploadLayerPartCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"SpencerFrontendService.UploadLayerPart"};let n;n=JSON.stringify(serializeAws_json1_1UploadLayerPartRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1UploadLayerPartCommand=serializeAws_json1_1UploadLayerPartCommand;const deserializeAws_json1_1BatchCheckLayerAvailabilityCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1BatchCheckLayerAvailabilityCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1BatchCheckLayerAvailabilityResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1BatchCheckLayerAvailabilityCommand=deserializeAws_json1_1BatchCheckLayerAvailabilityCommand;const deserializeAws_json1_1BatchCheckLayerAvailabilityCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RegistryNotFoundException":case"com.amazonaws.ecrpublic#RegistryNotFoundException":throw await deserializeAws_json1_1RegistryNotFoundExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecrpublic#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1BatchDeleteImageCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1BatchDeleteImageCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1BatchDeleteImageResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1BatchDeleteImageCommand=deserializeAws_json1_1BatchDeleteImageCommand;const deserializeAws_json1_1BatchDeleteImageCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecrpublic#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1CompleteLayerUploadCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1CompleteLayerUploadCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1CompleteLayerUploadResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1CompleteLayerUploadCommand=deserializeAws_json1_1CompleteLayerUploadCommand;const deserializeAws_json1_1CompleteLayerUploadCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"EmptyUploadException":case"com.amazonaws.ecrpublic#EmptyUploadException":throw await deserializeAws_json1_1EmptyUploadExceptionResponse(o,t);case"InvalidLayerException":case"com.amazonaws.ecrpublic#InvalidLayerException":throw await deserializeAws_json1_1InvalidLayerExceptionResponse(o,t);case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"LayerAlreadyExistsException":case"com.amazonaws.ecrpublic#LayerAlreadyExistsException":throw await deserializeAws_json1_1LayerAlreadyExistsExceptionResponse(o,t);case"LayerPartTooSmallException":case"com.amazonaws.ecrpublic#LayerPartTooSmallException":throw await deserializeAws_json1_1LayerPartTooSmallExceptionResponse(o,t);case"RegistryNotFoundException":case"com.amazonaws.ecrpublic#RegistryNotFoundException":throw await deserializeAws_json1_1RegistryNotFoundExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecrpublic#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"UnsupportedCommandException":case"com.amazonaws.ecrpublic#UnsupportedCommandException":throw await deserializeAws_json1_1UnsupportedCommandExceptionResponse(o,t);case"UploadNotFoundException":case"com.amazonaws.ecrpublic#UploadNotFoundException":throw await deserializeAws_json1_1UploadNotFoundExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1CreateRepositoryCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1CreateRepositoryCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1CreateRepositoryResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1CreateRepositoryCommand=deserializeAws_json1_1CreateRepositoryCommand;const deserializeAws_json1_1CreateRepositoryCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"InvalidTagParameterException":case"com.amazonaws.ecrpublic#InvalidTagParameterException":throw await deserializeAws_json1_1InvalidTagParameterExceptionResponse(o,t);case"LimitExceededException":case"com.amazonaws.ecrpublic#LimitExceededException":throw await deserializeAws_json1_1LimitExceededExceptionResponse(o,t);case"RepositoryAlreadyExistsException":case"com.amazonaws.ecrpublic#RepositoryAlreadyExistsException":throw await deserializeAws_json1_1RepositoryAlreadyExistsExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"TooManyTagsException":case"com.amazonaws.ecrpublic#TooManyTagsException":throw await deserializeAws_json1_1TooManyTagsExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1DeleteRepositoryCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1DeleteRepositoryCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1DeleteRepositoryResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1DeleteRepositoryCommand=deserializeAws_json1_1DeleteRepositoryCommand;const deserializeAws_json1_1DeleteRepositoryCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotEmptyException":case"com.amazonaws.ecrpublic#RepositoryNotEmptyException":throw await deserializeAws_json1_1RepositoryNotEmptyExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecrpublic#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1DeleteRepositoryPolicyCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1DeleteRepositoryPolicyCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1DeleteRepositoryPolicyResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1DeleteRepositoryPolicyCommand=deserializeAws_json1_1DeleteRepositoryPolicyCommand;const deserializeAws_json1_1DeleteRepositoryPolicyCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecrpublic#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"RepositoryPolicyNotFoundException":case"com.amazonaws.ecrpublic#RepositoryPolicyNotFoundException":throw await deserializeAws_json1_1RepositoryPolicyNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1DescribeImagesCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1DescribeImagesCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1DescribeImagesResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1DescribeImagesCommand=deserializeAws_json1_1DescribeImagesCommand;const deserializeAws_json1_1DescribeImagesCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"ImageNotFoundException":case"com.amazonaws.ecrpublic#ImageNotFoundException":throw await deserializeAws_json1_1ImageNotFoundExceptionResponse(o,t);case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecrpublic#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1DescribeImageTagsCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1DescribeImageTagsCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1DescribeImageTagsResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1DescribeImageTagsCommand=deserializeAws_json1_1DescribeImageTagsCommand;const deserializeAws_json1_1DescribeImageTagsCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecrpublic#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1DescribeRegistriesCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1DescribeRegistriesCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1DescribeRegistriesResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1DescribeRegistriesCommand=deserializeAws_json1_1DescribeRegistriesCommand;const deserializeAws_json1_1DescribeRegistriesCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"UnsupportedCommandException":case"com.amazonaws.ecrpublic#UnsupportedCommandException":throw await deserializeAws_json1_1UnsupportedCommandExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1DescribeRepositoriesCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1DescribeRepositoriesCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1DescribeRepositoriesResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1DescribeRepositoriesCommand=deserializeAws_json1_1DescribeRepositoriesCommand;const deserializeAws_json1_1DescribeRepositoriesCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecrpublic#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1GetAuthorizationTokenCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1GetAuthorizationTokenCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1GetAuthorizationTokenResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1GetAuthorizationTokenCommand=deserializeAws_json1_1GetAuthorizationTokenCommand;const deserializeAws_json1_1GetAuthorizationTokenCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1GetRegistryCatalogDataCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1GetRegistryCatalogDataCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1GetRegistryCatalogDataResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1GetRegistryCatalogDataCommand=deserializeAws_json1_1GetRegistryCatalogDataCommand;const deserializeAws_json1_1GetRegistryCatalogDataCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"UnsupportedCommandException":case"com.amazonaws.ecrpublic#UnsupportedCommandException":throw await deserializeAws_json1_1UnsupportedCommandExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1GetRepositoryCatalogDataCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1GetRepositoryCatalogDataCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1GetRepositoryCatalogDataResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1GetRepositoryCatalogDataCommand=deserializeAws_json1_1GetRepositoryCatalogDataCommand;const deserializeAws_json1_1GetRepositoryCatalogDataCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecrpublic#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1GetRepositoryPolicyCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1GetRepositoryPolicyCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1GetRepositoryPolicyResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1GetRepositoryPolicyCommand=deserializeAws_json1_1GetRepositoryPolicyCommand;const deserializeAws_json1_1GetRepositoryPolicyCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecrpublic#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"RepositoryPolicyNotFoundException":case"com.amazonaws.ecrpublic#RepositoryPolicyNotFoundException":throw await deserializeAws_json1_1RepositoryPolicyNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1InitiateLayerUploadCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1InitiateLayerUploadCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1InitiateLayerUploadResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1InitiateLayerUploadCommand=deserializeAws_json1_1InitiateLayerUploadCommand;const deserializeAws_json1_1InitiateLayerUploadCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RegistryNotFoundException":case"com.amazonaws.ecrpublic#RegistryNotFoundException":throw await deserializeAws_json1_1RegistryNotFoundExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecrpublic#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"UnsupportedCommandException":case"com.amazonaws.ecrpublic#UnsupportedCommandException":throw await deserializeAws_json1_1UnsupportedCommandExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1ListTagsForResourceCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1ListTagsForResourceCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1ListTagsForResourceResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1ListTagsForResourceCommand=deserializeAws_json1_1ListTagsForResourceCommand;const deserializeAws_json1_1ListTagsForResourceCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecrpublic#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1PutImageCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1PutImageCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1PutImageResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1PutImageCommand=deserializeAws_json1_1PutImageCommand;const deserializeAws_json1_1PutImageCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"ImageAlreadyExistsException":case"com.amazonaws.ecrpublic#ImageAlreadyExistsException":throw await deserializeAws_json1_1ImageAlreadyExistsExceptionResponse(o,t);case"ImageDigestDoesNotMatchException":case"com.amazonaws.ecrpublic#ImageDigestDoesNotMatchException":throw await deserializeAws_json1_1ImageDigestDoesNotMatchExceptionResponse(o,t);case"ImageTagAlreadyExistsException":case"com.amazonaws.ecrpublic#ImageTagAlreadyExistsException":throw await deserializeAws_json1_1ImageTagAlreadyExistsExceptionResponse(o,t);case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"LayersNotFoundException":case"com.amazonaws.ecrpublic#LayersNotFoundException":throw await deserializeAws_json1_1LayersNotFoundExceptionResponse(o,t);case"LimitExceededException":case"com.amazonaws.ecrpublic#LimitExceededException":throw await deserializeAws_json1_1LimitExceededExceptionResponse(o,t);case"ReferencedImagesNotFoundException":case"com.amazonaws.ecrpublic#ReferencedImagesNotFoundException":throw await deserializeAws_json1_1ReferencedImagesNotFoundExceptionResponse(o,t);case"RegistryNotFoundException":case"com.amazonaws.ecrpublic#RegistryNotFoundException":throw await deserializeAws_json1_1RegistryNotFoundExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecrpublic#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"UnsupportedCommandException":case"com.amazonaws.ecrpublic#UnsupportedCommandException":throw await deserializeAws_json1_1UnsupportedCommandExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1PutRegistryCatalogDataCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1PutRegistryCatalogDataCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1PutRegistryCatalogDataResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1PutRegistryCatalogDataCommand=deserializeAws_json1_1PutRegistryCatalogDataCommand;const deserializeAws_json1_1PutRegistryCatalogDataCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"UnsupportedCommandException":case"com.amazonaws.ecrpublic#UnsupportedCommandException":throw await deserializeAws_json1_1UnsupportedCommandExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1PutRepositoryCatalogDataCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1PutRepositoryCatalogDataCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1PutRepositoryCatalogDataResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1PutRepositoryCatalogDataCommand=deserializeAws_json1_1PutRepositoryCatalogDataCommand;const deserializeAws_json1_1PutRepositoryCatalogDataCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecrpublic#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1SetRepositoryPolicyCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1SetRepositoryPolicyCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1SetRepositoryPolicyResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1SetRepositoryPolicyCommand=deserializeAws_json1_1SetRepositoryPolicyCommand;const deserializeAws_json1_1SetRepositoryPolicyCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecrpublic#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1TagResourceCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1TagResourceCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1TagResourceResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1TagResourceCommand=deserializeAws_json1_1TagResourceCommand;const deserializeAws_json1_1TagResourceCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"InvalidTagParameterException":case"com.amazonaws.ecrpublic#InvalidTagParameterException":throw await deserializeAws_json1_1InvalidTagParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecrpublic#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"TooManyTagsException":case"com.amazonaws.ecrpublic#TooManyTagsException":throw await deserializeAws_json1_1TooManyTagsExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1UntagResourceCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1UntagResourceCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1UntagResourceResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1UntagResourceCommand=deserializeAws_json1_1UntagResourceCommand;const deserializeAws_json1_1UntagResourceCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"InvalidTagParameterException":case"com.amazonaws.ecrpublic#InvalidTagParameterException":throw await deserializeAws_json1_1InvalidTagParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecrpublic#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"TooManyTagsException":case"com.amazonaws.ecrpublic#TooManyTagsException":throw await deserializeAws_json1_1TooManyTagsExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1UploadLayerPartCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1UploadLayerPartCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1UploadLayerPartResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1UploadLayerPartCommand=deserializeAws_json1_1UploadLayerPartCommand;const deserializeAws_json1_1UploadLayerPartCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidLayerPartException":case"com.amazonaws.ecrpublic#InvalidLayerPartException":throw await deserializeAws_json1_1InvalidLayerPartExceptionResponse(o,t);case"InvalidParameterException":case"com.amazonaws.ecrpublic#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"LimitExceededException":case"com.amazonaws.ecrpublic#LimitExceededException":throw await deserializeAws_json1_1LimitExceededExceptionResponse(o,t);case"RegistryNotFoundException":case"com.amazonaws.ecrpublic#RegistryNotFoundException":throw await deserializeAws_json1_1RegistryNotFoundExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecrpublic#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecrpublic#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"UnsupportedCommandException":case"com.amazonaws.ecrpublic#UnsupportedCommandException":throw await deserializeAws_json1_1UnsupportedCommandExceptionResponse(o,t);case"UploadNotFoundException":case"com.amazonaws.ecrpublic#UploadNotFoundException":throw await deserializeAws_json1_1UploadNotFoundExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRPUBLICServiceException,errorCode:n})}};const deserializeAws_json1_1EmptyUploadExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1EmptyUploadException(o,t);const s=new i.EmptyUploadException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1ImageAlreadyExistsExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1ImageAlreadyExistsException(o,t);const s=new i.ImageAlreadyExistsException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1ImageDigestDoesNotMatchExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1ImageDigestDoesNotMatchException(o,t);const s=new i.ImageDigestDoesNotMatchException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1ImageNotFoundExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1ImageNotFoundException(o,t);const s=new i.ImageNotFoundException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1ImageTagAlreadyExistsExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1ImageTagAlreadyExistsException(o,t);const s=new i.ImageTagAlreadyExistsException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1InvalidLayerExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1InvalidLayerException(o,t);const s=new i.InvalidLayerException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1InvalidLayerPartExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1InvalidLayerPartException(o,t);const s=new i.InvalidLayerPartException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1InvalidParameterExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1InvalidParameterException(o,t);const s=new i.InvalidParameterException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1InvalidTagParameterExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1InvalidTagParameterException(o,t);const s=new i.InvalidTagParameterException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1LayerAlreadyExistsExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1LayerAlreadyExistsException(o,t);const s=new i.LayerAlreadyExistsException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1LayerPartTooSmallExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1LayerPartTooSmallException(o,t);const s=new i.LayerPartTooSmallException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1LayersNotFoundExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1LayersNotFoundException(o,t);const s=new i.LayersNotFoundException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1LimitExceededExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1LimitExceededException(o,t);const s=new i.LimitExceededException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1ReferencedImagesNotFoundExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1ReferencedImagesNotFoundException(o,t);const s=new i.ReferencedImagesNotFoundException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1RegistryNotFoundExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1RegistryNotFoundException(o,t);const s=new i.RegistryNotFoundException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1RepositoryAlreadyExistsExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1RepositoryAlreadyExistsException(o,t);const s=new i.RepositoryAlreadyExistsException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1RepositoryNotEmptyExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1RepositoryNotEmptyException(o,t);const s=new i.RepositoryNotEmptyException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1RepositoryNotFoundExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1RepositoryNotFoundException(o,t);const s=new i.RepositoryNotFoundException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1RepositoryPolicyNotFoundExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1RepositoryPolicyNotFoundException(o,t);const s=new i.RepositoryPolicyNotFoundException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1ServerExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1ServerException(o,t);const s=new i.ServerException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1TooManyTagsExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1TooManyTagsException(o,t);const s=new i.TooManyTagsException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1UnsupportedCommandExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1UnsupportedCommandException(o,t);const s=new i.UnsupportedCommandException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1UploadNotFoundExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1UploadNotFoundException(o,t);const s=new i.UploadNotFoundException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const serializeAws_json1_1ArchitectureList=(e,t)=>e.filter((e=>e!=null)).map((e=>e));const serializeAws_json1_1BatchCheckLayerAvailabilityRequest=(e,t)=>({...e.layerDigests!=null&&{layerDigests:serializeAws_json1_1BatchedOperationLayerDigestList(e.layerDigests,t)},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1BatchDeleteImageRequest=(e,t)=>({...e.imageIds!=null&&{imageIds:serializeAws_json1_1ImageIdentifierList(e.imageIds,t)},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1BatchedOperationLayerDigestList=(e,t)=>e.filter((e=>e!=null)).map((e=>e));const serializeAws_json1_1CompleteLayerUploadRequest=(e,t)=>({...e.layerDigests!=null&&{layerDigests:serializeAws_json1_1LayerDigestList(e.layerDigests,t)},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName},...e.uploadId!=null&&{uploadId:e.uploadId}});const serializeAws_json1_1CreateRepositoryRequest=(e,t)=>({...e.catalogData!=null&&{catalogData:serializeAws_json1_1RepositoryCatalogDataInput(e.catalogData,t)},...e.repositoryName!=null&&{repositoryName:e.repositoryName},...e.tags!=null&&{tags:serializeAws_json1_1TagList(e.tags,t)}});const serializeAws_json1_1DeleteRepositoryPolicyRequest=(e,t)=>({...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1DeleteRepositoryRequest=(e,t)=>({...e.force!=null&&{force:e.force},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1DescribeImagesRequest=(e,t)=>({...e.imageIds!=null&&{imageIds:serializeAws_json1_1ImageIdentifierList(e.imageIds,t)},...e.maxResults!=null&&{maxResults:e.maxResults},...e.nextToken!=null&&{nextToken:e.nextToken},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1DescribeImageTagsRequest=(e,t)=>({...e.maxResults!=null&&{maxResults:e.maxResults},...e.nextToken!=null&&{nextToken:e.nextToken},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1DescribeRegistriesRequest=(e,t)=>({...e.maxResults!=null&&{maxResults:e.maxResults},...e.nextToken!=null&&{nextToken:e.nextToken}});const serializeAws_json1_1DescribeRepositoriesRequest=(e,t)=>({...e.maxResults!=null&&{maxResults:e.maxResults},...e.nextToken!=null&&{nextToken:e.nextToken},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryNames!=null&&{repositoryNames:serializeAws_json1_1RepositoryNameList(e.repositoryNames,t)}});const serializeAws_json1_1GetAuthorizationTokenRequest=(e,t)=>({});const serializeAws_json1_1GetRegistryCatalogDataRequest=(e,t)=>({});const serializeAws_json1_1GetRepositoryCatalogDataRequest=(e,t)=>({...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1GetRepositoryPolicyRequest=(e,t)=>({...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1ImageIdentifier=(e,t)=>({...e.imageDigest!=null&&{imageDigest:e.imageDigest},...e.imageTag!=null&&{imageTag:e.imageTag}});const serializeAws_json1_1ImageIdentifierList=(e,t)=>e.filter((e=>e!=null)).map((e=>serializeAws_json1_1ImageIdentifier(e,t)));const serializeAws_json1_1InitiateLayerUploadRequest=(e,t)=>({...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1LayerDigestList=(e,t)=>e.filter((e=>e!=null)).map((e=>e));const serializeAws_json1_1ListTagsForResourceRequest=(e,t)=>({...e.resourceArn!=null&&{resourceArn:e.resourceArn}});const serializeAws_json1_1OperatingSystemList=(e,t)=>e.filter((e=>e!=null)).map((e=>e));const serializeAws_json1_1PutImageRequest=(e,t)=>({...e.imageDigest!=null&&{imageDigest:e.imageDigest},...e.imageManifest!=null&&{imageManifest:e.imageManifest},...e.imageManifestMediaType!=null&&{imageManifestMediaType:e.imageManifestMediaType},...e.imageTag!=null&&{imageTag:e.imageTag},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1PutRegistryCatalogDataRequest=(e,t)=>({...e.displayName!=null&&{displayName:e.displayName}});const serializeAws_json1_1PutRepositoryCatalogDataRequest=(e,t)=>({...e.catalogData!=null&&{catalogData:serializeAws_json1_1RepositoryCatalogDataInput(e.catalogData,t)},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1RepositoryCatalogDataInput=(e,t)=>({...e.aboutText!=null&&{aboutText:e.aboutText},...e.architectures!=null&&{architectures:serializeAws_json1_1ArchitectureList(e.architectures,t)},...e.description!=null&&{description:e.description},...e.logoImageBlob!=null&&{logoImageBlob:t.base64Encoder(e.logoImageBlob)},...e.operatingSystems!=null&&{operatingSystems:serializeAws_json1_1OperatingSystemList(e.operatingSystems,t)},...e.usageText!=null&&{usageText:e.usageText}});const serializeAws_json1_1RepositoryNameList=(e,t)=>e.filter((e=>e!=null)).map((e=>e));const serializeAws_json1_1SetRepositoryPolicyRequest=(e,t)=>({...e.force!=null&&{force:e.force},...e.policyText!=null&&{policyText:e.policyText},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1Tag=(e,t)=>({...e.Key!=null&&{Key:e.Key},...e.Value!=null&&{Value:e.Value}});const serializeAws_json1_1TagKeyList=(e,t)=>e.filter((e=>e!=null)).map((e=>e));const serializeAws_json1_1TagList=(e,t)=>e.filter((e=>e!=null)).map((e=>serializeAws_json1_1Tag(e,t)));const serializeAws_json1_1TagResourceRequest=(e,t)=>({...e.resourceArn!=null&&{resourceArn:e.resourceArn},...e.tags!=null&&{tags:serializeAws_json1_1TagList(e.tags,t)}});const serializeAws_json1_1UntagResourceRequest=(e,t)=>({...e.resourceArn!=null&&{resourceArn:e.resourceArn},...e.tagKeys!=null&&{tagKeys:serializeAws_json1_1TagKeyList(e.tagKeys,t)}});const serializeAws_json1_1UploadLayerPartRequest=(e,t)=>({...e.layerPartBlob!=null&&{layerPartBlob:t.base64Encoder(e.layerPartBlob)},...e.partFirstByte!=null&&{partFirstByte:e.partFirstByte},...e.partLastByte!=null&&{partLastByte:e.partLastByte},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName},...e.uploadId!=null&&{uploadId:e.uploadId}});const deserializeAws_json1_1ArchitectureList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return(0,r.expectString)(e)}));return o};const deserializeAws_json1_1AuthorizationData=(e,t)=>({authorizationToken:(0,r.expectString)(e.authorizationToken),expiresAt:e.expiresAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.expiresAt))):undefined});const deserializeAws_json1_1BatchCheckLayerAvailabilityResponse=(e,t)=>({failures:e.failures!=null?deserializeAws_json1_1LayerFailureList(e.failures,t):undefined,layers:e.layers!=null?deserializeAws_json1_1LayerList(e.layers,t):undefined});const deserializeAws_json1_1BatchDeleteImageResponse=(e,t)=>({failures:e.failures!=null?deserializeAws_json1_1ImageFailureList(e.failures,t):undefined,imageIds:e.imageIds!=null?deserializeAws_json1_1ImageIdentifierList(e.imageIds,t):undefined});const deserializeAws_json1_1CompleteLayerUploadResponse=(e,t)=>({layerDigest:(0,r.expectString)(e.layerDigest),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName),uploadId:(0,r.expectString)(e.uploadId)});const deserializeAws_json1_1CreateRepositoryResponse=(e,t)=>({catalogData:e.catalogData!=null?deserializeAws_json1_1RepositoryCatalogData(e.catalogData,t):undefined,repository:e.repository!=null?deserializeAws_json1_1Repository(e.repository,t):undefined});const deserializeAws_json1_1DeleteRepositoryPolicyResponse=(e,t)=>({policyText:(0,r.expectString)(e.policyText),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1DeleteRepositoryResponse=(e,t)=>({repository:e.repository!=null?deserializeAws_json1_1Repository(e.repository,t):undefined});const deserializeAws_json1_1DescribeImagesResponse=(e,t)=>({imageDetails:e.imageDetails!=null?deserializeAws_json1_1ImageDetailList(e.imageDetails,t):undefined,nextToken:(0,r.expectString)(e.nextToken)});const deserializeAws_json1_1DescribeImageTagsResponse=(e,t)=>({imageTagDetails:e.imageTagDetails!=null?deserializeAws_json1_1ImageTagDetailList(e.imageTagDetails,t):undefined,nextToken:(0,r.expectString)(e.nextToken)});const deserializeAws_json1_1DescribeRegistriesResponse=(e,t)=>({nextToken:(0,r.expectString)(e.nextToken),registries:e.registries!=null?deserializeAws_json1_1RegistryList(e.registries,t):undefined});const deserializeAws_json1_1DescribeRepositoriesResponse=(e,t)=>({nextToken:(0,r.expectString)(e.nextToken),repositories:e.repositories!=null?deserializeAws_json1_1RepositoryList(e.repositories,t):undefined});const deserializeAws_json1_1EmptyUploadException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1GetAuthorizationTokenResponse=(e,t)=>({authorizationData:e.authorizationData!=null?deserializeAws_json1_1AuthorizationData(e.authorizationData,t):undefined});const deserializeAws_json1_1GetRegistryCatalogDataResponse=(e,t)=>({registryCatalogData:e.registryCatalogData!=null?deserializeAws_json1_1RegistryCatalogData(e.registryCatalogData,t):undefined});const deserializeAws_json1_1GetRepositoryCatalogDataResponse=(e,t)=>({catalogData:e.catalogData!=null?deserializeAws_json1_1RepositoryCatalogData(e.catalogData,t):undefined});const deserializeAws_json1_1GetRepositoryPolicyResponse=(e,t)=>({policyText:(0,r.expectString)(e.policyText),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1Image=(e,t)=>({imageId:e.imageId!=null?deserializeAws_json1_1ImageIdentifier(e.imageId,t):undefined,imageManifest:(0,r.expectString)(e.imageManifest),imageManifestMediaType:(0,r.expectString)(e.imageManifestMediaType),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1ImageAlreadyExistsException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1ImageDetail=(e,t)=>({artifactMediaType:(0,r.expectString)(e.artifactMediaType),imageDigest:(0,r.expectString)(e.imageDigest),imageManifestMediaType:(0,r.expectString)(e.imageManifestMediaType),imagePushedAt:e.imagePushedAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.imagePushedAt))):undefined,imageSizeInBytes:(0,r.expectLong)(e.imageSizeInBytes),imageTags:e.imageTags!=null?deserializeAws_json1_1ImageTagList(e.imageTags,t):undefined,registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1ImageDetailList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1ImageDetail(e,t)}));return o};const deserializeAws_json1_1ImageDigestDoesNotMatchException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1ImageFailure=(e,t)=>({failureCode:(0,r.expectString)(e.failureCode),failureReason:(0,r.expectString)(e.failureReason),imageId:e.imageId!=null?deserializeAws_json1_1ImageIdentifier(e.imageId,t):undefined});const deserializeAws_json1_1ImageFailureList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1ImageFailure(e,t)}));return o};const deserializeAws_json1_1ImageIdentifier=(e,t)=>({imageDigest:(0,r.expectString)(e.imageDigest),imageTag:(0,r.expectString)(e.imageTag)});const deserializeAws_json1_1ImageIdentifierList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1ImageIdentifier(e,t)}));return o};const deserializeAws_json1_1ImageNotFoundException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1ImageTagAlreadyExistsException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1ImageTagDetail=(e,t)=>({createdAt:e.createdAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.createdAt))):undefined,imageDetail:e.imageDetail!=null?deserializeAws_json1_1ReferencedImageDetail(e.imageDetail,t):undefined,imageTag:(0,r.expectString)(e.imageTag)});const deserializeAws_json1_1ImageTagDetailList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1ImageTagDetail(e,t)}));return o};const deserializeAws_json1_1ImageTagList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return(0,r.expectString)(e)}));return o};const deserializeAws_json1_1InitiateLayerUploadResponse=(e,t)=>({partSize:(0,r.expectLong)(e.partSize),uploadId:(0,r.expectString)(e.uploadId)});const deserializeAws_json1_1InvalidLayerException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1InvalidLayerPartException=(e,t)=>({lastValidByteReceived:(0,r.expectLong)(e.lastValidByteReceived),message:(0,r.expectString)(e.message),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName),uploadId:(0,r.expectString)(e.uploadId)});const deserializeAws_json1_1InvalidParameterException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1InvalidTagParameterException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1Layer=(e,t)=>({layerAvailability:(0,r.expectString)(e.layerAvailability),layerDigest:(0,r.expectString)(e.layerDigest),layerSize:(0,r.expectLong)(e.layerSize),mediaType:(0,r.expectString)(e.mediaType)});const deserializeAws_json1_1LayerAlreadyExistsException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1LayerFailure=(e,t)=>({failureCode:(0,r.expectString)(e.failureCode),failureReason:(0,r.expectString)(e.failureReason),layerDigest:(0,r.expectString)(e.layerDigest)});const deserializeAws_json1_1LayerFailureList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1LayerFailure(e,t)}));return o};const deserializeAws_json1_1LayerList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1Layer(e,t)}));return o};const deserializeAws_json1_1LayerPartTooSmallException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1LayersNotFoundException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1LimitExceededException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1ListTagsForResourceResponse=(e,t)=>({tags:e.tags!=null?deserializeAws_json1_1TagList(e.tags,t):undefined});const deserializeAws_json1_1OperatingSystemList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return(0,r.expectString)(e)}));return o};const deserializeAws_json1_1PutImageResponse=(e,t)=>({image:e.image!=null?deserializeAws_json1_1Image(e.image,t):undefined});const deserializeAws_json1_1PutRegistryCatalogDataResponse=(e,t)=>({registryCatalogData:e.registryCatalogData!=null?deserializeAws_json1_1RegistryCatalogData(e.registryCatalogData,t):undefined});const deserializeAws_json1_1PutRepositoryCatalogDataResponse=(e,t)=>({catalogData:e.catalogData!=null?deserializeAws_json1_1RepositoryCatalogData(e.catalogData,t):undefined});const deserializeAws_json1_1ReferencedImageDetail=(e,t)=>({artifactMediaType:(0,r.expectString)(e.artifactMediaType),imageDigest:(0,r.expectString)(e.imageDigest),imageManifestMediaType:(0,r.expectString)(e.imageManifestMediaType),imagePushedAt:e.imagePushedAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.imagePushedAt))):undefined,imageSizeInBytes:(0,r.expectLong)(e.imageSizeInBytes)});const deserializeAws_json1_1ReferencedImagesNotFoundException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1Registry=(e,t)=>({aliases:e.aliases!=null?deserializeAws_json1_1RegistryAliasList(e.aliases,t):undefined,registryArn:(0,r.expectString)(e.registryArn),registryId:(0,r.expectString)(e.registryId),registryUri:(0,r.expectString)(e.registryUri),verified:(0,r.expectBoolean)(e.verified)});const deserializeAws_json1_1RegistryAlias=(e,t)=>({defaultRegistryAlias:(0,r.expectBoolean)(e.defaultRegistryAlias),name:(0,r.expectString)(e.name),primaryRegistryAlias:(0,r.expectBoolean)(e.primaryRegistryAlias),status:(0,r.expectString)(e.status)});const deserializeAws_json1_1RegistryAliasList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1RegistryAlias(e,t)}));return o};const deserializeAws_json1_1RegistryCatalogData=(e,t)=>({displayName:(0,r.expectString)(e.displayName)});const deserializeAws_json1_1RegistryList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1Registry(e,t)}));return o};const deserializeAws_json1_1RegistryNotFoundException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1Repository=(e,t)=>({createdAt:e.createdAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.createdAt))):undefined,registryId:(0,r.expectString)(e.registryId),repositoryArn:(0,r.expectString)(e.repositoryArn),repositoryName:(0,r.expectString)(e.repositoryName),repositoryUri:(0,r.expectString)(e.repositoryUri)});const deserializeAws_json1_1RepositoryAlreadyExistsException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1RepositoryCatalogData=(e,t)=>({aboutText:(0,r.expectString)(e.aboutText),architectures:e.architectures!=null?deserializeAws_json1_1ArchitectureList(e.architectures,t):undefined,description:(0,r.expectString)(e.description),logoUrl:(0,r.expectString)(e.logoUrl),marketplaceCertified:(0,r.expectBoolean)(e.marketplaceCertified),operatingSystems:e.operatingSystems!=null?deserializeAws_json1_1OperatingSystemList(e.operatingSystems,t):undefined,usageText:(0,r.expectString)(e.usageText)});const deserializeAws_json1_1RepositoryList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1Repository(e,t)}));return o};const deserializeAws_json1_1RepositoryNotEmptyException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1RepositoryNotFoundException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1RepositoryPolicyNotFoundException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1ServerException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1SetRepositoryPolicyResponse=(e,t)=>({policyText:(0,r.expectString)(e.policyText),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1Tag=(e,t)=>({Key:(0,r.expectString)(e.Key),Value:(0,r.expectString)(e.Value)});const deserializeAws_json1_1TagList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1Tag(e,t)}));return o};const deserializeAws_json1_1TagResourceResponse=(e,t)=>({});const deserializeAws_json1_1TooManyTagsException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1UnsupportedCommandException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1UntagResourceResponse=(e,t)=>({});const deserializeAws_json1_1UploadLayerPartResponse=(e,t)=>({lastByteReceived:(0,r.expectLong)(e.lastByteReceived),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName),uploadId:(0,r.expectString)(e.uploadId)});const deserializeAws_json1_1UploadNotFoundException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeMetadata=e=>{var t,o;return{httpStatusCode:e.statusCode,requestId:(o=(t=e.headers["x-amzn-requestid"])!==null&&t!==void 0?t:e.headers["x-amzn-request-id"])!==null&&o!==void 0?o:e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}};const collectBody=(e=new Uint8Array,t)=>{if(e instanceof Uint8Array){return Promise.resolve(e)}return t.streamCollector(e)||Promise.resolve(new Uint8Array)};const collectBodyString=(e,t)=>collectBody(e,t).then((e=>t.utf8Encoder(e)));const buildHttpRpcRequest=async(e,t,o,r,s)=>{const{hostname:i,protocol:a="https",port:c,path:l}=await e.endpoint();const u={protocol:a,hostname:i,port:c,method:"POST",path:l.endsWith("/")?l.slice(0,-1)+o:l+o,headers:t};if(r!==undefined){u.hostname=r}if(s!==undefined){u.body=s}return new n.HttpRequest(u)};const parseBody=(e,t)=>collectBodyString(e,t).then((e=>{if(e.length){return JSON.parse(e)}return{}}));const parseErrorBody=async(e,t)=>{var o;const n=await parseBody(e,t);n.message=(o=n.message)!==null&&o!==void 0?o:n.Message;return n};const loadRestJsonErrorCode=(e,t)=>{const findKey=(e,t)=>Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase()));const sanitizeErrorCode=e=>{let t=e;if(typeof t==="number"){t=t.toString()}if(t.indexOf(",")>=0){t=t.split(",")[0]}if(t.indexOf(":")>=0){t=t.split(":")[0]}if(t.indexOf("#")>=0){t=t.split("#")[1]}return t};const o=findKey(e.headers,"x-amzn-errortype");if(o!==undefined){return sanitizeErrorCode(e.headers[o])}if(t.code!==undefined){return sanitizeErrorCode(t.code)}if(t["__type"]!==undefined){return sanitizeErrorCode(t["__type"])}}},9324:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=o(4351);const r=n.__importDefault(o(5929));const s=o(2209);const i=o(6153);const a=o(5531);const c=o(7442);const l=o(6064);const u=o(7684);const d=o(8805);const p=o(8588);const m=o(4147);const g=o(8095);const f=o(6278);const y=o(6746);const h=o(4963);const v=o(4243);const w=o(4963);const getRuntimeConfig=e=>{var t,o,n,E,S,C,x,_,R,b,P,I,A,T,L;(0,w.emitWarningIfUnsupportedVersion)(process.version);const N=(0,v.resolveDefaultsModeConfig)(e);const defaultConfigProvider=()=>N().then(h.loadConfigsForDefaultMode);const D=(0,y.getRuntimeConfig)(e);return{...D,...e,runtime:"node",defaultsMode:N,base64Decoder:(t=e===null||e===void 0?void 0:e.base64Decoder)!==null&&t!==void 0?t:p.fromBase64,base64Encoder:(o=e===null||e===void 0?void 0:e.base64Encoder)!==null&&o!==void 0?o:p.toBase64,bodyLengthChecker:(n=e===null||e===void 0?void 0:e.bodyLengthChecker)!==null&&n!==void 0?n:m.calculateBodyLength,credentialDefaultProvider:(E=e===null||e===void 0?void 0:e.credentialDefaultProvider)!==null&&E!==void 0?E:(0,s.decorateDefaultCredentialProvider)(a.defaultProvider),defaultUserAgentProvider:(S=e===null||e===void 0?void 0:e.defaultUserAgentProvider)!==null&&S!==void 0?S:(0,g.defaultUserAgent)({serviceId:D.serviceId,clientVersion:r.default.version}),maxAttempts:(C=e===null||e===void 0?void 0:e.maxAttempts)!==null&&C!==void 0?C:(0,u.loadConfig)(l.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:(x=e===null||e===void 0?void 0:e.region)!==null&&x!==void 0?x:(0,u.loadConfig)(i.NODE_REGION_CONFIG_OPTIONS,i.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:(_=e===null||e===void 0?void 0:e.requestHandler)!==null&&_!==void 0?_:new d.NodeHttpHandler(defaultConfigProvider),retryMode:(R=e===null||e===void 0?void 0:e.retryMode)!==null&&R!==void 0?R:(0,u.loadConfig)({...l.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await defaultConfigProvider()).retryMode||l.DEFAULT_RETRY_MODE}),sha256:(b=e===null||e===void 0?void 0:e.sha256)!==null&&b!==void 0?b:c.Hash.bind(null,"sha256"),streamCollector:(P=e===null||e===void 0?void 0:e.streamCollector)!==null&&P!==void 0?P:d.streamCollector,useDualstackEndpoint:(I=e===null||e===void 0?void 0:e.useDualstackEndpoint)!==null&&I!==void 0?I:(0,u.loadConfig)(i.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:(A=e===null||e===void 0?void 0:e.useFipsEndpoint)!==null&&A!==void 0?A:(0,u.loadConfig)(i.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),utf8Decoder:(T=e===null||e===void 0?void 0:e.utf8Decoder)!==null&&T!==void 0?T:f.fromUtf8,utf8Encoder:(L=e===null||e===void 0?void 0:e.utf8Encoder)!==null&&L!==void 0?L:f.toUtf8}};t.getRuntimeConfig=getRuntimeConfig},6746:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=o(7190);const r=o(8593);const getRuntimeConfig=e=>{var t,o,s,i,a;return{apiVersion:"2020-10-30",disableHostPrefix:(t=e===null||e===void 0?void 0:e.disableHostPrefix)!==null&&t!==void 0?t:false,logger:(o=e===null||e===void 0?void 0:e.logger)!==null&&o!==void 0?o:{},regionInfoProvider:(s=e===null||e===void 0?void 0:e.regionInfoProvider)!==null&&s!==void 0?s:r.defaultRegionInfoProvider,serviceId:(i=e===null||e===void 0?void 0:e.serviceId)!==null&&i!==void 0?i:"ECR PUBLIC",urlParser:(a=e===null||e===void 0?void 0:e.urlParser)!==null&&a!==void 0?a:n.parseUrl}};t.getRuntimeConfig=getRuntimeConfig},9167:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ECR=void 0;const n=o(3804);const r=o(5511);const s=o(8859);const i=o(9728);const a=o(9003);const c=o(1454);const l=o(5074);const u=o(8981);const d=o(3793);const p=o(1424);const m=o(8651);const g=o(6828);const f=o(9694);const y=o(2987);const h=o(5353);const v=o(1484);const w=o(6166);const E=o(1200);const S=o(5828);const C=o(1401);const x=o(8469);const _=o(7006);const R=o(6653);const b=o(2741);const P=o(6330);const I=o(6936);const A=o(3854);const T=o(7403);const L=o(6844);const N=o(7935);const D=o(6495);const O=o(4444);const F=o(7928);const z=o(9529);const j=o(3350);const M=o(8300);const k=o(7984);const U=o(5905);const q=o(2665);const $=o(7225);const G=o(5825);const B=o(3391);class ECR extends B.ECRClient{batchCheckLayerAvailability(e,t,o){const r=new n.BatchCheckLayerAvailabilityCommand(e);if(typeof t==="function"){this.send(r,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(r,t||{},o)}else{return this.send(r,t)}}batchDeleteImage(e,t,o){const n=new r.BatchDeleteImageCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}batchGetImage(e,t,o){const n=new s.BatchGetImageCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}batchGetRepositoryScanningConfiguration(e,t,o){const n=new i.BatchGetRepositoryScanningConfigurationCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}completeLayerUpload(e,t,o){const n=new a.CompleteLayerUploadCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}createPullThroughCacheRule(e,t,o){const n=new c.CreatePullThroughCacheRuleCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}createRepository(e,t,o){const n=new l.CreateRepositoryCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}deleteLifecyclePolicy(e,t,o){const n=new u.DeleteLifecyclePolicyCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}deletePullThroughCacheRule(e,t,o){const n=new d.DeletePullThroughCacheRuleCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}deleteRegistryPolicy(e,t,o){const n=new p.DeleteRegistryPolicyCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}deleteRepository(e,t,o){const n=new m.DeleteRepositoryCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}deleteRepositoryPolicy(e,t,o){const n=new g.DeleteRepositoryPolicyCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}describeImageReplicationStatus(e,t,o){const n=new f.DescribeImageReplicationStatusCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}describeImages(e,t,o){const n=new h.DescribeImagesCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}describeImageScanFindings(e,t,o){const n=new y.DescribeImageScanFindingsCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}describePullThroughCacheRules(e,t,o){const n=new v.DescribePullThroughCacheRulesCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}describeRegistry(e,t,o){const n=new w.DescribeRegistryCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}describeRepositories(e,t,o){const n=new E.DescribeRepositoriesCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}getAuthorizationToken(e,t,o){const n=new S.GetAuthorizationTokenCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}getDownloadUrlForLayer(e,t,o){const n=new C.GetDownloadUrlForLayerCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}getLifecyclePolicy(e,t,o){const n=new x.GetLifecyclePolicyCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}getLifecyclePolicyPreview(e,t,o){const n=new _.GetLifecyclePolicyPreviewCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}getRegistryPolicy(e,t,o){const n=new R.GetRegistryPolicyCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}getRegistryScanningConfiguration(e,t,o){const n=new b.GetRegistryScanningConfigurationCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}getRepositoryPolicy(e,t,o){const n=new P.GetRepositoryPolicyCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}initiateLayerUpload(e,t,o){const n=new I.InitiateLayerUploadCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}listImages(e,t,o){const n=new A.ListImagesCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}listTagsForResource(e,t,o){const n=new T.ListTagsForResourceCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}putImage(e,t,o){const n=new L.PutImageCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}putImageScanningConfiguration(e,t,o){const n=new N.PutImageScanningConfigurationCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}putImageTagMutability(e,t,o){const n=new D.PutImageTagMutabilityCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}putLifecyclePolicy(e,t,o){const n=new O.PutLifecyclePolicyCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}putRegistryPolicy(e,t,o){const n=new F.PutRegistryPolicyCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}putRegistryScanningConfiguration(e,t,o){const n=new z.PutRegistryScanningConfigurationCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}putReplicationConfiguration(e,t,o){const n=new j.PutReplicationConfigurationCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}setRepositoryPolicy(e,t,o){const n=new M.SetRepositoryPolicyCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}startImageScan(e,t,o){const n=new k.StartImageScanCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}startLifecyclePolicyPreview(e,t,o){const n=new U.StartLifecyclePolicyPreviewCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}tagResource(e,t,o){const n=new q.TagResourceCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}untagResource(e,t,o){const n=new $.UntagResourceCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}uploadLayerPart(e,t,o){const n=new G.UploadLayerPartCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}}t.ECR=ECR},3391:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ECRClient=void 0;const n=o(6153);const r=o(2245);const s=o(2545);const i=o(14);const a=o(5525);const c=o(6064);const l=o(4935);const u=o(4688);const d=o(4963);const p=o(869);class ECRClient extends d.Client{constructor(e){const t=(0,p.getRuntimeConfig)(e);const o=(0,n.resolveRegionConfig)(t);const d=(0,n.resolveEndpointsConfig)(o);const m=(0,c.resolveRetryConfig)(d);const g=(0,s.resolveHostHeaderConfig)(m);const f=(0,l.resolveAwsAuthConfig)(g);const y=(0,u.resolveUserAgentConfig)(f);super(y);this.config=y;this.middlewareStack.use((0,c.getRetryPlugin)(this.config));this.middlewareStack.use((0,r.getContentLengthPlugin)(this.config));this.middlewareStack.use((0,s.getHostHeaderPlugin)(this.config));this.middlewareStack.use((0,i.getLoggerPlugin)(this.config));this.middlewareStack.use((0,a.getRecursionDetectionPlugin)(this.config));this.middlewareStack.use((0,l.getAwsAuthPlugin)(this.config));this.middlewareStack.use((0,u.getUserAgentPlugin)(this.config))}destroy(){super.destroy()}}t.ECRClient=ECRClient},3804:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BatchCheckLayerAvailabilityCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class BatchCheckLayerAvailabilityCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="BatchCheckLayerAvailabilityCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.BatchCheckLayerAvailabilityRequestFilterSensitiveLog,outputFilterSensitiveLog:s.BatchCheckLayerAvailabilityResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1BatchCheckLayerAvailabilityCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1BatchCheckLayerAvailabilityCommand)(e,t)}}t.BatchCheckLayerAvailabilityCommand=BatchCheckLayerAvailabilityCommand},5511:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BatchDeleteImageCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class BatchDeleteImageCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="BatchDeleteImageCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.BatchDeleteImageRequestFilterSensitiveLog,outputFilterSensitiveLog:s.BatchDeleteImageResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1BatchDeleteImageCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1BatchDeleteImageCommand)(e,t)}}t.BatchDeleteImageCommand=BatchDeleteImageCommand},8859:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BatchGetImageCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class BatchGetImageCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="BatchGetImageCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.BatchGetImageRequestFilterSensitiveLog,outputFilterSensitiveLog:s.BatchGetImageResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1BatchGetImageCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1BatchGetImageCommand)(e,t)}}t.BatchGetImageCommand=BatchGetImageCommand},9728:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BatchGetRepositoryScanningConfigurationCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class BatchGetRepositoryScanningConfigurationCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="BatchGetRepositoryScanningConfigurationCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.BatchGetRepositoryScanningConfigurationRequestFilterSensitiveLog,outputFilterSensitiveLog:s.BatchGetRepositoryScanningConfigurationResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1BatchGetRepositoryScanningConfigurationCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1BatchGetRepositoryScanningConfigurationCommand)(e,t)}}t.BatchGetRepositoryScanningConfigurationCommand=BatchGetRepositoryScanningConfigurationCommand},9003:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CompleteLayerUploadCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class CompleteLayerUploadCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="CompleteLayerUploadCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.CompleteLayerUploadRequestFilterSensitiveLog,outputFilterSensitiveLog:s.CompleteLayerUploadResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1CompleteLayerUploadCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1CompleteLayerUploadCommand)(e,t)}}t.CompleteLayerUploadCommand=CompleteLayerUploadCommand},1454:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CreatePullThroughCacheRuleCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class CreatePullThroughCacheRuleCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="CreatePullThroughCacheRuleCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.CreatePullThroughCacheRuleRequestFilterSensitiveLog,outputFilterSensitiveLog:s.CreatePullThroughCacheRuleResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1CreatePullThroughCacheRuleCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1CreatePullThroughCacheRuleCommand)(e,t)}}t.CreatePullThroughCacheRuleCommand=CreatePullThroughCacheRuleCommand},5074:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CreateRepositoryCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class CreateRepositoryCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="CreateRepositoryCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.CreateRepositoryRequestFilterSensitiveLog,outputFilterSensitiveLog:s.CreateRepositoryResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1CreateRepositoryCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1CreateRepositoryCommand)(e,t)}}t.CreateRepositoryCommand=CreateRepositoryCommand},8981:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DeleteLifecyclePolicyCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class DeleteLifecyclePolicyCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="DeleteLifecyclePolicyCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.DeleteLifecyclePolicyRequestFilterSensitiveLog,outputFilterSensitiveLog:s.DeleteLifecyclePolicyResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1DeleteLifecyclePolicyCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1DeleteLifecyclePolicyCommand)(e,t)}}t.DeleteLifecyclePolicyCommand=DeleteLifecyclePolicyCommand},3793:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DeletePullThroughCacheRuleCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class DeletePullThroughCacheRuleCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="DeletePullThroughCacheRuleCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.DeletePullThroughCacheRuleRequestFilterSensitiveLog,outputFilterSensitiveLog:s.DeletePullThroughCacheRuleResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1DeletePullThroughCacheRuleCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1DeletePullThroughCacheRuleCommand)(e,t)}}t.DeletePullThroughCacheRuleCommand=DeletePullThroughCacheRuleCommand},1424:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DeleteRegistryPolicyCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class DeleteRegistryPolicyCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="DeleteRegistryPolicyCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.DeleteRegistryPolicyRequestFilterSensitiveLog,outputFilterSensitiveLog:s.DeleteRegistryPolicyResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1DeleteRegistryPolicyCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1DeleteRegistryPolicyCommand)(e,t)}}t.DeleteRegistryPolicyCommand=DeleteRegistryPolicyCommand},8651:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DeleteRepositoryCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class DeleteRepositoryCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="DeleteRepositoryCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.DeleteRepositoryRequestFilterSensitiveLog,outputFilterSensitiveLog:s.DeleteRepositoryResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1DeleteRepositoryCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1DeleteRepositoryCommand)(e,t)}}t.DeleteRepositoryCommand=DeleteRepositoryCommand},6828:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DeleteRepositoryPolicyCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class DeleteRepositoryPolicyCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="DeleteRepositoryPolicyCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.DeleteRepositoryPolicyRequestFilterSensitiveLog,outputFilterSensitiveLog:s.DeleteRepositoryPolicyResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1DeleteRepositoryPolicyCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1DeleteRepositoryPolicyCommand)(e,t)}}t.DeleteRepositoryPolicyCommand=DeleteRepositoryPolicyCommand},9694:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DescribeImageReplicationStatusCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class DescribeImageReplicationStatusCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="DescribeImageReplicationStatusCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.DescribeImageReplicationStatusRequestFilterSensitiveLog,outputFilterSensitiveLog:s.DescribeImageReplicationStatusResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1DescribeImageReplicationStatusCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1DescribeImageReplicationStatusCommand)(e,t)}}t.DescribeImageReplicationStatusCommand=DescribeImageReplicationStatusCommand},2987:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DescribeImageScanFindingsCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class DescribeImageScanFindingsCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="DescribeImageScanFindingsCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.DescribeImageScanFindingsRequestFilterSensitiveLog,outputFilterSensitiveLog:s.DescribeImageScanFindingsResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1DescribeImageScanFindingsCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1DescribeImageScanFindingsCommand)(e,t)}}t.DescribeImageScanFindingsCommand=DescribeImageScanFindingsCommand},5353:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DescribeImagesCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class DescribeImagesCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="DescribeImagesCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.DescribeImagesRequestFilterSensitiveLog,outputFilterSensitiveLog:s.DescribeImagesResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1DescribeImagesCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1DescribeImagesCommand)(e,t)}}t.DescribeImagesCommand=DescribeImagesCommand},1484:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DescribePullThroughCacheRulesCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class DescribePullThroughCacheRulesCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="DescribePullThroughCacheRulesCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.DescribePullThroughCacheRulesRequestFilterSensitiveLog,outputFilterSensitiveLog:s.DescribePullThroughCacheRulesResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1DescribePullThroughCacheRulesCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1DescribePullThroughCacheRulesCommand)(e,t)}}t.DescribePullThroughCacheRulesCommand=DescribePullThroughCacheRulesCommand},6166:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DescribeRegistryCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class DescribeRegistryCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="DescribeRegistryCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.DescribeRegistryRequestFilterSensitiveLog,outputFilterSensitiveLog:s.DescribeRegistryResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1DescribeRegistryCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1DescribeRegistryCommand)(e,t)}}t.DescribeRegistryCommand=DescribeRegistryCommand},1200:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DescribeRepositoriesCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class DescribeRepositoriesCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="DescribeRepositoriesCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.DescribeRepositoriesRequestFilterSensitiveLog,outputFilterSensitiveLog:s.DescribeRepositoriesResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1DescribeRepositoriesCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1DescribeRepositoriesCommand)(e,t)}}t.DescribeRepositoriesCommand=DescribeRepositoriesCommand},5828:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GetAuthorizationTokenCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class GetAuthorizationTokenCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="GetAuthorizationTokenCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.GetAuthorizationTokenRequestFilterSensitiveLog,outputFilterSensitiveLog:s.GetAuthorizationTokenResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1GetAuthorizationTokenCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1GetAuthorizationTokenCommand)(e,t)}}t.GetAuthorizationTokenCommand=GetAuthorizationTokenCommand},1401:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GetDownloadUrlForLayerCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class GetDownloadUrlForLayerCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="GetDownloadUrlForLayerCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.GetDownloadUrlForLayerRequestFilterSensitiveLog,outputFilterSensitiveLog:s.GetDownloadUrlForLayerResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1GetDownloadUrlForLayerCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1GetDownloadUrlForLayerCommand)(e,t)}}t.GetDownloadUrlForLayerCommand=GetDownloadUrlForLayerCommand},8469:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GetLifecyclePolicyCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class GetLifecyclePolicyCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="GetLifecyclePolicyCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.GetLifecyclePolicyRequestFilterSensitiveLog,outputFilterSensitiveLog:s.GetLifecyclePolicyResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1GetLifecyclePolicyCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1GetLifecyclePolicyCommand)(e,t)}}t.GetLifecyclePolicyCommand=GetLifecyclePolicyCommand},7006:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GetLifecyclePolicyPreviewCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class GetLifecyclePolicyPreviewCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="GetLifecyclePolicyPreviewCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.GetLifecyclePolicyPreviewRequestFilterSensitiveLog,outputFilterSensitiveLog:s.GetLifecyclePolicyPreviewResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1GetLifecyclePolicyPreviewCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1GetLifecyclePolicyPreviewCommand)(e,t)}}t.GetLifecyclePolicyPreviewCommand=GetLifecyclePolicyPreviewCommand},6653:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GetRegistryPolicyCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class GetRegistryPolicyCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="GetRegistryPolicyCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.GetRegistryPolicyRequestFilterSensitiveLog,outputFilterSensitiveLog:s.GetRegistryPolicyResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1GetRegistryPolicyCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1GetRegistryPolicyCommand)(e,t)}}t.GetRegistryPolicyCommand=GetRegistryPolicyCommand},2741:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GetRegistryScanningConfigurationCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class GetRegistryScanningConfigurationCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="GetRegistryScanningConfigurationCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.GetRegistryScanningConfigurationRequestFilterSensitiveLog,outputFilterSensitiveLog:s.GetRegistryScanningConfigurationResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1GetRegistryScanningConfigurationCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1GetRegistryScanningConfigurationCommand)(e,t)}}t.GetRegistryScanningConfigurationCommand=GetRegistryScanningConfigurationCommand},6330:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GetRepositoryPolicyCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class GetRepositoryPolicyCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="GetRepositoryPolicyCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.GetRepositoryPolicyRequestFilterSensitiveLog,outputFilterSensitiveLog:s.GetRepositoryPolicyResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1GetRepositoryPolicyCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1GetRepositoryPolicyCommand)(e,t)}}t.GetRepositoryPolicyCommand=GetRepositoryPolicyCommand},6936:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.InitiateLayerUploadCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class InitiateLayerUploadCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="InitiateLayerUploadCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.InitiateLayerUploadRequestFilterSensitiveLog,outputFilterSensitiveLog:s.InitiateLayerUploadResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1InitiateLayerUploadCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1InitiateLayerUploadCommand)(e,t)}}t.InitiateLayerUploadCommand=InitiateLayerUploadCommand},3854:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ListImagesCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class ListImagesCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="ListImagesCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.ListImagesRequestFilterSensitiveLog,outputFilterSensitiveLog:s.ListImagesResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1ListImagesCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1ListImagesCommand)(e,t)}}t.ListImagesCommand=ListImagesCommand},7403:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ListTagsForResourceCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class ListTagsForResourceCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="ListTagsForResourceCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.ListTagsForResourceRequestFilterSensitiveLog,outputFilterSensitiveLog:s.ListTagsForResourceResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1ListTagsForResourceCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1ListTagsForResourceCommand)(e,t)}}t.ListTagsForResourceCommand=ListTagsForResourceCommand},6844:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PutImageCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class PutImageCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="PutImageCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.PutImageRequestFilterSensitiveLog,outputFilterSensitiveLog:s.PutImageResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1PutImageCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1PutImageCommand)(e,t)}}t.PutImageCommand=PutImageCommand},7935:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PutImageScanningConfigurationCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class PutImageScanningConfigurationCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="PutImageScanningConfigurationCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.PutImageScanningConfigurationRequestFilterSensitiveLog,outputFilterSensitiveLog:s.PutImageScanningConfigurationResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1PutImageScanningConfigurationCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1PutImageScanningConfigurationCommand)(e,t)}}t.PutImageScanningConfigurationCommand=PutImageScanningConfigurationCommand},6495:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PutImageTagMutabilityCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class PutImageTagMutabilityCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="PutImageTagMutabilityCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.PutImageTagMutabilityRequestFilterSensitiveLog,outputFilterSensitiveLog:s.PutImageTagMutabilityResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1PutImageTagMutabilityCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1PutImageTagMutabilityCommand)(e,t)}}t.PutImageTagMutabilityCommand=PutImageTagMutabilityCommand},4444:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PutLifecyclePolicyCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class PutLifecyclePolicyCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="PutLifecyclePolicyCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.PutLifecyclePolicyRequestFilterSensitiveLog,outputFilterSensitiveLog:s.PutLifecyclePolicyResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1PutLifecyclePolicyCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1PutLifecyclePolicyCommand)(e,t)}}t.PutLifecyclePolicyCommand=PutLifecyclePolicyCommand},7928:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PutRegistryPolicyCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class PutRegistryPolicyCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="PutRegistryPolicyCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.PutRegistryPolicyRequestFilterSensitiveLog,outputFilterSensitiveLog:s.PutRegistryPolicyResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1PutRegistryPolicyCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1PutRegistryPolicyCommand)(e,t)}}t.PutRegistryPolicyCommand=PutRegistryPolicyCommand},9529:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PutRegistryScanningConfigurationCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class PutRegistryScanningConfigurationCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="PutRegistryScanningConfigurationCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.PutRegistryScanningConfigurationRequestFilterSensitiveLog,outputFilterSensitiveLog:s.PutRegistryScanningConfigurationResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1PutRegistryScanningConfigurationCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1PutRegistryScanningConfigurationCommand)(e,t)}}t.PutRegistryScanningConfigurationCommand=PutRegistryScanningConfigurationCommand},3350:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PutReplicationConfigurationCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class PutReplicationConfigurationCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="PutReplicationConfigurationCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.PutReplicationConfigurationRequestFilterSensitiveLog,outputFilterSensitiveLog:s.PutReplicationConfigurationResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1PutReplicationConfigurationCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1PutReplicationConfigurationCommand)(e,t)}}t.PutReplicationConfigurationCommand=PutReplicationConfigurationCommand},8300:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SetRepositoryPolicyCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class SetRepositoryPolicyCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="SetRepositoryPolicyCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.SetRepositoryPolicyRequestFilterSensitiveLog,outputFilterSensitiveLog:s.SetRepositoryPolicyResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1SetRepositoryPolicyCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1SetRepositoryPolicyCommand)(e,t)}}t.SetRepositoryPolicyCommand=SetRepositoryPolicyCommand},7984:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.StartImageScanCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class StartImageScanCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="StartImageScanCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.StartImageScanRequestFilterSensitiveLog,outputFilterSensitiveLog:s.StartImageScanResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1StartImageScanCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1StartImageScanCommand)(e,t)}}t.StartImageScanCommand=StartImageScanCommand},5905:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.StartLifecyclePolicyPreviewCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class StartLifecyclePolicyPreviewCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="StartLifecyclePolicyPreviewCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.StartLifecyclePolicyPreviewRequestFilterSensitiveLog,outputFilterSensitiveLog:s.StartLifecyclePolicyPreviewResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1StartLifecyclePolicyPreviewCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1StartLifecyclePolicyPreviewCommand)(e,t)}}t.StartLifecyclePolicyPreviewCommand=StartLifecyclePolicyPreviewCommand},2665:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TagResourceCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class TagResourceCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="TagResourceCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.TagResourceRequestFilterSensitiveLog,outputFilterSensitiveLog:s.TagResourceResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1TagResourceCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1TagResourceCommand)(e,t)}}t.TagResourceCommand=TagResourceCommand},7225:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UntagResourceCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class UntagResourceCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="UntagResourceCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.UntagResourceRequestFilterSensitiveLog,outputFilterSensitiveLog:s.UntagResourceResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1UntagResourceCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1UntagResourceCommand)(e,t)}}t.UntagResourceCommand=UntagResourceCommand},5825:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UploadLayerPartCommand=void 0;const n=o(3631);const r=o(4963);const s=o(9088);const i=o(6704);class UploadLayerPartCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="ECRClient";const c="UploadLayerPartCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.UploadLayerPartRequestFilterSensitiveLog,outputFilterSensitiveLog:s.UploadLayerPartResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_json1_1UploadLayerPartCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_json1_1UploadLayerPartCommand)(e,t)}}t.UploadLayerPartCommand=UploadLayerPartCommand},7407:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(3804),t);n.__exportStar(o(5511),t);n.__exportStar(o(8859),t);n.__exportStar(o(9728),t);n.__exportStar(o(9003),t);n.__exportStar(o(1454),t);n.__exportStar(o(5074),t);n.__exportStar(o(8981),t);n.__exportStar(o(3793),t);n.__exportStar(o(1424),t);n.__exportStar(o(8651),t);n.__exportStar(o(6828),t);n.__exportStar(o(9694),t);n.__exportStar(o(2987),t);n.__exportStar(o(5353),t);n.__exportStar(o(1484),t);n.__exportStar(o(6166),t);n.__exportStar(o(1200),t);n.__exportStar(o(5828),t);n.__exportStar(o(1401),t);n.__exportStar(o(8469),t);n.__exportStar(o(7006),t);n.__exportStar(o(6653),t);n.__exportStar(o(2741),t);n.__exportStar(o(6330),t);n.__exportStar(o(6936),t);n.__exportStar(o(3854),t);n.__exportStar(o(7403),t);n.__exportStar(o(6844),t);n.__exportStar(o(7935),t);n.__exportStar(o(6495),t);n.__exportStar(o(4444),t);n.__exportStar(o(7928),t);n.__exportStar(o(9529),t);n.__exportStar(o(3350),t);n.__exportStar(o(8300),t);n.__exportStar(o(7984),t);n.__exportStar(o(5905),t);n.__exportStar(o(2665),t);n.__exportStar(o(7225),t);n.__exportStar(o(5825),t)},3070:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.defaultRegionInfoProvider=void 0;const n=o(6153);const r={"af-south-1":{variants:[{hostname:"api.ecr.af-south-1.amazonaws.com",tags:[]}],signingRegion:"af-south-1"},"ap-east-1":{variants:[{hostname:"api.ecr.ap-east-1.amazonaws.com",tags:[]}],signingRegion:"ap-east-1"},"ap-northeast-1":{variants:[{hostname:"api.ecr.ap-northeast-1.amazonaws.com",tags:[]}],signingRegion:"ap-northeast-1"},"ap-northeast-2":{variants:[{hostname:"api.ecr.ap-northeast-2.amazonaws.com",tags:[]}],signingRegion:"ap-northeast-2"},"ap-northeast-3":{variants:[{hostname:"api.ecr.ap-northeast-3.amazonaws.com",tags:[]}],signingRegion:"ap-northeast-3"},"ap-south-1":{variants:[{hostname:"api.ecr.ap-south-1.amazonaws.com",tags:[]}],signingRegion:"ap-south-1"},"ap-southeast-1":{variants:[{hostname:"api.ecr.ap-southeast-1.amazonaws.com",tags:[]}],signingRegion:"ap-southeast-1"},"ap-southeast-2":{variants:[{hostname:"api.ecr.ap-southeast-2.amazonaws.com",tags:[]}],signingRegion:"ap-southeast-2"},"ap-southeast-3":{variants:[{hostname:"api.ecr.ap-southeast-3.amazonaws.com",tags:[]}],signingRegion:"ap-southeast-3"},"ca-central-1":{variants:[{hostname:"api.ecr.ca-central-1.amazonaws.com",tags:[]}],signingRegion:"ca-central-1"},"cn-north-1":{variants:[{hostname:"api.ecr.cn-north-1.amazonaws.com.cn",tags:[]}],signingRegion:"cn-north-1"},"cn-northwest-1":{variants:[{hostname:"api.ecr.cn-northwest-1.amazonaws.com.cn",tags:[]}],signingRegion:"cn-northwest-1"},"eu-central-1":{variants:[{hostname:"api.ecr.eu-central-1.amazonaws.com",tags:[]}],signingRegion:"eu-central-1"},"eu-north-1":{variants:[{hostname:"api.ecr.eu-north-1.amazonaws.com",tags:[]}],signingRegion:"eu-north-1"},"eu-south-1":{variants:[{hostname:"api.ecr.eu-south-1.amazonaws.com",tags:[]}],signingRegion:"eu-south-1"},"eu-west-1":{variants:[{hostname:"api.ecr.eu-west-1.amazonaws.com",tags:[]}],signingRegion:"eu-west-1"},"eu-west-2":{variants:[{hostname:"api.ecr.eu-west-2.amazonaws.com",tags:[]}],signingRegion:"eu-west-2"},"eu-west-3":{variants:[{hostname:"api.ecr.eu-west-3.amazonaws.com",tags:[]}],signingRegion:"eu-west-3"},"me-central-1":{variants:[{hostname:"api.ecr.me-central-1.amazonaws.com",tags:[]}],signingRegion:"me-central-1"},"me-south-1":{variants:[{hostname:"api.ecr.me-south-1.amazonaws.com",tags:[]}],signingRegion:"me-south-1"},"sa-east-1":{variants:[{hostname:"api.ecr.sa-east-1.amazonaws.com",tags:[]}],signingRegion:"sa-east-1"},"us-east-1":{variants:[{hostname:"api.ecr.us-east-1.amazonaws.com",tags:[]},{hostname:"ecr-fips.us-east-1.amazonaws.com",tags:["fips"]}],signingRegion:"us-east-1"},"us-east-2":{variants:[{hostname:"api.ecr.us-east-2.amazonaws.com",tags:[]},{hostname:"ecr-fips.us-east-2.amazonaws.com",tags:["fips"]}],signingRegion:"us-east-2"},"us-gov-east-1":{variants:[{hostname:"api.ecr.us-gov-east-1.amazonaws.com",tags:[]},{hostname:"ecr-fips.us-gov-east-1.amazonaws.com",tags:["fips"]}],signingRegion:"us-gov-east-1"},"us-gov-west-1":{variants:[{hostname:"api.ecr.us-gov-west-1.amazonaws.com",tags:[]},{hostname:"ecr-fips.us-gov-west-1.amazonaws.com",tags:["fips"]}],signingRegion:"us-gov-west-1"},"us-iso-east-1":{variants:[{hostname:"api.ecr.us-iso-east-1.c2s.ic.gov",tags:[]}],signingRegion:"us-iso-east-1"},"us-iso-west-1":{variants:[{hostname:"api.ecr.us-iso-west-1.c2s.ic.gov",tags:[]}],signingRegion:"us-iso-west-1"},"us-isob-east-1":{variants:[{hostname:"api.ecr.us-isob-east-1.sc2s.sgov.gov",tags:[]}],signingRegion:"us-isob-east-1"},"us-west-1":{variants:[{hostname:"api.ecr.us-west-1.amazonaws.com",tags:[]},{hostname:"ecr-fips.us-west-1.amazonaws.com",tags:["fips"]}],signingRegion:"us-west-1"},"us-west-2":{variants:[{hostname:"api.ecr.us-west-2.amazonaws.com",tags:[]},{hostname:"ecr-fips.us-west-2.amazonaws.com",tags:["fips"]}],signingRegion:"us-west-2"}};const s={aws:{regions:["af-south-1","ap-east-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-south-1","ap-southeast-1","ap-southeast-2","ap-southeast-3","ca-central-1","dkr-us-east-1","dkr-us-east-2","dkr-us-west-1","dkr-us-west-2","eu-central-1","eu-north-1","eu-south-1","eu-west-1","eu-west-2","eu-west-3","fips-dkr-us-east-1","fips-dkr-us-east-2","fips-dkr-us-west-1","fips-dkr-us-west-2","fips-us-east-1","fips-us-east-2","fips-us-west-1","fips-us-west-2","me-central-1","me-south-1","sa-east-1","us-east-1","us-east-2","us-west-1","us-west-2"],regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",variants:[{hostname:"api.ecr.{region}.amazonaws.com",tags:[]},{hostname:"ecr-fips.{region}.amazonaws.com",tags:["fips"]},{hostname:"api.ecr-fips.{region}.api.aws",tags:["dualstack","fips"]},{hostname:"api.ecr.{region}.api.aws",tags:["dualstack"]}]},"aws-cn":{regions:["cn-north-1","cn-northwest-1"],regionRegex:"^cn\\-\\w+\\-\\d+$",variants:[{hostname:"api.ecr.{region}.amazonaws.com.cn",tags:[]},{hostname:"api.ecr-fips.{region}.amazonaws.com.cn",tags:["fips"]},{hostname:"api.ecr-fips.{region}.api.amazonwebservices.com.cn",tags:["dualstack","fips"]},{hostname:"api.ecr.{region}.api.amazonwebservices.com.cn",tags:["dualstack"]}]},"aws-iso":{regions:["us-iso-east-1","us-iso-west-1"],regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",variants:[{hostname:"api.ecr.{region}.c2s.ic.gov",tags:[]},{hostname:"api.ecr-fips.{region}.c2s.ic.gov",tags:["fips"]}]},"aws-iso-b":{regions:["us-isob-east-1"],regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",variants:[{hostname:"api.ecr.{region}.sc2s.sgov.gov",tags:[]},{hostname:"api.ecr-fips.{region}.sc2s.sgov.gov",tags:["fips"]}]},"aws-us-gov":{regions:["dkr-us-gov-east-1","dkr-us-gov-west-1","fips-dkr-us-gov-east-1","fips-dkr-us-gov-west-1","fips-us-gov-east-1","fips-us-gov-west-1","us-gov-east-1","us-gov-west-1"],regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",variants:[{hostname:"api.ecr.{region}.amazonaws.com",tags:[]},{hostname:"ecr-fips.{region}.amazonaws.com",tags:["fips"]},{hostname:"api.ecr-fips.{region}.api.aws",tags:["dualstack","fips"]},{hostname:"api.ecr.{region}.api.aws",tags:["dualstack"]}]}};const defaultRegionInfoProvider=async(e,t)=>(0,n.getRegionInfo)(e,{...t,signingService:"ecr",regionHash:r,partitionHash:s});t.defaultRegionInfoProvider=defaultRegionInfoProvider},8923:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ECRServiceException=void 0;const n=o(4351);n.__exportStar(o(9167),t);n.__exportStar(o(3391),t);n.__exportStar(o(7407),t);n.__exportStar(o(4692),t);n.__exportStar(o(5356),t);n.__exportStar(o(8406),t);var r=o(1610);Object.defineProperty(t,"ECRServiceException",{enumerable:true,get:function(){return r.ECRServiceException}})},1610:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ECRServiceException=void 0;const n=o(4963);class ECRServiceException extends n.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,ECRServiceException.prototype)}}t.ECRServiceException=ECRServiceException},4692:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(9088),t)},9088:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BatchCheckLayerAvailabilityRequestFilterSensitiveLog=t.InvalidLayerPartException=t.LifecyclePolicyPreviewInProgressException=t.UnsupportedImageTypeException=t.ReferencedImagesNotFoundException=t.ImageTagAlreadyExistsException=t.ImageDigestDoesNotMatchException=t.ImageAlreadyExistsException=t.ScanType=t.LifecyclePolicyPreviewNotFoundException=t.LifecyclePolicyPreviewStatus=t.ImageActionType=t.LayersNotFoundException=t.LayerInaccessibleException=t.RepositoryFilterType=t.ScanNotFoundException=t.ScanStatus=t.FindingSeverity=t.TagStatus=t.ImageNotFoundException=t.ReplicationStatus=t.RepositoryPolicyNotFoundException=t.RepositoryNotEmptyException=t.RegistryPolicyNotFoundException=t.PullThroughCacheRuleNotFoundException=t.LifecyclePolicyNotFoundException=t.TooManyTagsException=t.RepositoryAlreadyExistsException=t.InvalidTagParameterException=t.ImageTagMutability=t.EncryptionType=t.UnsupportedUpstreamRegistryException=t.PullThroughCacheRuleAlreadyExistsException=t.LimitExceededException=t.UploadNotFoundException=t.LayerPartTooSmallException=t.LayerAlreadyExistsException=t.KmsException=t.InvalidLayerException=t.EmptyUploadException=t.ValidationException=t.ScanFrequency=t.ScanningRepositoryFilterType=t.ScanningConfigurationFailureCode=t.ImageFailureCode=t.ServerException=t.RepositoryNotFoundException=t.InvalidParameterException=t.LayerAvailability=t.LayerFailureCode=void 0;t.RemediationFilterSensitiveLog=t.RecommendationFilterSensitiveLog=t.PackageVulnerabilityDetailsFilterSensitiveLog=t.VulnerablePackageFilterSensitiveLog=t.CvssScoreFilterSensitiveLog=t.DescribeImageScanFindingsRequestFilterSensitiveLog=t.DescribeImagesResponseFilterSensitiveLog=t.ImageDetailFilterSensitiveLog=t.ImageScanStatusFilterSensitiveLog=t.ImageScanFindingsSummaryFilterSensitiveLog=t.DescribeImagesRequestFilterSensitiveLog=t.DescribeImagesFilterFilterSensitiveLog=t.DescribeImageReplicationStatusResponseFilterSensitiveLog=t.ImageReplicationStatusFilterSensitiveLog=t.DescribeImageReplicationStatusRequestFilterSensitiveLog=t.DeleteRepositoryPolicyResponseFilterSensitiveLog=t.DeleteRepositoryPolicyRequestFilterSensitiveLog=t.DeleteRepositoryResponseFilterSensitiveLog=t.DeleteRepositoryRequestFilterSensitiveLog=t.DeleteRegistryPolicyResponseFilterSensitiveLog=t.DeleteRegistryPolicyRequestFilterSensitiveLog=t.DeletePullThroughCacheRuleResponseFilterSensitiveLog=t.DeletePullThroughCacheRuleRequestFilterSensitiveLog=t.DeleteLifecyclePolicyResponseFilterSensitiveLog=t.DeleteLifecyclePolicyRequestFilterSensitiveLog=t.CreateRepositoryResponseFilterSensitiveLog=t.RepositoryFilterSensitiveLog=t.CreateRepositoryRequestFilterSensitiveLog=t.TagFilterSensitiveLog=t.ImageScanningConfigurationFilterSensitiveLog=t.EncryptionConfigurationFilterSensitiveLog=t.CreatePullThroughCacheRuleResponseFilterSensitiveLog=t.CreatePullThroughCacheRuleRequestFilterSensitiveLog=t.CompleteLayerUploadResponseFilterSensitiveLog=t.CompleteLayerUploadRequestFilterSensitiveLog=t.BatchGetRepositoryScanningConfigurationResponseFilterSensitiveLog=t.RepositoryScanningConfigurationFilterSensitiveLog=t.ScanningRepositoryFilterFilterSensitiveLog=t.RepositoryScanningConfigurationFailureFilterSensitiveLog=t.BatchGetRepositoryScanningConfigurationRequestFilterSensitiveLog=t.BatchGetImageResponseFilterSensitiveLog=t.ImageFilterSensitiveLog=t.BatchGetImageRequestFilterSensitiveLog=t.BatchDeleteImageResponseFilterSensitiveLog=t.ImageFailureFilterSensitiveLog=t.BatchDeleteImageRequestFilterSensitiveLog=t.ImageIdentifierFilterSensitiveLog=t.BatchCheckLayerAvailabilityResponseFilterSensitiveLog=t.LayerFilterSensitiveLog=t.LayerFailureFilterSensitiveLog=void 0;t.ListTagsForResourceResponseFilterSensitiveLog=t.ListTagsForResourceRequestFilterSensitiveLog=t.ListImagesResponseFilterSensitiveLog=t.ListImagesRequestFilterSensitiveLog=t.ListImagesFilterFilterSensitiveLog=t.InitiateLayerUploadResponseFilterSensitiveLog=t.InitiateLayerUploadRequestFilterSensitiveLog=t.GetRepositoryPolicyResponseFilterSensitiveLog=t.GetRepositoryPolicyRequestFilterSensitiveLog=t.GetRegistryScanningConfigurationResponseFilterSensitiveLog=t.RegistryScanningConfigurationFilterSensitiveLog=t.RegistryScanningRuleFilterSensitiveLog=t.GetRegistryScanningConfigurationRequestFilterSensitiveLog=t.GetRegistryPolicyResponseFilterSensitiveLog=t.GetRegistryPolicyRequestFilterSensitiveLog=t.GetLifecyclePolicyPreviewResponseFilterSensitiveLog=t.LifecyclePolicyPreviewSummaryFilterSensitiveLog=t.LifecyclePolicyPreviewResultFilterSensitiveLog=t.LifecyclePolicyRuleActionFilterSensitiveLog=t.GetLifecyclePolicyPreviewRequestFilterSensitiveLog=t.LifecyclePolicyPreviewFilterFilterSensitiveLog=t.GetLifecyclePolicyResponseFilterSensitiveLog=t.GetLifecyclePolicyRequestFilterSensitiveLog=t.GetDownloadUrlForLayerResponseFilterSensitiveLog=t.GetDownloadUrlForLayerRequestFilterSensitiveLog=t.GetAuthorizationTokenResponseFilterSensitiveLog=t.AuthorizationDataFilterSensitiveLog=t.GetAuthorizationTokenRequestFilterSensitiveLog=t.DescribeRepositoriesResponseFilterSensitiveLog=t.DescribeRepositoriesRequestFilterSensitiveLog=t.DescribeRegistryResponseFilterSensitiveLog=t.ReplicationConfigurationFilterSensitiveLog=t.ReplicationRuleFilterSensitiveLog=t.RepositoryFilterFilterSensitiveLog=t.ReplicationDestinationFilterSensitiveLog=t.DescribeRegistryRequestFilterSensitiveLog=t.DescribePullThroughCacheRulesResponseFilterSensitiveLog=t.PullThroughCacheRuleFilterSensitiveLog=t.DescribePullThroughCacheRulesRequestFilterSensitiveLog=t.DescribeImageScanFindingsResponseFilterSensitiveLog=t.ImageScanFindingsFilterSensitiveLog=t.ImageScanFindingFilterSensitiveLog=t.AttributeFilterSensitiveLog=t.EnhancedImageScanFindingFilterSensitiveLog=t.ScoreDetailsFilterSensitiveLog=t.CvssScoreDetailsFilterSensitiveLog=t.CvssScoreAdjustmentFilterSensitiveLog=t.ResourceFilterSensitiveLog=t.ResourceDetailsFilterSensitiveLog=t.AwsEcrContainerImageDetailsFilterSensitiveLog=void 0;t.UploadLayerPartResponseFilterSensitiveLog=t.UploadLayerPartRequestFilterSensitiveLog=t.UntagResourceResponseFilterSensitiveLog=t.UntagResourceRequestFilterSensitiveLog=t.TagResourceResponseFilterSensitiveLog=t.TagResourceRequestFilterSensitiveLog=t.StartLifecyclePolicyPreviewResponseFilterSensitiveLog=t.StartLifecyclePolicyPreviewRequestFilterSensitiveLog=t.StartImageScanResponseFilterSensitiveLog=t.StartImageScanRequestFilterSensitiveLog=t.SetRepositoryPolicyResponseFilterSensitiveLog=t.SetRepositoryPolicyRequestFilterSensitiveLog=t.PutReplicationConfigurationResponseFilterSensitiveLog=t.PutReplicationConfigurationRequestFilterSensitiveLog=t.PutRegistryScanningConfigurationResponseFilterSensitiveLog=t.PutRegistryScanningConfigurationRequestFilterSensitiveLog=t.PutRegistryPolicyResponseFilterSensitiveLog=t.PutRegistryPolicyRequestFilterSensitiveLog=t.PutLifecyclePolicyResponseFilterSensitiveLog=t.PutLifecyclePolicyRequestFilterSensitiveLog=t.PutImageTagMutabilityResponseFilterSensitiveLog=t.PutImageTagMutabilityRequestFilterSensitiveLog=t.PutImageScanningConfigurationResponseFilterSensitiveLog=t.PutImageScanningConfigurationRequestFilterSensitiveLog=t.PutImageResponseFilterSensitiveLog=t.PutImageRequestFilterSensitiveLog=void 0;const n=o(1610);var r;(function(e){e["InvalidLayerDigest"]="InvalidLayerDigest";e["MissingLayerDigest"]="MissingLayerDigest"})(r=t.LayerFailureCode||(t.LayerFailureCode={}));var s;(function(e){e["AVAILABLE"]="AVAILABLE";e["UNAVAILABLE"]="UNAVAILABLE"})(s=t.LayerAvailability||(t.LayerAvailability={}));class InvalidParameterException extends n.ECRServiceException{constructor(e){super({name:"InvalidParameterException",$fault:"client",...e});this.name="InvalidParameterException";this.$fault="client";Object.setPrototypeOf(this,InvalidParameterException.prototype)}}t.InvalidParameterException=InvalidParameterException;class RepositoryNotFoundException extends n.ECRServiceException{constructor(e){super({name:"RepositoryNotFoundException",$fault:"client",...e});this.name="RepositoryNotFoundException";this.$fault="client";Object.setPrototypeOf(this,RepositoryNotFoundException.prototype)}}t.RepositoryNotFoundException=RepositoryNotFoundException;class ServerException extends n.ECRServiceException{constructor(e){super({name:"ServerException",$fault:"server",...e});this.name="ServerException";this.$fault="server";Object.setPrototypeOf(this,ServerException.prototype)}}t.ServerException=ServerException;var i;(function(e){e["ImageNotFound"]="ImageNotFound";e["ImageReferencedByManifestList"]="ImageReferencedByManifestList";e["ImageTagDoesNotMatchDigest"]="ImageTagDoesNotMatchDigest";e["InvalidImageDigest"]="InvalidImageDigest";e["InvalidImageTag"]="InvalidImageTag";e["KmsError"]="KmsError";e["MissingDigestAndTag"]="MissingDigestAndTag"})(i=t.ImageFailureCode||(t.ImageFailureCode={}));var a;(function(e){e["REPOSITORY_NOT_FOUND"]="REPOSITORY_NOT_FOUND"})(a=t.ScanningConfigurationFailureCode||(t.ScanningConfigurationFailureCode={}));var c;(function(e){e["WILDCARD"]="WILDCARD"})(c=t.ScanningRepositoryFilterType||(t.ScanningRepositoryFilterType={}));var l;(function(e){e["CONTINUOUS_SCAN"]="CONTINUOUS_SCAN";e["MANUAL"]="MANUAL";e["SCAN_ON_PUSH"]="SCAN_ON_PUSH"})(l=t.ScanFrequency||(t.ScanFrequency={}));class ValidationException extends n.ECRServiceException{constructor(e){super({name:"ValidationException",$fault:"client",...e});this.name="ValidationException";this.$fault="client";Object.setPrototypeOf(this,ValidationException.prototype)}}t.ValidationException=ValidationException;class EmptyUploadException extends n.ECRServiceException{constructor(e){super({name:"EmptyUploadException",$fault:"client",...e});this.name="EmptyUploadException";this.$fault="client";Object.setPrototypeOf(this,EmptyUploadException.prototype)}}t.EmptyUploadException=EmptyUploadException;class InvalidLayerException extends n.ECRServiceException{constructor(e){super({name:"InvalidLayerException",$fault:"client",...e});this.name="InvalidLayerException";this.$fault="client";Object.setPrototypeOf(this,InvalidLayerException.prototype)}}t.InvalidLayerException=InvalidLayerException;class KmsException extends n.ECRServiceException{constructor(e){super({name:"KmsException",$fault:"client",...e});this.name="KmsException";this.$fault="client";Object.setPrototypeOf(this,KmsException.prototype);this.kmsError=e.kmsError}}t.KmsException=KmsException;class LayerAlreadyExistsException extends n.ECRServiceException{constructor(e){super({name:"LayerAlreadyExistsException",$fault:"client",...e});this.name="LayerAlreadyExistsException";this.$fault="client";Object.setPrototypeOf(this,LayerAlreadyExistsException.prototype)}}t.LayerAlreadyExistsException=LayerAlreadyExistsException;class LayerPartTooSmallException extends n.ECRServiceException{constructor(e){super({name:"LayerPartTooSmallException",$fault:"client",...e});this.name="LayerPartTooSmallException";this.$fault="client";Object.setPrototypeOf(this,LayerPartTooSmallException.prototype)}}t.LayerPartTooSmallException=LayerPartTooSmallException;class UploadNotFoundException extends n.ECRServiceException{constructor(e){super({name:"UploadNotFoundException",$fault:"client",...e});this.name="UploadNotFoundException";this.$fault="client";Object.setPrototypeOf(this,UploadNotFoundException.prototype)}}t.UploadNotFoundException=UploadNotFoundException;class LimitExceededException extends n.ECRServiceException{constructor(e){super({name:"LimitExceededException",$fault:"client",...e});this.name="LimitExceededException";this.$fault="client";Object.setPrototypeOf(this,LimitExceededException.prototype)}}t.LimitExceededException=LimitExceededException;class PullThroughCacheRuleAlreadyExistsException extends n.ECRServiceException{constructor(e){super({name:"PullThroughCacheRuleAlreadyExistsException",$fault:"client",...e});this.name="PullThroughCacheRuleAlreadyExistsException";this.$fault="client";Object.setPrototypeOf(this,PullThroughCacheRuleAlreadyExistsException.prototype)}}t.PullThroughCacheRuleAlreadyExistsException=PullThroughCacheRuleAlreadyExistsException;class UnsupportedUpstreamRegistryException extends n.ECRServiceException{constructor(e){super({name:"UnsupportedUpstreamRegistryException",$fault:"client",...e});this.name="UnsupportedUpstreamRegistryException";this.$fault="client";Object.setPrototypeOf(this,UnsupportedUpstreamRegistryException.prototype)}}t.UnsupportedUpstreamRegistryException=UnsupportedUpstreamRegistryException;var u;(function(e){e["AES256"]="AES256";e["KMS"]="KMS"})(u=t.EncryptionType||(t.EncryptionType={}));var d;(function(e){e["IMMUTABLE"]="IMMUTABLE";e["MUTABLE"]="MUTABLE"})(d=t.ImageTagMutability||(t.ImageTagMutability={}));class InvalidTagParameterException extends n.ECRServiceException{constructor(e){super({name:"InvalidTagParameterException",$fault:"client",...e});this.name="InvalidTagParameterException";this.$fault="client";Object.setPrototypeOf(this,InvalidTagParameterException.prototype)}}t.InvalidTagParameterException=InvalidTagParameterException;class RepositoryAlreadyExistsException extends n.ECRServiceException{constructor(e){super({name:"RepositoryAlreadyExistsException",$fault:"client",...e});this.name="RepositoryAlreadyExistsException";this.$fault="client";Object.setPrototypeOf(this,RepositoryAlreadyExistsException.prototype)}}t.RepositoryAlreadyExistsException=RepositoryAlreadyExistsException;class TooManyTagsException extends n.ECRServiceException{constructor(e){super({name:"TooManyTagsException",$fault:"client",...e});this.name="TooManyTagsException";this.$fault="client";Object.setPrototypeOf(this,TooManyTagsException.prototype)}}t.TooManyTagsException=TooManyTagsException;class LifecyclePolicyNotFoundException extends n.ECRServiceException{constructor(e){super({name:"LifecyclePolicyNotFoundException",$fault:"client",...e});this.name="LifecyclePolicyNotFoundException";this.$fault="client";Object.setPrototypeOf(this,LifecyclePolicyNotFoundException.prototype)}}t.LifecyclePolicyNotFoundException=LifecyclePolicyNotFoundException;class PullThroughCacheRuleNotFoundException extends n.ECRServiceException{constructor(e){super({name:"PullThroughCacheRuleNotFoundException",$fault:"client",...e});this.name="PullThroughCacheRuleNotFoundException";this.$fault="client";Object.setPrototypeOf(this,PullThroughCacheRuleNotFoundException.prototype)}}t.PullThroughCacheRuleNotFoundException=PullThroughCacheRuleNotFoundException;class RegistryPolicyNotFoundException extends n.ECRServiceException{constructor(e){super({name:"RegistryPolicyNotFoundException",$fault:"client",...e});this.name="RegistryPolicyNotFoundException";this.$fault="client";Object.setPrototypeOf(this,RegistryPolicyNotFoundException.prototype)}}t.RegistryPolicyNotFoundException=RegistryPolicyNotFoundException;class RepositoryNotEmptyException extends n.ECRServiceException{constructor(e){super({name:"RepositoryNotEmptyException",$fault:"client",...e});this.name="RepositoryNotEmptyException";this.$fault="client";Object.setPrototypeOf(this,RepositoryNotEmptyException.prototype)}}t.RepositoryNotEmptyException=RepositoryNotEmptyException;class RepositoryPolicyNotFoundException extends n.ECRServiceException{constructor(e){super({name:"RepositoryPolicyNotFoundException",$fault:"client",...e});this.name="RepositoryPolicyNotFoundException";this.$fault="client";Object.setPrototypeOf(this,RepositoryPolicyNotFoundException.prototype)}}t.RepositoryPolicyNotFoundException=RepositoryPolicyNotFoundException;var p;(function(e){e["COMPLETE"]="COMPLETE";e["FAILED"]="FAILED";e["IN_PROGRESS"]="IN_PROGRESS"})(p=t.ReplicationStatus||(t.ReplicationStatus={}));class ImageNotFoundException extends n.ECRServiceException{constructor(e){super({name:"ImageNotFoundException",$fault:"client",...e});this.name="ImageNotFoundException";this.$fault="client";Object.setPrototypeOf(this,ImageNotFoundException.prototype)}}t.ImageNotFoundException=ImageNotFoundException;var m;(function(e){e["ANY"]="ANY";e["TAGGED"]="TAGGED";e["UNTAGGED"]="UNTAGGED"})(m=t.TagStatus||(t.TagStatus={}));var g;(function(e){e["CRITICAL"]="CRITICAL";e["HIGH"]="HIGH";e["INFORMATIONAL"]="INFORMATIONAL";e["LOW"]="LOW";e["MEDIUM"]="MEDIUM";e["UNDEFINED"]="UNDEFINED"})(g=t.FindingSeverity||(t.FindingSeverity={}));var f;(function(e){e["ACTIVE"]="ACTIVE";e["COMPLETE"]="COMPLETE";e["FAILED"]="FAILED";e["FINDINGS_UNAVAILABLE"]="FINDINGS_UNAVAILABLE";e["IN_PROGRESS"]="IN_PROGRESS";e["PENDING"]="PENDING";e["SCAN_ELIGIBILITY_EXPIRED"]="SCAN_ELIGIBILITY_EXPIRED";e["UNSUPPORTED_IMAGE"]="UNSUPPORTED_IMAGE"})(f=t.ScanStatus||(t.ScanStatus={}));class ScanNotFoundException extends n.ECRServiceException{constructor(e){super({name:"ScanNotFoundException",$fault:"client",...e});this.name="ScanNotFoundException";this.$fault="client";Object.setPrototypeOf(this,ScanNotFoundException.prototype)}}t.ScanNotFoundException=ScanNotFoundException;var y;(function(e){e["PREFIX_MATCH"]="PREFIX_MATCH"})(y=t.RepositoryFilterType||(t.RepositoryFilterType={}));class LayerInaccessibleException extends n.ECRServiceException{constructor(e){super({name:"LayerInaccessibleException",$fault:"client",...e});this.name="LayerInaccessibleException";this.$fault="client";Object.setPrototypeOf(this,LayerInaccessibleException.prototype)}}t.LayerInaccessibleException=LayerInaccessibleException;class LayersNotFoundException extends n.ECRServiceException{constructor(e){super({name:"LayersNotFoundException",$fault:"client",...e});this.name="LayersNotFoundException";this.$fault="client";Object.setPrototypeOf(this,LayersNotFoundException.prototype)}}t.LayersNotFoundException=LayersNotFoundException;var h;(function(e){e["EXPIRE"]="EXPIRE"})(h=t.ImageActionType||(t.ImageActionType={}));var v;(function(e){e["COMPLETE"]="COMPLETE";e["EXPIRED"]="EXPIRED";e["FAILED"]="FAILED";e["IN_PROGRESS"]="IN_PROGRESS"})(v=t.LifecyclePolicyPreviewStatus||(t.LifecyclePolicyPreviewStatus={}));class LifecyclePolicyPreviewNotFoundException extends n.ECRServiceException{constructor(e){super({name:"LifecyclePolicyPreviewNotFoundException",$fault:"client",...e});this.name="LifecyclePolicyPreviewNotFoundException";this.$fault="client";Object.setPrototypeOf(this,LifecyclePolicyPreviewNotFoundException.prototype)}}t.LifecyclePolicyPreviewNotFoundException=LifecyclePolicyPreviewNotFoundException;var w;(function(e){e["BASIC"]="BASIC";e["ENHANCED"]="ENHANCED"})(w=t.ScanType||(t.ScanType={}));class ImageAlreadyExistsException extends n.ECRServiceException{constructor(e){super({name:"ImageAlreadyExistsException",$fault:"client",...e});this.name="ImageAlreadyExistsException";this.$fault="client";Object.setPrototypeOf(this,ImageAlreadyExistsException.prototype)}}t.ImageAlreadyExistsException=ImageAlreadyExistsException;class ImageDigestDoesNotMatchException extends n.ECRServiceException{constructor(e){super({name:"ImageDigestDoesNotMatchException",$fault:"client",...e});this.name="ImageDigestDoesNotMatchException";this.$fault="client";Object.setPrototypeOf(this,ImageDigestDoesNotMatchException.prototype)}}t.ImageDigestDoesNotMatchException=ImageDigestDoesNotMatchException;class ImageTagAlreadyExistsException extends n.ECRServiceException{constructor(e){super({name:"ImageTagAlreadyExistsException",$fault:"client",...e});this.name="ImageTagAlreadyExistsException";this.$fault="client";Object.setPrototypeOf(this,ImageTagAlreadyExistsException.prototype)}}t.ImageTagAlreadyExistsException=ImageTagAlreadyExistsException;class ReferencedImagesNotFoundException extends n.ECRServiceException{constructor(e){super({name:"ReferencedImagesNotFoundException",$fault:"client",...e});this.name="ReferencedImagesNotFoundException";this.$fault="client";Object.setPrototypeOf(this,ReferencedImagesNotFoundException.prototype)}}t.ReferencedImagesNotFoundException=ReferencedImagesNotFoundException;class UnsupportedImageTypeException extends n.ECRServiceException{constructor(e){super({name:"UnsupportedImageTypeException",$fault:"client",...e});this.name="UnsupportedImageTypeException";this.$fault="client";Object.setPrototypeOf(this,UnsupportedImageTypeException.prototype)}}t.UnsupportedImageTypeException=UnsupportedImageTypeException;class LifecyclePolicyPreviewInProgressException extends n.ECRServiceException{constructor(e){super({name:"LifecyclePolicyPreviewInProgressException",$fault:"client",...e});this.name="LifecyclePolicyPreviewInProgressException";this.$fault="client";Object.setPrototypeOf(this,LifecyclePolicyPreviewInProgressException.prototype)}}t.LifecyclePolicyPreviewInProgressException=LifecyclePolicyPreviewInProgressException;class InvalidLayerPartException extends n.ECRServiceException{constructor(e){super({name:"InvalidLayerPartException",$fault:"client",...e});this.name="InvalidLayerPartException";this.$fault="client";Object.setPrototypeOf(this,InvalidLayerPartException.prototype);this.registryId=e.registryId;this.repositoryName=e.repositoryName;this.uploadId=e.uploadId;this.lastValidByteReceived=e.lastValidByteReceived}}t.InvalidLayerPartException=InvalidLayerPartException;const BatchCheckLayerAvailabilityRequestFilterSensitiveLog=e=>({...e});t.BatchCheckLayerAvailabilityRequestFilterSensitiveLog=BatchCheckLayerAvailabilityRequestFilterSensitiveLog;const LayerFailureFilterSensitiveLog=e=>({...e});t.LayerFailureFilterSensitiveLog=LayerFailureFilterSensitiveLog;const LayerFilterSensitiveLog=e=>({...e});t.LayerFilterSensitiveLog=LayerFilterSensitiveLog;const BatchCheckLayerAvailabilityResponseFilterSensitiveLog=e=>({...e});t.BatchCheckLayerAvailabilityResponseFilterSensitiveLog=BatchCheckLayerAvailabilityResponseFilterSensitiveLog;const ImageIdentifierFilterSensitiveLog=e=>({...e});t.ImageIdentifierFilterSensitiveLog=ImageIdentifierFilterSensitiveLog;const BatchDeleteImageRequestFilterSensitiveLog=e=>({...e});t.BatchDeleteImageRequestFilterSensitiveLog=BatchDeleteImageRequestFilterSensitiveLog;const ImageFailureFilterSensitiveLog=e=>({...e});t.ImageFailureFilterSensitiveLog=ImageFailureFilterSensitiveLog;const BatchDeleteImageResponseFilterSensitiveLog=e=>({...e});t.BatchDeleteImageResponseFilterSensitiveLog=BatchDeleteImageResponseFilterSensitiveLog;const BatchGetImageRequestFilterSensitiveLog=e=>({...e});t.BatchGetImageRequestFilterSensitiveLog=BatchGetImageRequestFilterSensitiveLog;const ImageFilterSensitiveLog=e=>({...e});t.ImageFilterSensitiveLog=ImageFilterSensitiveLog;const BatchGetImageResponseFilterSensitiveLog=e=>({...e});t.BatchGetImageResponseFilterSensitiveLog=BatchGetImageResponseFilterSensitiveLog;const BatchGetRepositoryScanningConfigurationRequestFilterSensitiveLog=e=>({...e});t.BatchGetRepositoryScanningConfigurationRequestFilterSensitiveLog=BatchGetRepositoryScanningConfigurationRequestFilterSensitiveLog;const RepositoryScanningConfigurationFailureFilterSensitiveLog=e=>({...e});t.RepositoryScanningConfigurationFailureFilterSensitiveLog=RepositoryScanningConfigurationFailureFilterSensitiveLog;const ScanningRepositoryFilterFilterSensitiveLog=e=>({...e});t.ScanningRepositoryFilterFilterSensitiveLog=ScanningRepositoryFilterFilterSensitiveLog;const RepositoryScanningConfigurationFilterSensitiveLog=e=>({...e});t.RepositoryScanningConfigurationFilterSensitiveLog=RepositoryScanningConfigurationFilterSensitiveLog;const BatchGetRepositoryScanningConfigurationResponseFilterSensitiveLog=e=>({...e});t.BatchGetRepositoryScanningConfigurationResponseFilterSensitiveLog=BatchGetRepositoryScanningConfigurationResponseFilterSensitiveLog;const CompleteLayerUploadRequestFilterSensitiveLog=e=>({...e});t.CompleteLayerUploadRequestFilterSensitiveLog=CompleteLayerUploadRequestFilterSensitiveLog;const CompleteLayerUploadResponseFilterSensitiveLog=e=>({...e});t.CompleteLayerUploadResponseFilterSensitiveLog=CompleteLayerUploadResponseFilterSensitiveLog;const CreatePullThroughCacheRuleRequestFilterSensitiveLog=e=>({...e});t.CreatePullThroughCacheRuleRequestFilterSensitiveLog=CreatePullThroughCacheRuleRequestFilterSensitiveLog;const CreatePullThroughCacheRuleResponseFilterSensitiveLog=e=>({...e});t.CreatePullThroughCacheRuleResponseFilterSensitiveLog=CreatePullThroughCacheRuleResponseFilterSensitiveLog;const EncryptionConfigurationFilterSensitiveLog=e=>({...e});t.EncryptionConfigurationFilterSensitiveLog=EncryptionConfigurationFilterSensitiveLog;const ImageScanningConfigurationFilterSensitiveLog=e=>({...e});t.ImageScanningConfigurationFilterSensitiveLog=ImageScanningConfigurationFilterSensitiveLog;const TagFilterSensitiveLog=e=>({...e});t.TagFilterSensitiveLog=TagFilterSensitiveLog;const CreateRepositoryRequestFilterSensitiveLog=e=>({...e});t.CreateRepositoryRequestFilterSensitiveLog=CreateRepositoryRequestFilterSensitiveLog;const RepositoryFilterSensitiveLog=e=>({...e});t.RepositoryFilterSensitiveLog=RepositoryFilterSensitiveLog;const CreateRepositoryResponseFilterSensitiveLog=e=>({...e});t.CreateRepositoryResponseFilterSensitiveLog=CreateRepositoryResponseFilterSensitiveLog;const DeleteLifecyclePolicyRequestFilterSensitiveLog=e=>({...e});t.DeleteLifecyclePolicyRequestFilterSensitiveLog=DeleteLifecyclePolicyRequestFilterSensitiveLog;const DeleteLifecyclePolicyResponseFilterSensitiveLog=e=>({...e});t.DeleteLifecyclePolicyResponseFilterSensitiveLog=DeleteLifecyclePolicyResponseFilterSensitiveLog;const DeletePullThroughCacheRuleRequestFilterSensitiveLog=e=>({...e});t.DeletePullThroughCacheRuleRequestFilterSensitiveLog=DeletePullThroughCacheRuleRequestFilterSensitiveLog;const DeletePullThroughCacheRuleResponseFilterSensitiveLog=e=>({...e});t.DeletePullThroughCacheRuleResponseFilterSensitiveLog=DeletePullThroughCacheRuleResponseFilterSensitiveLog;const DeleteRegistryPolicyRequestFilterSensitiveLog=e=>({...e});t.DeleteRegistryPolicyRequestFilterSensitiveLog=DeleteRegistryPolicyRequestFilterSensitiveLog;const DeleteRegistryPolicyResponseFilterSensitiveLog=e=>({...e});t.DeleteRegistryPolicyResponseFilterSensitiveLog=DeleteRegistryPolicyResponseFilterSensitiveLog;const DeleteRepositoryRequestFilterSensitiveLog=e=>({...e});t.DeleteRepositoryRequestFilterSensitiveLog=DeleteRepositoryRequestFilterSensitiveLog;const DeleteRepositoryResponseFilterSensitiveLog=e=>({...e});t.DeleteRepositoryResponseFilterSensitiveLog=DeleteRepositoryResponseFilterSensitiveLog;const DeleteRepositoryPolicyRequestFilterSensitiveLog=e=>({...e});t.DeleteRepositoryPolicyRequestFilterSensitiveLog=DeleteRepositoryPolicyRequestFilterSensitiveLog;const DeleteRepositoryPolicyResponseFilterSensitiveLog=e=>({...e});t.DeleteRepositoryPolicyResponseFilterSensitiveLog=DeleteRepositoryPolicyResponseFilterSensitiveLog;const DescribeImageReplicationStatusRequestFilterSensitiveLog=e=>({...e});t.DescribeImageReplicationStatusRequestFilterSensitiveLog=DescribeImageReplicationStatusRequestFilterSensitiveLog;const ImageReplicationStatusFilterSensitiveLog=e=>({...e});t.ImageReplicationStatusFilterSensitiveLog=ImageReplicationStatusFilterSensitiveLog;const DescribeImageReplicationStatusResponseFilterSensitiveLog=e=>({...e});t.DescribeImageReplicationStatusResponseFilterSensitiveLog=DescribeImageReplicationStatusResponseFilterSensitiveLog;const DescribeImagesFilterFilterSensitiveLog=e=>({...e});t.DescribeImagesFilterFilterSensitiveLog=DescribeImagesFilterFilterSensitiveLog;const DescribeImagesRequestFilterSensitiveLog=e=>({...e});t.DescribeImagesRequestFilterSensitiveLog=DescribeImagesRequestFilterSensitiveLog;const ImageScanFindingsSummaryFilterSensitiveLog=e=>({...e});t.ImageScanFindingsSummaryFilterSensitiveLog=ImageScanFindingsSummaryFilterSensitiveLog;const ImageScanStatusFilterSensitiveLog=e=>({...e});t.ImageScanStatusFilterSensitiveLog=ImageScanStatusFilterSensitiveLog;const ImageDetailFilterSensitiveLog=e=>({...e});t.ImageDetailFilterSensitiveLog=ImageDetailFilterSensitiveLog;const DescribeImagesResponseFilterSensitiveLog=e=>({...e});t.DescribeImagesResponseFilterSensitiveLog=DescribeImagesResponseFilterSensitiveLog;const DescribeImageScanFindingsRequestFilterSensitiveLog=e=>({...e});t.DescribeImageScanFindingsRequestFilterSensitiveLog=DescribeImageScanFindingsRequestFilterSensitiveLog;const CvssScoreFilterSensitiveLog=e=>({...e});t.CvssScoreFilterSensitiveLog=CvssScoreFilterSensitiveLog;const VulnerablePackageFilterSensitiveLog=e=>({...e});t.VulnerablePackageFilterSensitiveLog=VulnerablePackageFilterSensitiveLog;const PackageVulnerabilityDetailsFilterSensitiveLog=e=>({...e});t.PackageVulnerabilityDetailsFilterSensitiveLog=PackageVulnerabilityDetailsFilterSensitiveLog;const RecommendationFilterSensitiveLog=e=>({...e});t.RecommendationFilterSensitiveLog=RecommendationFilterSensitiveLog;const RemediationFilterSensitiveLog=e=>({...e});t.RemediationFilterSensitiveLog=RemediationFilterSensitiveLog;const AwsEcrContainerImageDetailsFilterSensitiveLog=e=>({...e});t.AwsEcrContainerImageDetailsFilterSensitiveLog=AwsEcrContainerImageDetailsFilterSensitiveLog;const ResourceDetailsFilterSensitiveLog=e=>({...e});t.ResourceDetailsFilterSensitiveLog=ResourceDetailsFilterSensitiveLog;const ResourceFilterSensitiveLog=e=>({...e});t.ResourceFilterSensitiveLog=ResourceFilterSensitiveLog;const CvssScoreAdjustmentFilterSensitiveLog=e=>({...e});t.CvssScoreAdjustmentFilterSensitiveLog=CvssScoreAdjustmentFilterSensitiveLog;const CvssScoreDetailsFilterSensitiveLog=e=>({...e});t.CvssScoreDetailsFilterSensitiveLog=CvssScoreDetailsFilterSensitiveLog;const ScoreDetailsFilterSensitiveLog=e=>({...e});t.ScoreDetailsFilterSensitiveLog=ScoreDetailsFilterSensitiveLog;const EnhancedImageScanFindingFilterSensitiveLog=e=>({...e});t.EnhancedImageScanFindingFilterSensitiveLog=EnhancedImageScanFindingFilterSensitiveLog;const AttributeFilterSensitiveLog=e=>({...e});t.AttributeFilterSensitiveLog=AttributeFilterSensitiveLog;const ImageScanFindingFilterSensitiveLog=e=>({...e});t.ImageScanFindingFilterSensitiveLog=ImageScanFindingFilterSensitiveLog;const ImageScanFindingsFilterSensitiveLog=e=>({...e});t.ImageScanFindingsFilterSensitiveLog=ImageScanFindingsFilterSensitiveLog;const DescribeImageScanFindingsResponseFilterSensitiveLog=e=>({...e});t.DescribeImageScanFindingsResponseFilterSensitiveLog=DescribeImageScanFindingsResponseFilterSensitiveLog;const DescribePullThroughCacheRulesRequestFilterSensitiveLog=e=>({...e});t.DescribePullThroughCacheRulesRequestFilterSensitiveLog=DescribePullThroughCacheRulesRequestFilterSensitiveLog;const PullThroughCacheRuleFilterSensitiveLog=e=>({...e});t.PullThroughCacheRuleFilterSensitiveLog=PullThroughCacheRuleFilterSensitiveLog;const DescribePullThroughCacheRulesResponseFilterSensitiveLog=e=>({...e});t.DescribePullThroughCacheRulesResponseFilterSensitiveLog=DescribePullThroughCacheRulesResponseFilterSensitiveLog;const DescribeRegistryRequestFilterSensitiveLog=e=>({...e});t.DescribeRegistryRequestFilterSensitiveLog=DescribeRegistryRequestFilterSensitiveLog;const ReplicationDestinationFilterSensitiveLog=e=>({...e});t.ReplicationDestinationFilterSensitiveLog=ReplicationDestinationFilterSensitiveLog;const RepositoryFilterFilterSensitiveLog=e=>({...e});t.RepositoryFilterFilterSensitiveLog=RepositoryFilterFilterSensitiveLog;const ReplicationRuleFilterSensitiveLog=e=>({...e});t.ReplicationRuleFilterSensitiveLog=ReplicationRuleFilterSensitiveLog;const ReplicationConfigurationFilterSensitiveLog=e=>({...e});t.ReplicationConfigurationFilterSensitiveLog=ReplicationConfigurationFilterSensitiveLog;const DescribeRegistryResponseFilterSensitiveLog=e=>({...e});t.DescribeRegistryResponseFilterSensitiveLog=DescribeRegistryResponseFilterSensitiveLog;const DescribeRepositoriesRequestFilterSensitiveLog=e=>({...e});t.DescribeRepositoriesRequestFilterSensitiveLog=DescribeRepositoriesRequestFilterSensitiveLog;const DescribeRepositoriesResponseFilterSensitiveLog=e=>({...e});t.DescribeRepositoriesResponseFilterSensitiveLog=DescribeRepositoriesResponseFilterSensitiveLog;const GetAuthorizationTokenRequestFilterSensitiveLog=e=>({...e});t.GetAuthorizationTokenRequestFilterSensitiveLog=GetAuthorizationTokenRequestFilterSensitiveLog;const AuthorizationDataFilterSensitiveLog=e=>({...e});t.AuthorizationDataFilterSensitiveLog=AuthorizationDataFilterSensitiveLog;const GetAuthorizationTokenResponseFilterSensitiveLog=e=>({...e});t.GetAuthorizationTokenResponseFilterSensitiveLog=GetAuthorizationTokenResponseFilterSensitiveLog;const GetDownloadUrlForLayerRequestFilterSensitiveLog=e=>({...e});t.GetDownloadUrlForLayerRequestFilterSensitiveLog=GetDownloadUrlForLayerRequestFilterSensitiveLog;const GetDownloadUrlForLayerResponseFilterSensitiveLog=e=>({...e});t.GetDownloadUrlForLayerResponseFilterSensitiveLog=GetDownloadUrlForLayerResponseFilterSensitiveLog;const GetLifecyclePolicyRequestFilterSensitiveLog=e=>({...e});t.GetLifecyclePolicyRequestFilterSensitiveLog=GetLifecyclePolicyRequestFilterSensitiveLog;const GetLifecyclePolicyResponseFilterSensitiveLog=e=>({...e});t.GetLifecyclePolicyResponseFilterSensitiveLog=GetLifecyclePolicyResponseFilterSensitiveLog;const LifecyclePolicyPreviewFilterFilterSensitiveLog=e=>({...e});t.LifecyclePolicyPreviewFilterFilterSensitiveLog=LifecyclePolicyPreviewFilterFilterSensitiveLog;const GetLifecyclePolicyPreviewRequestFilterSensitiveLog=e=>({...e});t.GetLifecyclePolicyPreviewRequestFilterSensitiveLog=GetLifecyclePolicyPreviewRequestFilterSensitiveLog;const LifecyclePolicyRuleActionFilterSensitiveLog=e=>({...e});t.LifecyclePolicyRuleActionFilterSensitiveLog=LifecyclePolicyRuleActionFilterSensitiveLog;const LifecyclePolicyPreviewResultFilterSensitiveLog=e=>({...e});t.LifecyclePolicyPreviewResultFilterSensitiveLog=LifecyclePolicyPreviewResultFilterSensitiveLog;const LifecyclePolicyPreviewSummaryFilterSensitiveLog=e=>({...e});t.LifecyclePolicyPreviewSummaryFilterSensitiveLog=LifecyclePolicyPreviewSummaryFilterSensitiveLog;const GetLifecyclePolicyPreviewResponseFilterSensitiveLog=e=>({...e});t.GetLifecyclePolicyPreviewResponseFilterSensitiveLog=GetLifecyclePolicyPreviewResponseFilterSensitiveLog;const GetRegistryPolicyRequestFilterSensitiveLog=e=>({...e});t.GetRegistryPolicyRequestFilterSensitiveLog=GetRegistryPolicyRequestFilterSensitiveLog;const GetRegistryPolicyResponseFilterSensitiveLog=e=>({...e});t.GetRegistryPolicyResponseFilterSensitiveLog=GetRegistryPolicyResponseFilterSensitiveLog;const GetRegistryScanningConfigurationRequestFilterSensitiveLog=e=>({...e});t.GetRegistryScanningConfigurationRequestFilterSensitiveLog=GetRegistryScanningConfigurationRequestFilterSensitiveLog;const RegistryScanningRuleFilterSensitiveLog=e=>({...e});t.RegistryScanningRuleFilterSensitiveLog=RegistryScanningRuleFilterSensitiveLog;const RegistryScanningConfigurationFilterSensitiveLog=e=>({...e});t.RegistryScanningConfigurationFilterSensitiveLog=RegistryScanningConfigurationFilterSensitiveLog;const GetRegistryScanningConfigurationResponseFilterSensitiveLog=e=>({...e});t.GetRegistryScanningConfigurationResponseFilterSensitiveLog=GetRegistryScanningConfigurationResponseFilterSensitiveLog;const GetRepositoryPolicyRequestFilterSensitiveLog=e=>({...e});t.GetRepositoryPolicyRequestFilterSensitiveLog=GetRepositoryPolicyRequestFilterSensitiveLog;const GetRepositoryPolicyResponseFilterSensitiveLog=e=>({...e});t.GetRepositoryPolicyResponseFilterSensitiveLog=GetRepositoryPolicyResponseFilterSensitiveLog;const InitiateLayerUploadRequestFilterSensitiveLog=e=>({...e});t.InitiateLayerUploadRequestFilterSensitiveLog=InitiateLayerUploadRequestFilterSensitiveLog;const InitiateLayerUploadResponseFilterSensitiveLog=e=>({...e});t.InitiateLayerUploadResponseFilterSensitiveLog=InitiateLayerUploadResponseFilterSensitiveLog;const ListImagesFilterFilterSensitiveLog=e=>({...e});t.ListImagesFilterFilterSensitiveLog=ListImagesFilterFilterSensitiveLog;const ListImagesRequestFilterSensitiveLog=e=>({...e});t.ListImagesRequestFilterSensitiveLog=ListImagesRequestFilterSensitiveLog;const ListImagesResponseFilterSensitiveLog=e=>({...e});t.ListImagesResponseFilterSensitiveLog=ListImagesResponseFilterSensitiveLog;const ListTagsForResourceRequestFilterSensitiveLog=e=>({...e});t.ListTagsForResourceRequestFilterSensitiveLog=ListTagsForResourceRequestFilterSensitiveLog;const ListTagsForResourceResponseFilterSensitiveLog=e=>({...e});t.ListTagsForResourceResponseFilterSensitiveLog=ListTagsForResourceResponseFilterSensitiveLog;const PutImageRequestFilterSensitiveLog=e=>({...e});t.PutImageRequestFilterSensitiveLog=PutImageRequestFilterSensitiveLog;const PutImageResponseFilterSensitiveLog=e=>({...e});t.PutImageResponseFilterSensitiveLog=PutImageResponseFilterSensitiveLog;const PutImageScanningConfigurationRequestFilterSensitiveLog=e=>({...e});t.PutImageScanningConfigurationRequestFilterSensitiveLog=PutImageScanningConfigurationRequestFilterSensitiveLog;const PutImageScanningConfigurationResponseFilterSensitiveLog=e=>({...e});t.PutImageScanningConfigurationResponseFilterSensitiveLog=PutImageScanningConfigurationResponseFilterSensitiveLog;const PutImageTagMutabilityRequestFilterSensitiveLog=e=>({...e});t.PutImageTagMutabilityRequestFilterSensitiveLog=PutImageTagMutabilityRequestFilterSensitiveLog;const PutImageTagMutabilityResponseFilterSensitiveLog=e=>({...e});t.PutImageTagMutabilityResponseFilterSensitiveLog=PutImageTagMutabilityResponseFilterSensitiveLog;const PutLifecyclePolicyRequestFilterSensitiveLog=e=>({...e});t.PutLifecyclePolicyRequestFilterSensitiveLog=PutLifecyclePolicyRequestFilterSensitiveLog;const PutLifecyclePolicyResponseFilterSensitiveLog=e=>({...e});t.PutLifecyclePolicyResponseFilterSensitiveLog=PutLifecyclePolicyResponseFilterSensitiveLog;const PutRegistryPolicyRequestFilterSensitiveLog=e=>({...e});t.PutRegistryPolicyRequestFilterSensitiveLog=PutRegistryPolicyRequestFilterSensitiveLog;const PutRegistryPolicyResponseFilterSensitiveLog=e=>({...e});t.PutRegistryPolicyResponseFilterSensitiveLog=PutRegistryPolicyResponseFilterSensitiveLog;const PutRegistryScanningConfigurationRequestFilterSensitiveLog=e=>({...e});t.PutRegistryScanningConfigurationRequestFilterSensitiveLog=PutRegistryScanningConfigurationRequestFilterSensitiveLog;const PutRegistryScanningConfigurationResponseFilterSensitiveLog=e=>({...e});t.PutRegistryScanningConfigurationResponseFilterSensitiveLog=PutRegistryScanningConfigurationResponseFilterSensitiveLog;const PutReplicationConfigurationRequestFilterSensitiveLog=e=>({...e});t.PutReplicationConfigurationRequestFilterSensitiveLog=PutReplicationConfigurationRequestFilterSensitiveLog;const PutReplicationConfigurationResponseFilterSensitiveLog=e=>({...e});t.PutReplicationConfigurationResponseFilterSensitiveLog=PutReplicationConfigurationResponseFilterSensitiveLog;const SetRepositoryPolicyRequestFilterSensitiveLog=e=>({...e});t.SetRepositoryPolicyRequestFilterSensitiveLog=SetRepositoryPolicyRequestFilterSensitiveLog;const SetRepositoryPolicyResponseFilterSensitiveLog=e=>({...e});t.SetRepositoryPolicyResponseFilterSensitiveLog=SetRepositoryPolicyResponseFilterSensitiveLog;const StartImageScanRequestFilterSensitiveLog=e=>({...e});t.StartImageScanRequestFilterSensitiveLog=StartImageScanRequestFilterSensitiveLog;const StartImageScanResponseFilterSensitiveLog=e=>({...e});t.StartImageScanResponseFilterSensitiveLog=StartImageScanResponseFilterSensitiveLog;const StartLifecyclePolicyPreviewRequestFilterSensitiveLog=e=>({...e});t.StartLifecyclePolicyPreviewRequestFilterSensitiveLog=StartLifecyclePolicyPreviewRequestFilterSensitiveLog;const StartLifecyclePolicyPreviewResponseFilterSensitiveLog=e=>({...e});t.StartLifecyclePolicyPreviewResponseFilterSensitiveLog=StartLifecyclePolicyPreviewResponseFilterSensitiveLog;const TagResourceRequestFilterSensitiveLog=e=>({...e});t.TagResourceRequestFilterSensitiveLog=TagResourceRequestFilterSensitiveLog;const TagResourceResponseFilterSensitiveLog=e=>({...e});t.TagResourceResponseFilterSensitiveLog=TagResourceResponseFilterSensitiveLog;const UntagResourceRequestFilterSensitiveLog=e=>({...e});t.UntagResourceRequestFilterSensitiveLog=UntagResourceRequestFilterSensitiveLog;const UntagResourceResponseFilterSensitiveLog=e=>({...e});t.UntagResourceResponseFilterSensitiveLog=UntagResourceResponseFilterSensitiveLog;const UploadLayerPartRequestFilterSensitiveLog=e=>({...e});t.UploadLayerPartRequestFilterSensitiveLog=UploadLayerPartRequestFilterSensitiveLog;const UploadLayerPartResponseFilterSensitiveLog=e=>({...e});t.UploadLayerPartResponseFilterSensitiveLog=UploadLayerPartResponseFilterSensitiveLog},862:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.paginateDescribeImageScanFindings=void 0;const n=o(2987);const r=o(9167);const s=o(3391);const makePagedClientRequest=async(e,t,...o)=>await e.send(new n.DescribeImageScanFindingsCommand(t),...o);const makePagedRequest=async(e,t,...o)=>await e.describeImageScanFindings(t,...o);async function*paginateDescribeImageScanFindings(e,t,...o){let n=e.startingToken||undefined;let i=true;let a;while(i){t.nextToken=n;t["maxResults"]=e.pageSize;if(e.client instanceof r.ECR){a=await makePagedRequest(e.client,t,...o)}else if(e.client instanceof s.ECRClient){a=await makePagedClientRequest(e.client,t,...o)}else{throw new Error("Invalid client, expected ECR | ECRClient")}yield a;const c=n;n=a.nextToken;i=!!(n&&(!e.stopOnSameToken||n!==c))}return undefined}t.paginateDescribeImageScanFindings=paginateDescribeImageScanFindings},1351:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.paginateDescribeImages=void 0;const n=o(5353);const r=o(9167);const s=o(3391);const makePagedClientRequest=async(e,t,...o)=>await e.send(new n.DescribeImagesCommand(t),...o);const makePagedRequest=async(e,t,...o)=>await e.describeImages(t,...o);async function*paginateDescribeImages(e,t,...o){let n=e.startingToken||undefined;let i=true;let a;while(i){t.nextToken=n;t["maxResults"]=e.pageSize;if(e.client instanceof r.ECR){a=await makePagedRequest(e.client,t,...o)}else if(e.client instanceof s.ECRClient){a=await makePagedClientRequest(e.client,t,...o)}else{throw new Error("Invalid client, expected ECR | ECRClient")}yield a;const c=n;n=a.nextToken;i=!!(n&&(!e.stopOnSameToken||n!==c))}return undefined}t.paginateDescribeImages=paginateDescribeImages},9589:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.paginateDescribePullThroughCacheRules=void 0;const n=o(1484);const r=o(9167);const s=o(3391);const makePagedClientRequest=async(e,t,...o)=>await e.send(new n.DescribePullThroughCacheRulesCommand(t),...o);const makePagedRequest=async(e,t,...o)=>await e.describePullThroughCacheRules(t,...o);async function*paginateDescribePullThroughCacheRules(e,t,...o){let n=e.startingToken||undefined;let i=true;let a;while(i){t.nextToken=n;t["maxResults"]=e.pageSize;if(e.client instanceof r.ECR){a=await makePagedRequest(e.client,t,...o)}else if(e.client instanceof s.ECRClient){a=await makePagedClientRequest(e.client,t,...o)}else{throw new Error("Invalid client, expected ECR | ECRClient")}yield a;const c=n;n=a.nextToken;i=!!(n&&(!e.stopOnSameToken||n!==c))}return undefined}t.paginateDescribePullThroughCacheRules=paginateDescribePullThroughCacheRules},6404:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.paginateDescribeRepositories=void 0;const n=o(1200);const r=o(9167);const s=o(3391);const makePagedClientRequest=async(e,t,...o)=>await e.send(new n.DescribeRepositoriesCommand(t),...o);const makePagedRequest=async(e,t,...o)=>await e.describeRepositories(t,...o);async function*paginateDescribeRepositories(e,t,...o){let n=e.startingToken||undefined;let i=true;let a;while(i){t.nextToken=n;t["maxResults"]=e.pageSize;if(e.client instanceof r.ECR){a=await makePagedRequest(e.client,t,...o)}else if(e.client instanceof s.ECRClient){a=await makePagedClientRequest(e.client,t,...o)}else{throw new Error("Invalid client, expected ECR | ECRClient")}yield a;const c=n;n=a.nextToken;i=!!(n&&(!e.stopOnSameToken||n!==c))}return undefined}t.paginateDescribeRepositories=paginateDescribeRepositories},987:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.paginateGetLifecyclePolicyPreview=void 0;const n=o(7006);const r=o(9167);const s=o(3391);const makePagedClientRequest=async(e,t,...o)=>await e.send(new n.GetLifecyclePolicyPreviewCommand(t),...o);const makePagedRequest=async(e,t,...o)=>await e.getLifecyclePolicyPreview(t,...o);async function*paginateGetLifecyclePolicyPreview(e,t,...o){let n=e.startingToken||undefined;let i=true;let a;while(i){t.nextToken=n;t["maxResults"]=e.pageSize;if(e.client instanceof r.ECR){a=await makePagedRequest(e.client,t,...o)}else if(e.client instanceof s.ECRClient){a=await makePagedClientRequest(e.client,t,...o)}else{throw new Error("Invalid client, expected ECR | ECRClient")}yield a;const c=n;n=a.nextToken;i=!!(n&&(!e.stopOnSameToken||n!==c))}return undefined}t.paginateGetLifecyclePolicyPreview=paginateGetLifecyclePolicyPreview},9010:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},1066:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.paginateListImages=void 0;const n=o(3854);const r=o(9167);const s=o(3391);const makePagedClientRequest=async(e,t,...o)=>await e.send(new n.ListImagesCommand(t),...o);const makePagedRequest=async(e,t,...o)=>await e.listImages(t,...o);async function*paginateListImages(e,t,...o){let n=e.startingToken||undefined;let i=true;let a;while(i){t.nextToken=n;t["maxResults"]=e.pageSize;if(e.client instanceof r.ECR){a=await makePagedRequest(e.client,t,...o)}else if(e.client instanceof s.ECRClient){a=await makePagedClientRequest(e.client,t,...o)}else{throw new Error("Invalid client, expected ECR | ECRClient")}yield a;const c=n;n=a.nextToken;i=!!(n&&(!e.stopOnSameToken||n!==c))}return undefined}t.paginateListImages=paginateListImages},5356:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(862),t);n.__exportStar(o(1351),t);n.__exportStar(o(9589),t);n.__exportStar(o(6404),t);n.__exportStar(o(987),t);n.__exportStar(o(9010),t);n.__exportStar(o(1066),t)},6704:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.deserializeAws_json1_1DeletePullThroughCacheRuleCommand=t.deserializeAws_json1_1DeleteLifecyclePolicyCommand=t.deserializeAws_json1_1CreateRepositoryCommand=t.deserializeAws_json1_1CreatePullThroughCacheRuleCommand=t.deserializeAws_json1_1CompleteLayerUploadCommand=t.deserializeAws_json1_1BatchGetRepositoryScanningConfigurationCommand=t.deserializeAws_json1_1BatchGetImageCommand=t.deserializeAws_json1_1BatchDeleteImageCommand=t.deserializeAws_json1_1BatchCheckLayerAvailabilityCommand=t.serializeAws_json1_1UploadLayerPartCommand=t.serializeAws_json1_1UntagResourceCommand=t.serializeAws_json1_1TagResourceCommand=t.serializeAws_json1_1StartLifecyclePolicyPreviewCommand=t.serializeAws_json1_1StartImageScanCommand=t.serializeAws_json1_1SetRepositoryPolicyCommand=t.serializeAws_json1_1PutReplicationConfigurationCommand=t.serializeAws_json1_1PutRegistryScanningConfigurationCommand=t.serializeAws_json1_1PutRegistryPolicyCommand=t.serializeAws_json1_1PutLifecyclePolicyCommand=t.serializeAws_json1_1PutImageTagMutabilityCommand=t.serializeAws_json1_1PutImageScanningConfigurationCommand=t.serializeAws_json1_1PutImageCommand=t.serializeAws_json1_1ListTagsForResourceCommand=t.serializeAws_json1_1ListImagesCommand=t.serializeAws_json1_1InitiateLayerUploadCommand=t.serializeAws_json1_1GetRepositoryPolicyCommand=t.serializeAws_json1_1GetRegistryScanningConfigurationCommand=t.serializeAws_json1_1GetRegistryPolicyCommand=t.serializeAws_json1_1GetLifecyclePolicyPreviewCommand=t.serializeAws_json1_1GetLifecyclePolicyCommand=t.serializeAws_json1_1GetDownloadUrlForLayerCommand=t.serializeAws_json1_1GetAuthorizationTokenCommand=t.serializeAws_json1_1DescribeRepositoriesCommand=t.serializeAws_json1_1DescribeRegistryCommand=t.serializeAws_json1_1DescribePullThroughCacheRulesCommand=t.serializeAws_json1_1DescribeImageScanFindingsCommand=t.serializeAws_json1_1DescribeImagesCommand=t.serializeAws_json1_1DescribeImageReplicationStatusCommand=t.serializeAws_json1_1DeleteRepositoryPolicyCommand=t.serializeAws_json1_1DeleteRepositoryCommand=t.serializeAws_json1_1DeleteRegistryPolicyCommand=t.serializeAws_json1_1DeletePullThroughCacheRuleCommand=t.serializeAws_json1_1DeleteLifecyclePolicyCommand=t.serializeAws_json1_1CreateRepositoryCommand=t.serializeAws_json1_1CreatePullThroughCacheRuleCommand=t.serializeAws_json1_1CompleteLayerUploadCommand=t.serializeAws_json1_1BatchGetRepositoryScanningConfigurationCommand=t.serializeAws_json1_1BatchGetImageCommand=t.serializeAws_json1_1BatchDeleteImageCommand=t.serializeAws_json1_1BatchCheckLayerAvailabilityCommand=void 0;t.deserializeAws_json1_1UploadLayerPartCommand=t.deserializeAws_json1_1UntagResourceCommand=t.deserializeAws_json1_1TagResourceCommand=t.deserializeAws_json1_1StartLifecyclePolicyPreviewCommand=t.deserializeAws_json1_1StartImageScanCommand=t.deserializeAws_json1_1SetRepositoryPolicyCommand=t.deserializeAws_json1_1PutReplicationConfigurationCommand=t.deserializeAws_json1_1PutRegistryScanningConfigurationCommand=t.deserializeAws_json1_1PutRegistryPolicyCommand=t.deserializeAws_json1_1PutLifecyclePolicyCommand=t.deserializeAws_json1_1PutImageTagMutabilityCommand=t.deserializeAws_json1_1PutImageScanningConfigurationCommand=t.deserializeAws_json1_1PutImageCommand=t.deserializeAws_json1_1ListTagsForResourceCommand=t.deserializeAws_json1_1ListImagesCommand=t.deserializeAws_json1_1InitiateLayerUploadCommand=t.deserializeAws_json1_1GetRepositoryPolicyCommand=t.deserializeAws_json1_1GetRegistryScanningConfigurationCommand=t.deserializeAws_json1_1GetRegistryPolicyCommand=t.deserializeAws_json1_1GetLifecyclePolicyPreviewCommand=t.deserializeAws_json1_1GetLifecyclePolicyCommand=t.deserializeAws_json1_1GetDownloadUrlForLayerCommand=t.deserializeAws_json1_1GetAuthorizationTokenCommand=t.deserializeAws_json1_1DescribeRepositoriesCommand=t.deserializeAws_json1_1DescribeRegistryCommand=t.deserializeAws_json1_1DescribePullThroughCacheRulesCommand=t.deserializeAws_json1_1DescribeImageScanFindingsCommand=t.deserializeAws_json1_1DescribeImagesCommand=t.deserializeAws_json1_1DescribeImageReplicationStatusCommand=t.deserializeAws_json1_1DeleteRepositoryPolicyCommand=t.deserializeAws_json1_1DeleteRepositoryCommand=t.deserializeAws_json1_1DeleteRegistryPolicyCommand=void 0;const n=o(223);const r=o(4963);const s=o(1610);const i=o(9088);const serializeAws_json1_1BatchCheckLayerAvailabilityCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.BatchCheckLayerAvailability"};let n;n=JSON.stringify(serializeAws_json1_1BatchCheckLayerAvailabilityRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1BatchCheckLayerAvailabilityCommand=serializeAws_json1_1BatchCheckLayerAvailabilityCommand;const serializeAws_json1_1BatchDeleteImageCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.BatchDeleteImage"};let n;n=JSON.stringify(serializeAws_json1_1BatchDeleteImageRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1BatchDeleteImageCommand=serializeAws_json1_1BatchDeleteImageCommand;const serializeAws_json1_1BatchGetImageCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.BatchGetImage"};let n;n=JSON.stringify(serializeAws_json1_1BatchGetImageRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1BatchGetImageCommand=serializeAws_json1_1BatchGetImageCommand;const serializeAws_json1_1BatchGetRepositoryScanningConfigurationCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.BatchGetRepositoryScanningConfiguration"};let n;n=JSON.stringify(serializeAws_json1_1BatchGetRepositoryScanningConfigurationRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1BatchGetRepositoryScanningConfigurationCommand=serializeAws_json1_1BatchGetRepositoryScanningConfigurationCommand;const serializeAws_json1_1CompleteLayerUploadCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.CompleteLayerUpload"};let n;n=JSON.stringify(serializeAws_json1_1CompleteLayerUploadRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1CompleteLayerUploadCommand=serializeAws_json1_1CompleteLayerUploadCommand;const serializeAws_json1_1CreatePullThroughCacheRuleCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.CreatePullThroughCacheRule"};let n;n=JSON.stringify(serializeAws_json1_1CreatePullThroughCacheRuleRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1CreatePullThroughCacheRuleCommand=serializeAws_json1_1CreatePullThroughCacheRuleCommand;const serializeAws_json1_1CreateRepositoryCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.CreateRepository"};let n;n=JSON.stringify(serializeAws_json1_1CreateRepositoryRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1CreateRepositoryCommand=serializeAws_json1_1CreateRepositoryCommand;const serializeAws_json1_1DeleteLifecyclePolicyCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.DeleteLifecyclePolicy"};let n;n=JSON.stringify(serializeAws_json1_1DeleteLifecyclePolicyRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1DeleteLifecyclePolicyCommand=serializeAws_json1_1DeleteLifecyclePolicyCommand;const serializeAws_json1_1DeletePullThroughCacheRuleCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.DeletePullThroughCacheRule"};let n;n=JSON.stringify(serializeAws_json1_1DeletePullThroughCacheRuleRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1DeletePullThroughCacheRuleCommand=serializeAws_json1_1DeletePullThroughCacheRuleCommand;const serializeAws_json1_1DeleteRegistryPolicyCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.DeleteRegistryPolicy"};let n;n=JSON.stringify(serializeAws_json1_1DeleteRegistryPolicyRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1DeleteRegistryPolicyCommand=serializeAws_json1_1DeleteRegistryPolicyCommand;const serializeAws_json1_1DeleteRepositoryCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.DeleteRepository"};let n;n=JSON.stringify(serializeAws_json1_1DeleteRepositoryRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1DeleteRepositoryCommand=serializeAws_json1_1DeleteRepositoryCommand;const serializeAws_json1_1DeleteRepositoryPolicyCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.DeleteRepositoryPolicy"};let n;n=JSON.stringify(serializeAws_json1_1DeleteRepositoryPolicyRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1DeleteRepositoryPolicyCommand=serializeAws_json1_1DeleteRepositoryPolicyCommand;const serializeAws_json1_1DescribeImageReplicationStatusCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.DescribeImageReplicationStatus"};let n;n=JSON.stringify(serializeAws_json1_1DescribeImageReplicationStatusRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1DescribeImageReplicationStatusCommand=serializeAws_json1_1DescribeImageReplicationStatusCommand;const serializeAws_json1_1DescribeImagesCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.DescribeImages"};let n;n=JSON.stringify(serializeAws_json1_1DescribeImagesRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1DescribeImagesCommand=serializeAws_json1_1DescribeImagesCommand;const serializeAws_json1_1DescribeImageScanFindingsCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.DescribeImageScanFindings"};let n;n=JSON.stringify(serializeAws_json1_1DescribeImageScanFindingsRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1DescribeImageScanFindingsCommand=serializeAws_json1_1DescribeImageScanFindingsCommand;const serializeAws_json1_1DescribePullThroughCacheRulesCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.DescribePullThroughCacheRules"};let n;n=JSON.stringify(serializeAws_json1_1DescribePullThroughCacheRulesRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1DescribePullThroughCacheRulesCommand=serializeAws_json1_1DescribePullThroughCacheRulesCommand;const serializeAws_json1_1DescribeRegistryCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.DescribeRegistry"};let n;n=JSON.stringify(serializeAws_json1_1DescribeRegistryRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1DescribeRegistryCommand=serializeAws_json1_1DescribeRegistryCommand;const serializeAws_json1_1DescribeRepositoriesCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.DescribeRepositories"};let n;n=JSON.stringify(serializeAws_json1_1DescribeRepositoriesRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1DescribeRepositoriesCommand=serializeAws_json1_1DescribeRepositoriesCommand;const serializeAws_json1_1GetAuthorizationTokenCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.GetAuthorizationToken"};let n;n=JSON.stringify(serializeAws_json1_1GetAuthorizationTokenRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1GetAuthorizationTokenCommand=serializeAws_json1_1GetAuthorizationTokenCommand;const serializeAws_json1_1GetDownloadUrlForLayerCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.GetDownloadUrlForLayer"};let n;n=JSON.stringify(serializeAws_json1_1GetDownloadUrlForLayerRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1GetDownloadUrlForLayerCommand=serializeAws_json1_1GetDownloadUrlForLayerCommand;const serializeAws_json1_1GetLifecyclePolicyCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.GetLifecyclePolicy"};let n;n=JSON.stringify(serializeAws_json1_1GetLifecyclePolicyRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1GetLifecyclePolicyCommand=serializeAws_json1_1GetLifecyclePolicyCommand;const serializeAws_json1_1GetLifecyclePolicyPreviewCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.GetLifecyclePolicyPreview"};let n;n=JSON.stringify(serializeAws_json1_1GetLifecyclePolicyPreviewRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1GetLifecyclePolicyPreviewCommand=serializeAws_json1_1GetLifecyclePolicyPreviewCommand;const serializeAws_json1_1GetRegistryPolicyCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.GetRegistryPolicy"};let n;n=JSON.stringify(serializeAws_json1_1GetRegistryPolicyRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1GetRegistryPolicyCommand=serializeAws_json1_1GetRegistryPolicyCommand;const serializeAws_json1_1GetRegistryScanningConfigurationCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.GetRegistryScanningConfiguration"};let n;n=JSON.stringify(serializeAws_json1_1GetRegistryScanningConfigurationRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1GetRegistryScanningConfigurationCommand=serializeAws_json1_1GetRegistryScanningConfigurationCommand;const serializeAws_json1_1GetRepositoryPolicyCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.GetRepositoryPolicy"};let n;n=JSON.stringify(serializeAws_json1_1GetRepositoryPolicyRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1GetRepositoryPolicyCommand=serializeAws_json1_1GetRepositoryPolicyCommand;const serializeAws_json1_1InitiateLayerUploadCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.InitiateLayerUpload"};let n;n=JSON.stringify(serializeAws_json1_1InitiateLayerUploadRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1InitiateLayerUploadCommand=serializeAws_json1_1InitiateLayerUploadCommand;const serializeAws_json1_1ListImagesCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.ListImages"};let n;n=JSON.stringify(serializeAws_json1_1ListImagesRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1ListImagesCommand=serializeAws_json1_1ListImagesCommand;const serializeAws_json1_1ListTagsForResourceCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.ListTagsForResource"};let n;n=JSON.stringify(serializeAws_json1_1ListTagsForResourceRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1ListTagsForResourceCommand=serializeAws_json1_1ListTagsForResourceCommand;const serializeAws_json1_1PutImageCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.PutImage"};let n;n=JSON.stringify(serializeAws_json1_1PutImageRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1PutImageCommand=serializeAws_json1_1PutImageCommand;const serializeAws_json1_1PutImageScanningConfigurationCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.PutImageScanningConfiguration"};let n;n=JSON.stringify(serializeAws_json1_1PutImageScanningConfigurationRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1PutImageScanningConfigurationCommand=serializeAws_json1_1PutImageScanningConfigurationCommand;const serializeAws_json1_1PutImageTagMutabilityCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.PutImageTagMutability"};let n;n=JSON.stringify(serializeAws_json1_1PutImageTagMutabilityRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1PutImageTagMutabilityCommand=serializeAws_json1_1PutImageTagMutabilityCommand;const serializeAws_json1_1PutLifecyclePolicyCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.PutLifecyclePolicy"};let n;n=JSON.stringify(serializeAws_json1_1PutLifecyclePolicyRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1PutLifecyclePolicyCommand=serializeAws_json1_1PutLifecyclePolicyCommand;const serializeAws_json1_1PutRegistryPolicyCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.PutRegistryPolicy"};let n;n=JSON.stringify(serializeAws_json1_1PutRegistryPolicyRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1PutRegistryPolicyCommand=serializeAws_json1_1PutRegistryPolicyCommand;const serializeAws_json1_1PutRegistryScanningConfigurationCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.PutRegistryScanningConfiguration"};let n;n=JSON.stringify(serializeAws_json1_1PutRegistryScanningConfigurationRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1PutRegistryScanningConfigurationCommand=serializeAws_json1_1PutRegistryScanningConfigurationCommand;const serializeAws_json1_1PutReplicationConfigurationCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.PutReplicationConfiguration"};let n;n=JSON.stringify(serializeAws_json1_1PutReplicationConfigurationRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1PutReplicationConfigurationCommand=serializeAws_json1_1PutReplicationConfigurationCommand;const serializeAws_json1_1SetRepositoryPolicyCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.SetRepositoryPolicy"};let n;n=JSON.stringify(serializeAws_json1_1SetRepositoryPolicyRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1SetRepositoryPolicyCommand=serializeAws_json1_1SetRepositoryPolicyCommand;const serializeAws_json1_1StartImageScanCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.StartImageScan"};let n;n=JSON.stringify(serializeAws_json1_1StartImageScanRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1StartImageScanCommand=serializeAws_json1_1StartImageScanCommand;const serializeAws_json1_1StartLifecyclePolicyPreviewCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.StartLifecyclePolicyPreview"};let n;n=JSON.stringify(serializeAws_json1_1StartLifecyclePolicyPreviewRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1StartLifecyclePolicyPreviewCommand=serializeAws_json1_1StartLifecyclePolicyPreviewCommand;const serializeAws_json1_1TagResourceCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.TagResource"};let n;n=JSON.stringify(serializeAws_json1_1TagResourceRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1TagResourceCommand=serializeAws_json1_1TagResourceCommand;const serializeAws_json1_1UntagResourceCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.UntagResource"};let n;n=JSON.stringify(serializeAws_json1_1UntagResourceRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1UntagResourceCommand=serializeAws_json1_1UntagResourceCommand;const serializeAws_json1_1UploadLayerPartCommand=async(e,t)=>{const o={"content-type":"application/x-amz-json-1.1","x-amz-target":"AmazonEC2ContainerRegistry_V20150921.UploadLayerPart"};let n;n=JSON.stringify(serializeAws_json1_1UploadLayerPartRequest(e,t));return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_json1_1UploadLayerPartCommand=serializeAws_json1_1UploadLayerPartCommand;const deserializeAws_json1_1BatchCheckLayerAvailabilityCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1BatchCheckLayerAvailabilityCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1BatchCheckLayerAvailabilityResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1BatchCheckLayerAvailabilityCommand=deserializeAws_json1_1BatchCheckLayerAvailabilityCommand;const deserializeAws_json1_1BatchCheckLayerAvailabilityCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1BatchDeleteImageCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1BatchDeleteImageCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1BatchDeleteImageResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1BatchDeleteImageCommand=deserializeAws_json1_1BatchDeleteImageCommand;const deserializeAws_json1_1BatchDeleteImageCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1BatchGetImageCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1BatchGetImageCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1BatchGetImageResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1BatchGetImageCommand=deserializeAws_json1_1BatchGetImageCommand;const deserializeAws_json1_1BatchGetImageCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1BatchGetRepositoryScanningConfigurationCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1BatchGetRepositoryScanningConfigurationCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1BatchGetRepositoryScanningConfigurationResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1BatchGetRepositoryScanningConfigurationCommand=deserializeAws_json1_1BatchGetRepositoryScanningConfigurationCommand;const deserializeAws_json1_1BatchGetRepositoryScanningConfigurationCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"ValidationException":case"com.amazonaws.ecr#ValidationException":throw await deserializeAws_json1_1ValidationExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1CompleteLayerUploadCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1CompleteLayerUploadCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1CompleteLayerUploadResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1CompleteLayerUploadCommand=deserializeAws_json1_1CompleteLayerUploadCommand;const deserializeAws_json1_1CompleteLayerUploadCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"EmptyUploadException":case"com.amazonaws.ecr#EmptyUploadException":throw await deserializeAws_json1_1EmptyUploadExceptionResponse(o,t);case"InvalidLayerException":case"com.amazonaws.ecr#InvalidLayerException":throw await deserializeAws_json1_1InvalidLayerExceptionResponse(o,t);case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"KmsException":case"com.amazonaws.ecr#KmsException":throw await deserializeAws_json1_1KmsExceptionResponse(o,t);case"LayerAlreadyExistsException":case"com.amazonaws.ecr#LayerAlreadyExistsException":throw await deserializeAws_json1_1LayerAlreadyExistsExceptionResponse(o,t);case"LayerPartTooSmallException":case"com.amazonaws.ecr#LayerPartTooSmallException":throw await deserializeAws_json1_1LayerPartTooSmallExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"UploadNotFoundException":case"com.amazonaws.ecr#UploadNotFoundException":throw await deserializeAws_json1_1UploadNotFoundExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1CreatePullThroughCacheRuleCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1CreatePullThroughCacheRuleCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1CreatePullThroughCacheRuleResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1CreatePullThroughCacheRuleCommand=deserializeAws_json1_1CreatePullThroughCacheRuleCommand;const deserializeAws_json1_1CreatePullThroughCacheRuleCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"LimitExceededException":case"com.amazonaws.ecr#LimitExceededException":throw await deserializeAws_json1_1LimitExceededExceptionResponse(o,t);case"PullThroughCacheRuleAlreadyExistsException":case"com.amazonaws.ecr#PullThroughCacheRuleAlreadyExistsException":throw await deserializeAws_json1_1PullThroughCacheRuleAlreadyExistsExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"UnsupportedUpstreamRegistryException":case"com.amazonaws.ecr#UnsupportedUpstreamRegistryException":throw await deserializeAws_json1_1UnsupportedUpstreamRegistryExceptionResponse(o,t);case"ValidationException":case"com.amazonaws.ecr#ValidationException":throw await deserializeAws_json1_1ValidationExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1CreateRepositoryCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1CreateRepositoryCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1CreateRepositoryResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1CreateRepositoryCommand=deserializeAws_json1_1CreateRepositoryCommand;const deserializeAws_json1_1CreateRepositoryCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"InvalidTagParameterException":case"com.amazonaws.ecr#InvalidTagParameterException":throw await deserializeAws_json1_1InvalidTagParameterExceptionResponse(o,t);case"KmsException":case"com.amazonaws.ecr#KmsException":throw await deserializeAws_json1_1KmsExceptionResponse(o,t);case"LimitExceededException":case"com.amazonaws.ecr#LimitExceededException":throw await deserializeAws_json1_1LimitExceededExceptionResponse(o,t);case"RepositoryAlreadyExistsException":case"com.amazonaws.ecr#RepositoryAlreadyExistsException":throw await deserializeAws_json1_1RepositoryAlreadyExistsExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"TooManyTagsException":case"com.amazonaws.ecr#TooManyTagsException":throw await deserializeAws_json1_1TooManyTagsExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1DeleteLifecyclePolicyCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1DeleteLifecyclePolicyCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1DeleteLifecyclePolicyResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1DeleteLifecyclePolicyCommand=deserializeAws_json1_1DeleteLifecyclePolicyCommand;const deserializeAws_json1_1DeleteLifecyclePolicyCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"LifecyclePolicyNotFoundException":case"com.amazonaws.ecr#LifecyclePolicyNotFoundException":throw await deserializeAws_json1_1LifecyclePolicyNotFoundExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1DeletePullThroughCacheRuleCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1DeletePullThroughCacheRuleCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1DeletePullThroughCacheRuleResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1DeletePullThroughCacheRuleCommand=deserializeAws_json1_1DeletePullThroughCacheRuleCommand;const deserializeAws_json1_1DeletePullThroughCacheRuleCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"PullThroughCacheRuleNotFoundException":case"com.amazonaws.ecr#PullThroughCacheRuleNotFoundException":throw await deserializeAws_json1_1PullThroughCacheRuleNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"ValidationException":case"com.amazonaws.ecr#ValidationException":throw await deserializeAws_json1_1ValidationExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1DeleteRegistryPolicyCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1DeleteRegistryPolicyCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1DeleteRegistryPolicyResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1DeleteRegistryPolicyCommand=deserializeAws_json1_1DeleteRegistryPolicyCommand;const deserializeAws_json1_1DeleteRegistryPolicyCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RegistryPolicyNotFoundException":case"com.amazonaws.ecr#RegistryPolicyNotFoundException":throw await deserializeAws_json1_1RegistryPolicyNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"ValidationException":case"com.amazonaws.ecr#ValidationException":throw await deserializeAws_json1_1ValidationExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1DeleteRepositoryCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1DeleteRepositoryCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1DeleteRepositoryResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1DeleteRepositoryCommand=deserializeAws_json1_1DeleteRepositoryCommand;const deserializeAws_json1_1DeleteRepositoryCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"KmsException":case"com.amazonaws.ecr#KmsException":throw await deserializeAws_json1_1KmsExceptionResponse(o,t);case"RepositoryNotEmptyException":case"com.amazonaws.ecr#RepositoryNotEmptyException":throw await deserializeAws_json1_1RepositoryNotEmptyExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1DeleteRepositoryPolicyCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1DeleteRepositoryPolicyCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1DeleteRepositoryPolicyResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1DeleteRepositoryPolicyCommand=deserializeAws_json1_1DeleteRepositoryPolicyCommand;const deserializeAws_json1_1DeleteRepositoryPolicyCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"RepositoryPolicyNotFoundException":case"com.amazonaws.ecr#RepositoryPolicyNotFoundException":throw await deserializeAws_json1_1RepositoryPolicyNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1DescribeImageReplicationStatusCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1DescribeImageReplicationStatusCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1DescribeImageReplicationStatusResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1DescribeImageReplicationStatusCommand=deserializeAws_json1_1DescribeImageReplicationStatusCommand;const deserializeAws_json1_1DescribeImageReplicationStatusCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"ImageNotFoundException":case"com.amazonaws.ecr#ImageNotFoundException":throw await deserializeAws_json1_1ImageNotFoundExceptionResponse(o,t);case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"ValidationException":case"com.amazonaws.ecr#ValidationException":throw await deserializeAws_json1_1ValidationExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1DescribeImagesCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1DescribeImagesCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1DescribeImagesResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1DescribeImagesCommand=deserializeAws_json1_1DescribeImagesCommand;const deserializeAws_json1_1DescribeImagesCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"ImageNotFoundException":case"com.amazonaws.ecr#ImageNotFoundException":throw await deserializeAws_json1_1ImageNotFoundExceptionResponse(o,t);case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1DescribeImageScanFindingsCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1DescribeImageScanFindingsCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1DescribeImageScanFindingsResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1DescribeImageScanFindingsCommand=deserializeAws_json1_1DescribeImageScanFindingsCommand;const deserializeAws_json1_1DescribeImageScanFindingsCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"ImageNotFoundException":case"com.amazonaws.ecr#ImageNotFoundException":throw await deserializeAws_json1_1ImageNotFoundExceptionResponse(o,t);case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ScanNotFoundException":case"com.amazonaws.ecr#ScanNotFoundException":throw await deserializeAws_json1_1ScanNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"ValidationException":case"com.amazonaws.ecr#ValidationException":throw await deserializeAws_json1_1ValidationExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1DescribePullThroughCacheRulesCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1DescribePullThroughCacheRulesCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1DescribePullThroughCacheRulesResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1DescribePullThroughCacheRulesCommand=deserializeAws_json1_1DescribePullThroughCacheRulesCommand;const deserializeAws_json1_1DescribePullThroughCacheRulesCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"PullThroughCacheRuleNotFoundException":case"com.amazonaws.ecr#PullThroughCacheRuleNotFoundException":throw await deserializeAws_json1_1PullThroughCacheRuleNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"ValidationException":case"com.amazonaws.ecr#ValidationException":throw await deserializeAws_json1_1ValidationExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1DescribeRegistryCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1DescribeRegistryCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1DescribeRegistryResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1DescribeRegistryCommand=deserializeAws_json1_1DescribeRegistryCommand;const deserializeAws_json1_1DescribeRegistryCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"ValidationException":case"com.amazonaws.ecr#ValidationException":throw await deserializeAws_json1_1ValidationExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1DescribeRepositoriesCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1DescribeRepositoriesCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1DescribeRepositoriesResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1DescribeRepositoriesCommand=deserializeAws_json1_1DescribeRepositoriesCommand;const deserializeAws_json1_1DescribeRepositoriesCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1GetAuthorizationTokenCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1GetAuthorizationTokenCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1GetAuthorizationTokenResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1GetAuthorizationTokenCommand=deserializeAws_json1_1GetAuthorizationTokenCommand;const deserializeAws_json1_1GetAuthorizationTokenCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1GetDownloadUrlForLayerCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1GetDownloadUrlForLayerCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1GetDownloadUrlForLayerResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1GetDownloadUrlForLayerCommand=deserializeAws_json1_1GetDownloadUrlForLayerCommand;const deserializeAws_json1_1GetDownloadUrlForLayerCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"LayerInaccessibleException":case"com.amazonaws.ecr#LayerInaccessibleException":throw await deserializeAws_json1_1LayerInaccessibleExceptionResponse(o,t);case"LayersNotFoundException":case"com.amazonaws.ecr#LayersNotFoundException":throw await deserializeAws_json1_1LayersNotFoundExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1GetLifecyclePolicyCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1GetLifecyclePolicyCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1GetLifecyclePolicyResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1GetLifecyclePolicyCommand=deserializeAws_json1_1GetLifecyclePolicyCommand;const deserializeAws_json1_1GetLifecyclePolicyCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"LifecyclePolicyNotFoundException":case"com.amazonaws.ecr#LifecyclePolicyNotFoundException":throw await deserializeAws_json1_1LifecyclePolicyNotFoundExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1GetLifecyclePolicyPreviewCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1GetLifecyclePolicyPreviewCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1GetLifecyclePolicyPreviewResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1GetLifecyclePolicyPreviewCommand=deserializeAws_json1_1GetLifecyclePolicyPreviewCommand;const deserializeAws_json1_1GetLifecyclePolicyPreviewCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"LifecyclePolicyPreviewNotFoundException":case"com.amazonaws.ecr#LifecyclePolicyPreviewNotFoundException":throw await deserializeAws_json1_1LifecyclePolicyPreviewNotFoundExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1GetRegistryPolicyCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1GetRegistryPolicyCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1GetRegistryPolicyResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1GetRegistryPolicyCommand=deserializeAws_json1_1GetRegistryPolicyCommand;const deserializeAws_json1_1GetRegistryPolicyCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RegistryPolicyNotFoundException":case"com.amazonaws.ecr#RegistryPolicyNotFoundException":throw await deserializeAws_json1_1RegistryPolicyNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"ValidationException":case"com.amazonaws.ecr#ValidationException":throw await deserializeAws_json1_1ValidationExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1GetRegistryScanningConfigurationCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1GetRegistryScanningConfigurationCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1GetRegistryScanningConfigurationResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1GetRegistryScanningConfigurationCommand=deserializeAws_json1_1GetRegistryScanningConfigurationCommand;const deserializeAws_json1_1GetRegistryScanningConfigurationCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"ValidationException":case"com.amazonaws.ecr#ValidationException":throw await deserializeAws_json1_1ValidationExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1GetRepositoryPolicyCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1GetRepositoryPolicyCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1GetRepositoryPolicyResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1GetRepositoryPolicyCommand=deserializeAws_json1_1GetRepositoryPolicyCommand;const deserializeAws_json1_1GetRepositoryPolicyCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"RepositoryPolicyNotFoundException":case"com.amazonaws.ecr#RepositoryPolicyNotFoundException":throw await deserializeAws_json1_1RepositoryPolicyNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1InitiateLayerUploadCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1InitiateLayerUploadCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1InitiateLayerUploadResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1InitiateLayerUploadCommand=deserializeAws_json1_1InitiateLayerUploadCommand;const deserializeAws_json1_1InitiateLayerUploadCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"KmsException":case"com.amazonaws.ecr#KmsException":throw await deserializeAws_json1_1KmsExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1ListImagesCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1ListImagesCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1ListImagesResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1ListImagesCommand=deserializeAws_json1_1ListImagesCommand;const deserializeAws_json1_1ListImagesCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1ListTagsForResourceCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1ListTagsForResourceCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1ListTagsForResourceResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1ListTagsForResourceCommand=deserializeAws_json1_1ListTagsForResourceCommand;const deserializeAws_json1_1ListTagsForResourceCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1PutImageCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1PutImageCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1PutImageResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1PutImageCommand=deserializeAws_json1_1PutImageCommand;const deserializeAws_json1_1PutImageCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"ImageAlreadyExistsException":case"com.amazonaws.ecr#ImageAlreadyExistsException":throw await deserializeAws_json1_1ImageAlreadyExistsExceptionResponse(o,t);case"ImageDigestDoesNotMatchException":case"com.amazonaws.ecr#ImageDigestDoesNotMatchException":throw await deserializeAws_json1_1ImageDigestDoesNotMatchExceptionResponse(o,t);case"ImageTagAlreadyExistsException":case"com.amazonaws.ecr#ImageTagAlreadyExistsException":throw await deserializeAws_json1_1ImageTagAlreadyExistsExceptionResponse(o,t);case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"KmsException":case"com.amazonaws.ecr#KmsException":throw await deserializeAws_json1_1KmsExceptionResponse(o,t);case"LayersNotFoundException":case"com.amazonaws.ecr#LayersNotFoundException":throw await deserializeAws_json1_1LayersNotFoundExceptionResponse(o,t);case"LimitExceededException":case"com.amazonaws.ecr#LimitExceededException":throw await deserializeAws_json1_1LimitExceededExceptionResponse(o,t);case"ReferencedImagesNotFoundException":case"com.amazonaws.ecr#ReferencedImagesNotFoundException":throw await deserializeAws_json1_1ReferencedImagesNotFoundExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1PutImageScanningConfigurationCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1PutImageScanningConfigurationCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1PutImageScanningConfigurationResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1PutImageScanningConfigurationCommand=deserializeAws_json1_1PutImageScanningConfigurationCommand;const deserializeAws_json1_1PutImageScanningConfigurationCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"ValidationException":case"com.amazonaws.ecr#ValidationException":throw await deserializeAws_json1_1ValidationExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1PutImageTagMutabilityCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1PutImageTagMutabilityCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1PutImageTagMutabilityResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1PutImageTagMutabilityCommand=deserializeAws_json1_1PutImageTagMutabilityCommand;const deserializeAws_json1_1PutImageTagMutabilityCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1PutLifecyclePolicyCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1PutLifecyclePolicyCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1PutLifecyclePolicyResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1PutLifecyclePolicyCommand=deserializeAws_json1_1PutLifecyclePolicyCommand;const deserializeAws_json1_1PutLifecyclePolicyCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1PutRegistryPolicyCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1PutRegistryPolicyCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1PutRegistryPolicyResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1PutRegistryPolicyCommand=deserializeAws_json1_1PutRegistryPolicyCommand;const deserializeAws_json1_1PutRegistryPolicyCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"ValidationException":case"com.amazonaws.ecr#ValidationException":throw await deserializeAws_json1_1ValidationExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1PutRegistryScanningConfigurationCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1PutRegistryScanningConfigurationCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1PutRegistryScanningConfigurationResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1PutRegistryScanningConfigurationCommand=deserializeAws_json1_1PutRegistryScanningConfigurationCommand;const deserializeAws_json1_1PutRegistryScanningConfigurationCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"ValidationException":case"com.amazonaws.ecr#ValidationException":throw await deserializeAws_json1_1ValidationExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1PutReplicationConfigurationCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1PutReplicationConfigurationCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1PutReplicationConfigurationResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1PutReplicationConfigurationCommand=deserializeAws_json1_1PutReplicationConfigurationCommand;const deserializeAws_json1_1PutReplicationConfigurationCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"ValidationException":case"com.amazonaws.ecr#ValidationException":throw await deserializeAws_json1_1ValidationExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1SetRepositoryPolicyCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1SetRepositoryPolicyCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1SetRepositoryPolicyResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1SetRepositoryPolicyCommand=deserializeAws_json1_1SetRepositoryPolicyCommand;const deserializeAws_json1_1SetRepositoryPolicyCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1StartImageScanCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1StartImageScanCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1StartImageScanResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1StartImageScanCommand=deserializeAws_json1_1StartImageScanCommand;const deserializeAws_json1_1StartImageScanCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"ImageNotFoundException":case"com.amazonaws.ecr#ImageNotFoundException":throw await deserializeAws_json1_1ImageNotFoundExceptionResponse(o,t);case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"LimitExceededException":case"com.amazonaws.ecr#LimitExceededException":throw await deserializeAws_json1_1LimitExceededExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"UnsupportedImageTypeException":case"com.amazonaws.ecr#UnsupportedImageTypeException":throw await deserializeAws_json1_1UnsupportedImageTypeExceptionResponse(o,t);case"ValidationException":case"com.amazonaws.ecr#ValidationException":throw await deserializeAws_json1_1ValidationExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1StartLifecyclePolicyPreviewCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1StartLifecyclePolicyPreviewCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1StartLifecyclePolicyPreviewResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1StartLifecyclePolicyPreviewCommand=deserializeAws_json1_1StartLifecyclePolicyPreviewCommand;const deserializeAws_json1_1StartLifecyclePolicyPreviewCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"LifecyclePolicyNotFoundException":case"com.amazonaws.ecr#LifecyclePolicyNotFoundException":throw await deserializeAws_json1_1LifecyclePolicyNotFoundExceptionResponse(o,t);case"LifecyclePolicyPreviewInProgressException":case"com.amazonaws.ecr#LifecyclePolicyPreviewInProgressException":throw await deserializeAws_json1_1LifecyclePolicyPreviewInProgressExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1TagResourceCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1TagResourceCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1TagResourceResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1TagResourceCommand=deserializeAws_json1_1TagResourceCommand;const deserializeAws_json1_1TagResourceCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"InvalidTagParameterException":case"com.amazonaws.ecr#InvalidTagParameterException":throw await deserializeAws_json1_1InvalidTagParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"TooManyTagsException":case"com.amazonaws.ecr#TooManyTagsException":throw await deserializeAws_json1_1TooManyTagsExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1UntagResourceCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1UntagResourceCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1UntagResourceResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1UntagResourceCommand=deserializeAws_json1_1UntagResourceCommand;const deserializeAws_json1_1UntagResourceCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"InvalidTagParameterException":case"com.amazonaws.ecr#InvalidTagParameterException":throw await deserializeAws_json1_1InvalidTagParameterExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"TooManyTagsException":case"com.amazonaws.ecr#TooManyTagsException":throw await deserializeAws_json1_1TooManyTagsExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1UploadLayerPartCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_json1_1UploadLayerPartCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_json1_1UploadLayerPartResponse(o,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_json1_1UploadLayerPartCommand=deserializeAws_json1_1UploadLayerPartCommand;const deserializeAws_json1_1UploadLayerPartCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidLayerPartException":case"com.amazonaws.ecr#InvalidLayerPartException":throw await deserializeAws_json1_1InvalidLayerPartExceptionResponse(o,t);case"InvalidParameterException":case"com.amazonaws.ecr#InvalidParameterException":throw await deserializeAws_json1_1InvalidParameterExceptionResponse(o,t);case"KmsException":case"com.amazonaws.ecr#KmsException":throw await deserializeAws_json1_1KmsExceptionResponse(o,t);case"LimitExceededException":case"com.amazonaws.ecr#LimitExceededException":throw await deserializeAws_json1_1LimitExceededExceptionResponse(o,t);case"RepositoryNotFoundException":case"com.amazonaws.ecr#RepositoryNotFoundException":throw await deserializeAws_json1_1RepositoryNotFoundExceptionResponse(o,t);case"ServerException":case"com.amazonaws.ecr#ServerException":throw await deserializeAws_json1_1ServerExceptionResponse(o,t);case"UploadNotFoundException":case"com.amazonaws.ecr#UploadNotFoundException":throw await deserializeAws_json1_1UploadNotFoundExceptionResponse(o,t);default:const i=o.body;(0,r.throwDefaultError)({output:e,parsedBody:i,exceptionCtor:s.ECRServiceException,errorCode:n})}};const deserializeAws_json1_1EmptyUploadExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1EmptyUploadException(o,t);const s=new i.EmptyUploadException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1ImageAlreadyExistsExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1ImageAlreadyExistsException(o,t);const s=new i.ImageAlreadyExistsException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1ImageDigestDoesNotMatchExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1ImageDigestDoesNotMatchException(o,t);const s=new i.ImageDigestDoesNotMatchException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1ImageNotFoundExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1ImageNotFoundException(o,t);const s=new i.ImageNotFoundException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1ImageTagAlreadyExistsExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1ImageTagAlreadyExistsException(o,t);const s=new i.ImageTagAlreadyExistsException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1InvalidLayerExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1InvalidLayerException(o,t);const s=new i.InvalidLayerException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1InvalidLayerPartExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1InvalidLayerPartException(o,t);const s=new i.InvalidLayerPartException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1InvalidParameterExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1InvalidParameterException(o,t);const s=new i.InvalidParameterException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1InvalidTagParameterExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1InvalidTagParameterException(o,t);const s=new i.InvalidTagParameterException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1KmsExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1KmsException(o,t);const s=new i.KmsException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1LayerAlreadyExistsExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1LayerAlreadyExistsException(o,t);const s=new i.LayerAlreadyExistsException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1LayerInaccessibleExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1LayerInaccessibleException(o,t);const s=new i.LayerInaccessibleException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1LayerPartTooSmallExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1LayerPartTooSmallException(o,t);const s=new i.LayerPartTooSmallException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1LayersNotFoundExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1LayersNotFoundException(o,t);const s=new i.LayersNotFoundException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1LifecyclePolicyNotFoundExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1LifecyclePolicyNotFoundException(o,t);const s=new i.LifecyclePolicyNotFoundException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1LifecyclePolicyPreviewInProgressExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1LifecyclePolicyPreviewInProgressException(o,t);const s=new i.LifecyclePolicyPreviewInProgressException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1LifecyclePolicyPreviewNotFoundExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1LifecyclePolicyPreviewNotFoundException(o,t);const s=new i.LifecyclePolicyPreviewNotFoundException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1LimitExceededExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1LimitExceededException(o,t);const s=new i.LimitExceededException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1PullThroughCacheRuleAlreadyExistsExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1PullThroughCacheRuleAlreadyExistsException(o,t);const s=new i.PullThroughCacheRuleAlreadyExistsException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1PullThroughCacheRuleNotFoundExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1PullThroughCacheRuleNotFoundException(o,t);const s=new i.PullThroughCacheRuleNotFoundException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1ReferencedImagesNotFoundExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1ReferencedImagesNotFoundException(o,t);const s=new i.ReferencedImagesNotFoundException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1RegistryPolicyNotFoundExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1RegistryPolicyNotFoundException(o,t);const s=new i.RegistryPolicyNotFoundException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1RepositoryAlreadyExistsExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1RepositoryAlreadyExistsException(o,t);const s=new i.RepositoryAlreadyExistsException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1RepositoryNotEmptyExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1RepositoryNotEmptyException(o,t);const s=new i.RepositoryNotEmptyException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1RepositoryNotFoundExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1RepositoryNotFoundException(o,t);const s=new i.RepositoryNotFoundException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1RepositoryPolicyNotFoundExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1RepositoryPolicyNotFoundException(o,t);const s=new i.RepositoryPolicyNotFoundException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1ScanNotFoundExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1ScanNotFoundException(o,t);const s=new i.ScanNotFoundException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1ServerExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1ServerException(o,t);const s=new i.ServerException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1TooManyTagsExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1TooManyTagsException(o,t);const s=new i.TooManyTagsException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1UnsupportedImageTypeExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1UnsupportedImageTypeException(o,t);const s=new i.UnsupportedImageTypeException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1UnsupportedUpstreamRegistryExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1UnsupportedUpstreamRegistryException(o,t);const s=new i.UnsupportedUpstreamRegistryException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1UploadNotFoundExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1UploadNotFoundException(o,t);const s=new i.UploadNotFoundException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_json1_1ValidationExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_json1_1ValidationException(o,t);const s=new i.ValidationException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const serializeAws_json1_1BatchCheckLayerAvailabilityRequest=(e,t)=>({...e.layerDigests!=null&&{layerDigests:serializeAws_json1_1BatchedOperationLayerDigestList(e.layerDigests,t)},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1BatchDeleteImageRequest=(e,t)=>({...e.imageIds!=null&&{imageIds:serializeAws_json1_1ImageIdentifierList(e.imageIds,t)},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1BatchedOperationLayerDigestList=(e,t)=>e.filter((e=>e!=null)).map((e=>e));const serializeAws_json1_1BatchGetImageRequest=(e,t)=>({...e.acceptedMediaTypes!=null&&{acceptedMediaTypes:serializeAws_json1_1MediaTypeList(e.acceptedMediaTypes,t)},...e.imageIds!=null&&{imageIds:serializeAws_json1_1ImageIdentifierList(e.imageIds,t)},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1BatchGetRepositoryScanningConfigurationRequest=(e,t)=>({...e.repositoryNames!=null&&{repositoryNames:serializeAws_json1_1ScanningConfigurationRepositoryNameList(e.repositoryNames,t)}});const serializeAws_json1_1CompleteLayerUploadRequest=(e,t)=>({...e.layerDigests!=null&&{layerDigests:serializeAws_json1_1LayerDigestList(e.layerDigests,t)},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName},...e.uploadId!=null&&{uploadId:e.uploadId}});const serializeAws_json1_1CreatePullThroughCacheRuleRequest=(e,t)=>({...e.ecrRepositoryPrefix!=null&&{ecrRepositoryPrefix:e.ecrRepositoryPrefix},...e.registryId!=null&&{registryId:e.registryId},...e.upstreamRegistryUrl!=null&&{upstreamRegistryUrl:e.upstreamRegistryUrl}});const serializeAws_json1_1CreateRepositoryRequest=(e,t)=>({...e.encryptionConfiguration!=null&&{encryptionConfiguration:serializeAws_json1_1EncryptionConfiguration(e.encryptionConfiguration,t)},...e.imageScanningConfiguration!=null&&{imageScanningConfiguration:serializeAws_json1_1ImageScanningConfiguration(e.imageScanningConfiguration,t)},...e.imageTagMutability!=null&&{imageTagMutability:e.imageTagMutability},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName},...e.tags!=null&&{tags:serializeAws_json1_1TagList(e.tags,t)}});const serializeAws_json1_1DeleteLifecyclePolicyRequest=(e,t)=>({...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1DeletePullThroughCacheRuleRequest=(e,t)=>({...e.ecrRepositoryPrefix!=null&&{ecrRepositoryPrefix:e.ecrRepositoryPrefix},...e.registryId!=null&&{registryId:e.registryId}});const serializeAws_json1_1DeleteRegistryPolicyRequest=(e,t)=>({});const serializeAws_json1_1DeleteRepositoryPolicyRequest=(e,t)=>({...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1DeleteRepositoryRequest=(e,t)=>({...e.force!=null&&{force:e.force},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1DescribeImageReplicationStatusRequest=(e,t)=>({...e.imageId!=null&&{imageId:serializeAws_json1_1ImageIdentifier(e.imageId,t)},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1DescribeImageScanFindingsRequest=(e,t)=>({...e.imageId!=null&&{imageId:serializeAws_json1_1ImageIdentifier(e.imageId,t)},...e.maxResults!=null&&{maxResults:e.maxResults},...e.nextToken!=null&&{nextToken:e.nextToken},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1DescribeImagesFilter=(e,t)=>({...e.tagStatus!=null&&{tagStatus:e.tagStatus}});const serializeAws_json1_1DescribeImagesRequest=(e,t)=>({...e.filter!=null&&{filter:serializeAws_json1_1DescribeImagesFilter(e.filter,t)},...e.imageIds!=null&&{imageIds:serializeAws_json1_1ImageIdentifierList(e.imageIds,t)},...e.maxResults!=null&&{maxResults:e.maxResults},...e.nextToken!=null&&{nextToken:e.nextToken},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1DescribePullThroughCacheRulesRequest=(e,t)=>({...e.ecrRepositoryPrefixes!=null&&{ecrRepositoryPrefixes:serializeAws_json1_1PullThroughCacheRuleRepositoryPrefixList(e.ecrRepositoryPrefixes,t)},...e.maxResults!=null&&{maxResults:e.maxResults},...e.nextToken!=null&&{nextToken:e.nextToken},...e.registryId!=null&&{registryId:e.registryId}});const serializeAws_json1_1DescribeRegistryRequest=(e,t)=>({});const serializeAws_json1_1DescribeRepositoriesRequest=(e,t)=>({...e.maxResults!=null&&{maxResults:e.maxResults},...e.nextToken!=null&&{nextToken:e.nextToken},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryNames!=null&&{repositoryNames:serializeAws_json1_1RepositoryNameList(e.repositoryNames,t)}});const serializeAws_json1_1EncryptionConfiguration=(e,t)=>({...e.encryptionType!=null&&{encryptionType:e.encryptionType},...e.kmsKey!=null&&{kmsKey:e.kmsKey}});const serializeAws_json1_1GetAuthorizationTokenRegistryIdList=(e,t)=>e.filter((e=>e!=null)).map((e=>e));const serializeAws_json1_1GetAuthorizationTokenRequest=(e,t)=>({...e.registryIds!=null&&{registryIds:serializeAws_json1_1GetAuthorizationTokenRegistryIdList(e.registryIds,t)}});const serializeAws_json1_1GetDownloadUrlForLayerRequest=(e,t)=>({...e.layerDigest!=null&&{layerDigest:e.layerDigest},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1GetLifecyclePolicyPreviewRequest=(e,t)=>({...e.filter!=null&&{filter:serializeAws_json1_1LifecyclePolicyPreviewFilter(e.filter,t)},...e.imageIds!=null&&{imageIds:serializeAws_json1_1ImageIdentifierList(e.imageIds,t)},...e.maxResults!=null&&{maxResults:e.maxResults},...e.nextToken!=null&&{nextToken:e.nextToken},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1GetLifecyclePolicyRequest=(e,t)=>({...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1GetRegistryPolicyRequest=(e,t)=>({});const serializeAws_json1_1GetRegistryScanningConfigurationRequest=(e,t)=>({});const serializeAws_json1_1GetRepositoryPolicyRequest=(e,t)=>({...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1ImageIdentifier=(e,t)=>({...e.imageDigest!=null&&{imageDigest:e.imageDigest},...e.imageTag!=null&&{imageTag:e.imageTag}});const serializeAws_json1_1ImageIdentifierList=(e,t)=>e.filter((e=>e!=null)).map((e=>serializeAws_json1_1ImageIdentifier(e,t)));const serializeAws_json1_1ImageScanningConfiguration=(e,t)=>({...e.scanOnPush!=null&&{scanOnPush:e.scanOnPush}});const serializeAws_json1_1InitiateLayerUploadRequest=(e,t)=>({...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1LayerDigestList=(e,t)=>e.filter((e=>e!=null)).map((e=>e));const serializeAws_json1_1LifecyclePolicyPreviewFilter=(e,t)=>({...e.tagStatus!=null&&{tagStatus:e.tagStatus}});const serializeAws_json1_1ListImagesFilter=(e,t)=>({...e.tagStatus!=null&&{tagStatus:e.tagStatus}});const serializeAws_json1_1ListImagesRequest=(e,t)=>({...e.filter!=null&&{filter:serializeAws_json1_1ListImagesFilter(e.filter,t)},...e.maxResults!=null&&{maxResults:e.maxResults},...e.nextToken!=null&&{nextToken:e.nextToken},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1ListTagsForResourceRequest=(e,t)=>({...e.resourceArn!=null&&{resourceArn:e.resourceArn}});const serializeAws_json1_1MediaTypeList=(e,t)=>e.filter((e=>e!=null)).map((e=>e));const serializeAws_json1_1PullThroughCacheRuleRepositoryPrefixList=(e,t)=>e.filter((e=>e!=null)).map((e=>e));const serializeAws_json1_1PutImageRequest=(e,t)=>({...e.imageDigest!=null&&{imageDigest:e.imageDigest},...e.imageManifest!=null&&{imageManifest:e.imageManifest},...e.imageManifestMediaType!=null&&{imageManifestMediaType:e.imageManifestMediaType},...e.imageTag!=null&&{imageTag:e.imageTag},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1PutImageScanningConfigurationRequest=(e,t)=>({...e.imageScanningConfiguration!=null&&{imageScanningConfiguration:serializeAws_json1_1ImageScanningConfiguration(e.imageScanningConfiguration,t)},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1PutImageTagMutabilityRequest=(e,t)=>({...e.imageTagMutability!=null&&{imageTagMutability:e.imageTagMutability},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1PutLifecyclePolicyRequest=(e,t)=>({...e.lifecyclePolicyText!=null&&{lifecyclePolicyText:e.lifecyclePolicyText},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1PutRegistryPolicyRequest=(e,t)=>({...e.policyText!=null&&{policyText:e.policyText}});const serializeAws_json1_1PutRegistryScanningConfigurationRequest=(e,t)=>({...e.rules!=null&&{rules:serializeAws_json1_1RegistryScanningRuleList(e.rules,t)},...e.scanType!=null&&{scanType:e.scanType}});const serializeAws_json1_1PutReplicationConfigurationRequest=(e,t)=>({...e.replicationConfiguration!=null&&{replicationConfiguration:serializeAws_json1_1ReplicationConfiguration(e.replicationConfiguration,t)}});const serializeAws_json1_1RegistryScanningRule=(e,t)=>({...e.repositoryFilters!=null&&{repositoryFilters:serializeAws_json1_1ScanningRepositoryFilterList(e.repositoryFilters,t)},...e.scanFrequency!=null&&{scanFrequency:e.scanFrequency}});const serializeAws_json1_1RegistryScanningRuleList=(e,t)=>e.filter((e=>e!=null)).map((e=>serializeAws_json1_1RegistryScanningRule(e,t)));const serializeAws_json1_1ReplicationConfiguration=(e,t)=>({...e.rules!=null&&{rules:serializeAws_json1_1ReplicationRuleList(e.rules,t)}});const serializeAws_json1_1ReplicationDestination=(e,t)=>({...e.region!=null&&{region:e.region},...e.registryId!=null&&{registryId:e.registryId}});const serializeAws_json1_1ReplicationDestinationList=(e,t)=>e.filter((e=>e!=null)).map((e=>serializeAws_json1_1ReplicationDestination(e,t)));const serializeAws_json1_1ReplicationRule=(e,t)=>({...e.destinations!=null&&{destinations:serializeAws_json1_1ReplicationDestinationList(e.destinations,t)},...e.repositoryFilters!=null&&{repositoryFilters:serializeAws_json1_1RepositoryFilterList(e.repositoryFilters,t)}});const serializeAws_json1_1ReplicationRuleList=(e,t)=>e.filter((e=>e!=null)).map((e=>serializeAws_json1_1ReplicationRule(e,t)));const serializeAws_json1_1RepositoryFilter=(e,t)=>({...e.filter!=null&&{filter:e.filter},...e.filterType!=null&&{filterType:e.filterType}});const serializeAws_json1_1RepositoryFilterList=(e,t)=>e.filter((e=>e!=null)).map((e=>serializeAws_json1_1RepositoryFilter(e,t)));const serializeAws_json1_1RepositoryNameList=(e,t)=>e.filter((e=>e!=null)).map((e=>e));const serializeAws_json1_1ScanningConfigurationRepositoryNameList=(e,t)=>e.filter((e=>e!=null)).map((e=>e));const serializeAws_json1_1ScanningRepositoryFilter=(e,t)=>({...e.filter!=null&&{filter:e.filter},...e.filterType!=null&&{filterType:e.filterType}});const serializeAws_json1_1ScanningRepositoryFilterList=(e,t)=>e.filter((e=>e!=null)).map((e=>serializeAws_json1_1ScanningRepositoryFilter(e,t)));const serializeAws_json1_1SetRepositoryPolicyRequest=(e,t)=>({...e.force!=null&&{force:e.force},...e.policyText!=null&&{policyText:e.policyText},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1StartImageScanRequest=(e,t)=>({...e.imageId!=null&&{imageId:serializeAws_json1_1ImageIdentifier(e.imageId,t)},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1StartLifecyclePolicyPreviewRequest=(e,t)=>({...e.lifecyclePolicyText!=null&&{lifecyclePolicyText:e.lifecyclePolicyText},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName}});const serializeAws_json1_1Tag=(e,t)=>({...e.Key!=null&&{Key:e.Key},...e.Value!=null&&{Value:e.Value}});const serializeAws_json1_1TagKeyList=(e,t)=>e.filter((e=>e!=null)).map((e=>e));const serializeAws_json1_1TagList=(e,t)=>e.filter((e=>e!=null)).map((e=>serializeAws_json1_1Tag(e,t)));const serializeAws_json1_1TagResourceRequest=(e,t)=>({...e.resourceArn!=null&&{resourceArn:e.resourceArn},...e.tags!=null&&{tags:serializeAws_json1_1TagList(e.tags,t)}});const serializeAws_json1_1UntagResourceRequest=(e,t)=>({...e.resourceArn!=null&&{resourceArn:e.resourceArn},...e.tagKeys!=null&&{tagKeys:serializeAws_json1_1TagKeyList(e.tagKeys,t)}});const serializeAws_json1_1UploadLayerPartRequest=(e,t)=>({...e.layerPartBlob!=null&&{layerPartBlob:t.base64Encoder(e.layerPartBlob)},...e.partFirstByte!=null&&{partFirstByte:e.partFirstByte},...e.partLastByte!=null&&{partLastByte:e.partLastByte},...e.registryId!=null&&{registryId:e.registryId},...e.repositoryName!=null&&{repositoryName:e.repositoryName},...e.uploadId!=null&&{uploadId:e.uploadId}});const deserializeAws_json1_1Attribute=(e,t)=>({key:(0,r.expectString)(e.key),value:(0,r.expectString)(e.value)});const deserializeAws_json1_1AttributeList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1Attribute(e,t)}));return o};const deserializeAws_json1_1AuthorizationData=(e,t)=>({authorizationToken:(0,r.expectString)(e.authorizationToken),expiresAt:e.expiresAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.expiresAt))):undefined,proxyEndpoint:(0,r.expectString)(e.proxyEndpoint)});const deserializeAws_json1_1AuthorizationDataList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1AuthorizationData(e,t)}));return o};const deserializeAws_json1_1AwsEcrContainerImageDetails=(e,t)=>({architecture:(0,r.expectString)(e.architecture),author:(0,r.expectString)(e.author),imageHash:(0,r.expectString)(e.imageHash),imageTags:e.imageTags!=null?deserializeAws_json1_1ImageTagsList(e.imageTags,t):undefined,platform:(0,r.expectString)(e.platform),pushedAt:e.pushedAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.pushedAt))):undefined,registry:(0,r.expectString)(e.registry),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1BatchCheckLayerAvailabilityResponse=(e,t)=>({failures:e.failures!=null?deserializeAws_json1_1LayerFailureList(e.failures,t):undefined,layers:e.layers!=null?deserializeAws_json1_1LayerList(e.layers,t):undefined});const deserializeAws_json1_1BatchDeleteImageResponse=(e,t)=>({failures:e.failures!=null?deserializeAws_json1_1ImageFailureList(e.failures,t):undefined,imageIds:e.imageIds!=null?deserializeAws_json1_1ImageIdentifierList(e.imageIds,t):undefined});const deserializeAws_json1_1BatchGetImageResponse=(e,t)=>({failures:e.failures!=null?deserializeAws_json1_1ImageFailureList(e.failures,t):undefined,images:e.images!=null?deserializeAws_json1_1ImageList(e.images,t):undefined});const deserializeAws_json1_1BatchGetRepositoryScanningConfigurationResponse=(e,t)=>({failures:e.failures!=null?deserializeAws_json1_1RepositoryScanningConfigurationFailureList(e.failures,t):undefined,scanningConfigurations:e.scanningConfigurations!=null?deserializeAws_json1_1RepositoryScanningConfigurationList(e.scanningConfigurations,t):undefined});const deserializeAws_json1_1CompleteLayerUploadResponse=(e,t)=>({layerDigest:(0,r.expectString)(e.layerDigest),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName),uploadId:(0,r.expectString)(e.uploadId)});const deserializeAws_json1_1CreatePullThroughCacheRuleResponse=(e,t)=>({createdAt:e.createdAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.createdAt))):undefined,ecrRepositoryPrefix:(0,r.expectString)(e.ecrRepositoryPrefix),registryId:(0,r.expectString)(e.registryId),upstreamRegistryUrl:(0,r.expectString)(e.upstreamRegistryUrl)});const deserializeAws_json1_1CreateRepositoryResponse=(e,t)=>({repository:e.repository!=null?deserializeAws_json1_1Repository(e.repository,t):undefined});const deserializeAws_json1_1CvssScore=(e,t)=>({baseScore:(0,r.limitedParseDouble)(e.baseScore),scoringVector:(0,r.expectString)(e.scoringVector),source:(0,r.expectString)(e.source),version:(0,r.expectString)(e.version)});const deserializeAws_json1_1CvssScoreAdjustment=(e,t)=>({metric:(0,r.expectString)(e.metric),reason:(0,r.expectString)(e.reason)});const deserializeAws_json1_1CvssScoreAdjustmentList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1CvssScoreAdjustment(e,t)}));return o};const deserializeAws_json1_1CvssScoreDetails=(e,t)=>({adjustments:e.adjustments!=null?deserializeAws_json1_1CvssScoreAdjustmentList(e.adjustments,t):undefined,score:(0,r.limitedParseDouble)(e.score),scoreSource:(0,r.expectString)(e.scoreSource),scoringVector:(0,r.expectString)(e.scoringVector),version:(0,r.expectString)(e.version)});const deserializeAws_json1_1CvssScoreList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1CvssScore(e,t)}));return o};const deserializeAws_json1_1DeleteLifecyclePolicyResponse=(e,t)=>({lastEvaluatedAt:e.lastEvaluatedAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.lastEvaluatedAt))):undefined,lifecyclePolicyText:(0,r.expectString)(e.lifecyclePolicyText),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1DeletePullThroughCacheRuleResponse=(e,t)=>({createdAt:e.createdAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.createdAt))):undefined,ecrRepositoryPrefix:(0,r.expectString)(e.ecrRepositoryPrefix),registryId:(0,r.expectString)(e.registryId),upstreamRegistryUrl:(0,r.expectString)(e.upstreamRegistryUrl)});const deserializeAws_json1_1DeleteRegistryPolicyResponse=(e,t)=>({policyText:(0,r.expectString)(e.policyText),registryId:(0,r.expectString)(e.registryId)});const deserializeAws_json1_1DeleteRepositoryPolicyResponse=(e,t)=>({policyText:(0,r.expectString)(e.policyText),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1DeleteRepositoryResponse=(e,t)=>({repository:e.repository!=null?deserializeAws_json1_1Repository(e.repository,t):undefined});const deserializeAws_json1_1DescribeImageReplicationStatusResponse=(e,t)=>({imageId:e.imageId!=null?deserializeAws_json1_1ImageIdentifier(e.imageId,t):undefined,replicationStatuses:e.replicationStatuses!=null?deserializeAws_json1_1ImageReplicationStatusList(e.replicationStatuses,t):undefined,repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1DescribeImageScanFindingsResponse=(e,t)=>({imageId:e.imageId!=null?deserializeAws_json1_1ImageIdentifier(e.imageId,t):undefined,imageScanFindings:e.imageScanFindings!=null?deserializeAws_json1_1ImageScanFindings(e.imageScanFindings,t):undefined,imageScanStatus:e.imageScanStatus!=null?deserializeAws_json1_1ImageScanStatus(e.imageScanStatus,t):undefined,nextToken:(0,r.expectString)(e.nextToken),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1DescribeImagesResponse=(e,t)=>({imageDetails:e.imageDetails!=null?deserializeAws_json1_1ImageDetailList(e.imageDetails,t):undefined,nextToken:(0,r.expectString)(e.nextToken)});const deserializeAws_json1_1DescribePullThroughCacheRulesResponse=(e,t)=>({nextToken:(0,r.expectString)(e.nextToken),pullThroughCacheRules:e.pullThroughCacheRules!=null?deserializeAws_json1_1PullThroughCacheRuleList(e.pullThroughCacheRules,t):undefined});const deserializeAws_json1_1DescribeRegistryResponse=(e,t)=>({registryId:(0,r.expectString)(e.registryId),replicationConfiguration:e.replicationConfiguration!=null?deserializeAws_json1_1ReplicationConfiguration(e.replicationConfiguration,t):undefined});const deserializeAws_json1_1DescribeRepositoriesResponse=(e,t)=>({nextToken:(0,r.expectString)(e.nextToken),repositories:e.repositories!=null?deserializeAws_json1_1RepositoryList(e.repositories,t):undefined});const deserializeAws_json1_1EmptyUploadException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1EncryptionConfiguration=(e,t)=>({encryptionType:(0,r.expectString)(e.encryptionType),kmsKey:(0,r.expectString)(e.kmsKey)});const deserializeAws_json1_1EnhancedImageScanFinding=(e,t)=>({awsAccountId:(0,r.expectString)(e.awsAccountId),description:(0,r.expectString)(e.description),findingArn:(0,r.expectString)(e.findingArn),firstObservedAt:e.firstObservedAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.firstObservedAt))):undefined,lastObservedAt:e.lastObservedAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.lastObservedAt))):undefined,packageVulnerabilityDetails:e.packageVulnerabilityDetails!=null?deserializeAws_json1_1PackageVulnerabilityDetails(e.packageVulnerabilityDetails,t):undefined,remediation:e.remediation!=null?deserializeAws_json1_1Remediation(e.remediation,t):undefined,resources:e.resources!=null?deserializeAws_json1_1ResourceList(e.resources,t):undefined,score:(0,r.limitedParseDouble)(e.score),scoreDetails:e.scoreDetails!=null?deserializeAws_json1_1ScoreDetails(e.scoreDetails,t):undefined,severity:(0,r.expectString)(e.severity),status:(0,r.expectString)(e.status),title:(0,r.expectString)(e.title),type:(0,r.expectString)(e.type),updatedAt:e.updatedAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.updatedAt))):undefined});const deserializeAws_json1_1EnhancedImageScanFindingList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1EnhancedImageScanFinding(e,t)}));return o};const deserializeAws_json1_1FindingSeverityCounts=(e,t)=>Object.entries(e).reduce(((e,[t,o])=>{if(o===null){return e}return{...e,[t]:(0,r.expectInt32)(o)}}),{});const deserializeAws_json1_1GetAuthorizationTokenResponse=(e,t)=>({authorizationData:e.authorizationData!=null?deserializeAws_json1_1AuthorizationDataList(e.authorizationData,t):undefined});const deserializeAws_json1_1GetDownloadUrlForLayerResponse=(e,t)=>({downloadUrl:(0,r.expectString)(e.downloadUrl),layerDigest:(0,r.expectString)(e.layerDigest)});const deserializeAws_json1_1GetLifecyclePolicyPreviewResponse=(e,t)=>({lifecyclePolicyText:(0,r.expectString)(e.lifecyclePolicyText),nextToken:(0,r.expectString)(e.nextToken),previewResults:e.previewResults!=null?deserializeAws_json1_1LifecyclePolicyPreviewResultList(e.previewResults,t):undefined,registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName),status:(0,r.expectString)(e.status),summary:e.summary!=null?deserializeAws_json1_1LifecyclePolicyPreviewSummary(e.summary,t):undefined});const deserializeAws_json1_1GetLifecyclePolicyResponse=(e,t)=>({lastEvaluatedAt:e.lastEvaluatedAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.lastEvaluatedAt))):undefined,lifecyclePolicyText:(0,r.expectString)(e.lifecyclePolicyText),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1GetRegistryPolicyResponse=(e,t)=>({policyText:(0,r.expectString)(e.policyText),registryId:(0,r.expectString)(e.registryId)});const deserializeAws_json1_1GetRegistryScanningConfigurationResponse=(e,t)=>({registryId:(0,r.expectString)(e.registryId),scanningConfiguration:e.scanningConfiguration!=null?deserializeAws_json1_1RegistryScanningConfiguration(e.scanningConfiguration,t):undefined});const deserializeAws_json1_1GetRepositoryPolicyResponse=(e,t)=>({policyText:(0,r.expectString)(e.policyText),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1Image=(e,t)=>({imageId:e.imageId!=null?deserializeAws_json1_1ImageIdentifier(e.imageId,t):undefined,imageManifest:(0,r.expectString)(e.imageManifest),imageManifestMediaType:(0,r.expectString)(e.imageManifestMediaType),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1ImageAlreadyExistsException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1ImageDetail=(e,t)=>({artifactMediaType:(0,r.expectString)(e.artifactMediaType),imageDigest:(0,r.expectString)(e.imageDigest),imageManifestMediaType:(0,r.expectString)(e.imageManifestMediaType),imagePushedAt:e.imagePushedAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.imagePushedAt))):undefined,imageScanFindingsSummary:e.imageScanFindingsSummary!=null?deserializeAws_json1_1ImageScanFindingsSummary(e.imageScanFindingsSummary,t):undefined,imageScanStatus:e.imageScanStatus!=null?deserializeAws_json1_1ImageScanStatus(e.imageScanStatus,t):undefined,imageSizeInBytes:(0,r.expectLong)(e.imageSizeInBytes),imageTags:e.imageTags!=null?deserializeAws_json1_1ImageTagList(e.imageTags,t):undefined,lastRecordedPullTime:e.lastRecordedPullTime!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.lastRecordedPullTime))):undefined,registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1ImageDetailList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1ImageDetail(e,t)}));return o};const deserializeAws_json1_1ImageDigestDoesNotMatchException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1ImageFailure=(e,t)=>({failureCode:(0,r.expectString)(e.failureCode),failureReason:(0,r.expectString)(e.failureReason),imageId:e.imageId!=null?deserializeAws_json1_1ImageIdentifier(e.imageId,t):undefined});const deserializeAws_json1_1ImageFailureList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1ImageFailure(e,t)}));return o};const deserializeAws_json1_1ImageIdentifier=(e,t)=>({imageDigest:(0,r.expectString)(e.imageDigest),imageTag:(0,r.expectString)(e.imageTag)});const deserializeAws_json1_1ImageIdentifierList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1ImageIdentifier(e,t)}));return o};const deserializeAws_json1_1ImageList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1Image(e,t)}));return o};const deserializeAws_json1_1ImageNotFoundException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1ImageReplicationStatus=(e,t)=>({failureCode:(0,r.expectString)(e.failureCode),region:(0,r.expectString)(e.region),registryId:(0,r.expectString)(e.registryId),status:(0,r.expectString)(e.status)});const deserializeAws_json1_1ImageReplicationStatusList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1ImageReplicationStatus(e,t)}));return o};const deserializeAws_json1_1ImageScanFinding=(e,t)=>({attributes:e.attributes!=null?deserializeAws_json1_1AttributeList(e.attributes,t):undefined,description:(0,r.expectString)(e.description),name:(0,r.expectString)(e.name),severity:(0,r.expectString)(e.severity),uri:(0,r.expectString)(e.uri)});const deserializeAws_json1_1ImageScanFindingList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1ImageScanFinding(e,t)}));return o};const deserializeAws_json1_1ImageScanFindings=(e,t)=>({enhancedFindings:e.enhancedFindings!=null?deserializeAws_json1_1EnhancedImageScanFindingList(e.enhancedFindings,t):undefined,findingSeverityCounts:e.findingSeverityCounts!=null?deserializeAws_json1_1FindingSeverityCounts(e.findingSeverityCounts,t):undefined,findings:e.findings!=null?deserializeAws_json1_1ImageScanFindingList(e.findings,t):undefined,imageScanCompletedAt:e.imageScanCompletedAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.imageScanCompletedAt))):undefined,vulnerabilitySourceUpdatedAt:e.vulnerabilitySourceUpdatedAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.vulnerabilitySourceUpdatedAt))):undefined});const deserializeAws_json1_1ImageScanFindingsSummary=(e,t)=>({findingSeverityCounts:e.findingSeverityCounts!=null?deserializeAws_json1_1FindingSeverityCounts(e.findingSeverityCounts,t):undefined,imageScanCompletedAt:e.imageScanCompletedAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.imageScanCompletedAt))):undefined,vulnerabilitySourceUpdatedAt:e.vulnerabilitySourceUpdatedAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.vulnerabilitySourceUpdatedAt))):undefined});const deserializeAws_json1_1ImageScanningConfiguration=(e,t)=>({scanOnPush:(0,r.expectBoolean)(e.scanOnPush)});const deserializeAws_json1_1ImageScanStatus=(e,t)=>({description:(0,r.expectString)(e.description),status:(0,r.expectString)(e.status)});const deserializeAws_json1_1ImageTagAlreadyExistsException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1ImageTagList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return(0,r.expectString)(e)}));return o};const deserializeAws_json1_1ImageTagsList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return(0,r.expectString)(e)}));return o};const deserializeAws_json1_1InitiateLayerUploadResponse=(e,t)=>({partSize:(0,r.expectLong)(e.partSize),uploadId:(0,r.expectString)(e.uploadId)});const deserializeAws_json1_1InvalidLayerException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1InvalidLayerPartException=(e,t)=>({lastValidByteReceived:(0,r.expectLong)(e.lastValidByteReceived),message:(0,r.expectString)(e.message),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName),uploadId:(0,r.expectString)(e.uploadId)});const deserializeAws_json1_1InvalidParameterException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1InvalidTagParameterException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1KmsException=(e,t)=>({kmsError:(0,r.expectString)(e.kmsError),message:(0,r.expectString)(e.message)});const deserializeAws_json1_1Layer=(e,t)=>({layerAvailability:(0,r.expectString)(e.layerAvailability),layerDigest:(0,r.expectString)(e.layerDigest),layerSize:(0,r.expectLong)(e.layerSize),mediaType:(0,r.expectString)(e.mediaType)});const deserializeAws_json1_1LayerAlreadyExistsException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1LayerFailure=(e,t)=>({failureCode:(0,r.expectString)(e.failureCode),failureReason:(0,r.expectString)(e.failureReason),layerDigest:(0,r.expectString)(e.layerDigest)});const deserializeAws_json1_1LayerFailureList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1LayerFailure(e,t)}));return o};const deserializeAws_json1_1LayerInaccessibleException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1LayerList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1Layer(e,t)}));return o};const deserializeAws_json1_1LayerPartTooSmallException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1LayersNotFoundException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1LifecyclePolicyNotFoundException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1LifecyclePolicyPreviewInProgressException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1LifecyclePolicyPreviewNotFoundException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1LifecyclePolicyPreviewResult=(e,t)=>({action:e.action!=null?deserializeAws_json1_1LifecyclePolicyRuleAction(e.action,t):undefined,appliedRulePriority:(0,r.expectInt32)(e.appliedRulePriority),imageDigest:(0,r.expectString)(e.imageDigest),imagePushedAt:e.imagePushedAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.imagePushedAt))):undefined,imageTags:e.imageTags!=null?deserializeAws_json1_1ImageTagList(e.imageTags,t):undefined});const deserializeAws_json1_1LifecyclePolicyPreviewResultList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1LifecyclePolicyPreviewResult(e,t)}));return o};const deserializeAws_json1_1LifecyclePolicyPreviewSummary=(e,t)=>({expiringImageTotalCount:(0,r.expectInt32)(e.expiringImageTotalCount)});const deserializeAws_json1_1LifecyclePolicyRuleAction=(e,t)=>({type:(0,r.expectString)(e.type)});const deserializeAws_json1_1LimitExceededException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1ListImagesResponse=(e,t)=>({imageIds:e.imageIds!=null?deserializeAws_json1_1ImageIdentifierList(e.imageIds,t):undefined,nextToken:(0,r.expectString)(e.nextToken)});const deserializeAws_json1_1ListTagsForResourceResponse=(e,t)=>({tags:e.tags!=null?deserializeAws_json1_1TagList(e.tags,t):undefined});const deserializeAws_json1_1PackageVulnerabilityDetails=(e,t)=>({cvss:e.cvss!=null?deserializeAws_json1_1CvssScoreList(e.cvss,t):undefined,referenceUrls:e.referenceUrls!=null?deserializeAws_json1_1ReferenceUrlsList(e.referenceUrls,t):undefined,relatedVulnerabilities:e.relatedVulnerabilities!=null?deserializeAws_json1_1RelatedVulnerabilitiesList(e.relatedVulnerabilities,t):undefined,source:(0,r.expectString)(e.source),sourceUrl:(0,r.expectString)(e.sourceUrl),vendorCreatedAt:e.vendorCreatedAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.vendorCreatedAt))):undefined,vendorSeverity:(0,r.expectString)(e.vendorSeverity),vendorUpdatedAt:e.vendorUpdatedAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.vendorUpdatedAt))):undefined,vulnerabilityId:(0,r.expectString)(e.vulnerabilityId),vulnerablePackages:e.vulnerablePackages!=null?deserializeAws_json1_1VulnerablePackagesList(e.vulnerablePackages,t):undefined});const deserializeAws_json1_1PullThroughCacheRule=(e,t)=>({createdAt:e.createdAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.createdAt))):undefined,ecrRepositoryPrefix:(0,r.expectString)(e.ecrRepositoryPrefix),registryId:(0,r.expectString)(e.registryId),upstreamRegistryUrl:(0,r.expectString)(e.upstreamRegistryUrl)});const deserializeAws_json1_1PullThroughCacheRuleAlreadyExistsException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1PullThroughCacheRuleList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1PullThroughCacheRule(e,t)}));return o};const deserializeAws_json1_1PullThroughCacheRuleNotFoundException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1PutImageResponse=(e,t)=>({image:e.image!=null?deserializeAws_json1_1Image(e.image,t):undefined});const deserializeAws_json1_1PutImageScanningConfigurationResponse=(e,t)=>({imageScanningConfiguration:e.imageScanningConfiguration!=null?deserializeAws_json1_1ImageScanningConfiguration(e.imageScanningConfiguration,t):undefined,registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1PutImageTagMutabilityResponse=(e,t)=>({imageTagMutability:(0,r.expectString)(e.imageTagMutability),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1PutLifecyclePolicyResponse=(e,t)=>({lifecyclePolicyText:(0,r.expectString)(e.lifecyclePolicyText),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1PutRegistryPolicyResponse=(e,t)=>({policyText:(0,r.expectString)(e.policyText),registryId:(0,r.expectString)(e.registryId)});const deserializeAws_json1_1PutRegistryScanningConfigurationResponse=(e,t)=>({registryScanningConfiguration:e.registryScanningConfiguration!=null?deserializeAws_json1_1RegistryScanningConfiguration(e.registryScanningConfiguration,t):undefined});const deserializeAws_json1_1PutReplicationConfigurationResponse=(e,t)=>({replicationConfiguration:e.replicationConfiguration!=null?deserializeAws_json1_1ReplicationConfiguration(e.replicationConfiguration,t):undefined});const deserializeAws_json1_1Recommendation=(e,t)=>({text:(0,r.expectString)(e.text),url:(0,r.expectString)(e.url)});const deserializeAws_json1_1ReferencedImagesNotFoundException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1ReferenceUrlsList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return(0,r.expectString)(e)}));return o};const deserializeAws_json1_1RegistryPolicyNotFoundException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1RegistryScanningConfiguration=(e,t)=>({rules:e.rules!=null?deserializeAws_json1_1RegistryScanningRuleList(e.rules,t):undefined,scanType:(0,r.expectString)(e.scanType)});const deserializeAws_json1_1RegistryScanningRule=(e,t)=>({repositoryFilters:e.repositoryFilters!=null?deserializeAws_json1_1ScanningRepositoryFilterList(e.repositoryFilters,t):undefined,scanFrequency:(0,r.expectString)(e.scanFrequency)});const deserializeAws_json1_1RegistryScanningRuleList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1RegistryScanningRule(e,t)}));return o};const deserializeAws_json1_1RelatedVulnerabilitiesList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return(0,r.expectString)(e)}));return o};const deserializeAws_json1_1Remediation=(e,t)=>({recommendation:e.recommendation!=null?deserializeAws_json1_1Recommendation(e.recommendation,t):undefined});const deserializeAws_json1_1ReplicationConfiguration=(e,t)=>({rules:e.rules!=null?deserializeAws_json1_1ReplicationRuleList(e.rules,t):undefined});const deserializeAws_json1_1ReplicationDestination=(e,t)=>({region:(0,r.expectString)(e.region),registryId:(0,r.expectString)(e.registryId)});const deserializeAws_json1_1ReplicationDestinationList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1ReplicationDestination(e,t)}));return o};const deserializeAws_json1_1ReplicationRule=(e,t)=>({destinations:e.destinations!=null?deserializeAws_json1_1ReplicationDestinationList(e.destinations,t):undefined,repositoryFilters:e.repositoryFilters!=null?deserializeAws_json1_1RepositoryFilterList(e.repositoryFilters,t):undefined});const deserializeAws_json1_1ReplicationRuleList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1ReplicationRule(e,t)}));return o};const deserializeAws_json1_1Repository=(e,t)=>({createdAt:e.createdAt!=null?(0,r.expectNonNull)((0,r.parseEpochTimestamp)((0,r.expectNumber)(e.createdAt))):undefined,encryptionConfiguration:e.encryptionConfiguration!=null?deserializeAws_json1_1EncryptionConfiguration(e.encryptionConfiguration,t):undefined,imageScanningConfiguration:e.imageScanningConfiguration!=null?deserializeAws_json1_1ImageScanningConfiguration(e.imageScanningConfiguration,t):undefined,imageTagMutability:(0,r.expectString)(e.imageTagMutability),registryId:(0,r.expectString)(e.registryId),repositoryArn:(0,r.expectString)(e.repositoryArn),repositoryName:(0,r.expectString)(e.repositoryName),repositoryUri:(0,r.expectString)(e.repositoryUri)});const deserializeAws_json1_1RepositoryAlreadyExistsException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1RepositoryFilter=(e,t)=>({filter:(0,r.expectString)(e.filter),filterType:(0,r.expectString)(e.filterType)});const deserializeAws_json1_1RepositoryFilterList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1RepositoryFilter(e,t)}));return o};const deserializeAws_json1_1RepositoryList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1Repository(e,t)}));return o};const deserializeAws_json1_1RepositoryNotEmptyException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1RepositoryNotFoundException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1RepositoryPolicyNotFoundException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1RepositoryScanningConfiguration=(e,t)=>({appliedScanFilters:e.appliedScanFilters!=null?deserializeAws_json1_1ScanningRepositoryFilterList(e.appliedScanFilters,t):undefined,repositoryArn:(0,r.expectString)(e.repositoryArn),repositoryName:(0,r.expectString)(e.repositoryName),scanFrequency:(0,r.expectString)(e.scanFrequency),scanOnPush:(0,r.expectBoolean)(e.scanOnPush)});const deserializeAws_json1_1RepositoryScanningConfigurationFailure=(e,t)=>({failureCode:(0,r.expectString)(e.failureCode),failureReason:(0,r.expectString)(e.failureReason),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1RepositoryScanningConfigurationFailureList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1RepositoryScanningConfigurationFailure(e,t)}));return o};const deserializeAws_json1_1RepositoryScanningConfigurationList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1RepositoryScanningConfiguration(e,t)}));return o};const deserializeAws_json1_1Resource=(e,t)=>({details:e.details!=null?deserializeAws_json1_1ResourceDetails(e.details,t):undefined,id:(0,r.expectString)(e.id),tags:e.tags!=null?deserializeAws_json1_1Tags(e.tags,t):undefined,type:(0,r.expectString)(e.type)});const deserializeAws_json1_1ResourceDetails=(e,t)=>({awsEcrContainerImage:e.awsEcrContainerImage!=null?deserializeAws_json1_1AwsEcrContainerImageDetails(e.awsEcrContainerImage,t):undefined});const deserializeAws_json1_1ResourceList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1Resource(e,t)}));return o};const deserializeAws_json1_1ScanningRepositoryFilter=(e,t)=>({filter:(0,r.expectString)(e.filter),filterType:(0,r.expectString)(e.filterType)});const deserializeAws_json1_1ScanningRepositoryFilterList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1ScanningRepositoryFilter(e,t)}));return o};const deserializeAws_json1_1ScanNotFoundException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1ScoreDetails=(e,t)=>({cvss:e.cvss!=null?deserializeAws_json1_1CvssScoreDetails(e.cvss,t):undefined});const deserializeAws_json1_1ServerException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1SetRepositoryPolicyResponse=(e,t)=>({policyText:(0,r.expectString)(e.policyText),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1StartImageScanResponse=(e,t)=>({imageId:e.imageId!=null?deserializeAws_json1_1ImageIdentifier(e.imageId,t):undefined,imageScanStatus:e.imageScanStatus!=null?deserializeAws_json1_1ImageScanStatus(e.imageScanStatus,t):undefined,registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName)});const deserializeAws_json1_1StartLifecyclePolicyPreviewResponse=(e,t)=>({lifecyclePolicyText:(0,r.expectString)(e.lifecyclePolicyText),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName),status:(0,r.expectString)(e.status)});const deserializeAws_json1_1Tag=(e,t)=>({Key:(0,r.expectString)(e.Key),Value:(0,r.expectString)(e.Value)});const deserializeAws_json1_1TagList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1Tag(e,t)}));return o};const deserializeAws_json1_1TagResourceResponse=(e,t)=>({});const deserializeAws_json1_1Tags=(e,t)=>Object.entries(e).reduce(((e,[t,o])=>{if(o===null){return e}return{...e,[t]:(0,r.expectString)(o)}}),{});const deserializeAws_json1_1TooManyTagsException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1UnsupportedImageTypeException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1UnsupportedUpstreamRegistryException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1UntagResourceResponse=(e,t)=>({});const deserializeAws_json1_1UploadLayerPartResponse=(e,t)=>({lastByteReceived:(0,r.expectLong)(e.lastByteReceived),registryId:(0,r.expectString)(e.registryId),repositoryName:(0,r.expectString)(e.repositoryName),uploadId:(0,r.expectString)(e.uploadId)});const deserializeAws_json1_1UploadNotFoundException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1ValidationException=(e,t)=>({message:(0,r.expectString)(e.message)});const deserializeAws_json1_1VulnerablePackage=(e,t)=>({arch:(0,r.expectString)(e.arch),epoch:(0,r.expectInt32)(e.epoch),filePath:(0,r.expectString)(e.filePath),name:(0,r.expectString)(e.name),packageManager:(0,r.expectString)(e.packageManager),release:(0,r.expectString)(e.release),sourceLayerHash:(0,r.expectString)(e.sourceLayerHash),version:(0,r.expectString)(e.version)});const deserializeAws_json1_1VulnerablePackagesList=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_json1_1VulnerablePackage(e,t)}));return o};const deserializeMetadata=e=>{var t,o;return{httpStatusCode:e.statusCode,requestId:(o=(t=e.headers["x-amzn-requestid"])!==null&&t!==void 0?t:e.headers["x-amzn-request-id"])!==null&&o!==void 0?o:e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}};const collectBody=(e=new Uint8Array,t)=>{if(e instanceof Uint8Array){return Promise.resolve(e)}return t.streamCollector(e)||Promise.resolve(new Uint8Array)};const collectBodyString=(e,t)=>collectBody(e,t).then((e=>t.utf8Encoder(e)));const buildHttpRpcRequest=async(e,t,o,r,s)=>{const{hostname:i,protocol:a="https",port:c,path:l}=await e.endpoint();const u={protocol:a,hostname:i,port:c,method:"POST",path:l.endsWith("/")?l.slice(0,-1)+o:l+o,headers:t};if(r!==undefined){u.hostname=r}if(s!==undefined){u.body=s}return new n.HttpRequest(u)};const parseBody=(e,t)=>collectBodyString(e,t).then((e=>{if(e.length){return JSON.parse(e)}return{}}));const parseErrorBody=async(e,t)=>{var o;const n=await parseBody(e,t);n.message=(o=n.message)!==null&&o!==void 0?o:n.Message;return n};const loadRestJsonErrorCode=(e,t)=>{const findKey=(e,t)=>Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase()));const sanitizeErrorCode=e=>{let t=e;if(typeof t==="number"){t=t.toString()}if(t.indexOf(",")>=0){t=t.split(",")[0]}if(t.indexOf(":")>=0){t=t.split(":")[0]}if(t.indexOf("#")>=0){t=t.split("#")[1]}return t};const o=findKey(e.headers,"x-amzn-errortype");if(o!==undefined){return sanitizeErrorCode(e.headers[o])}if(t.code!==undefined){return sanitizeErrorCode(t.code)}if(t["__type"]!==undefined){return sanitizeErrorCode(t["__type"])}}},869:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=o(4351);const r=n.__importDefault(o(4289));const s=o(2209);const i=o(6153);const a=o(5531);const c=o(7442);const l=o(6064);const u=o(7684);const d=o(8805);const p=o(8588);const m=o(4147);const g=o(8095);const f=o(6278);const y=o(542);const h=o(4963);const v=o(4243);const w=o(4963);const getRuntimeConfig=e=>{var t,o,n,E,S,C,x,_,R,b,P,I,A,T,L;(0,w.emitWarningIfUnsupportedVersion)(process.version);const N=(0,v.resolveDefaultsModeConfig)(e);const defaultConfigProvider=()=>N().then(h.loadConfigsForDefaultMode);const D=(0,y.getRuntimeConfig)(e);return{...D,...e,runtime:"node",defaultsMode:N,base64Decoder:(t=e===null||e===void 0?void 0:e.base64Decoder)!==null&&t!==void 0?t:p.fromBase64,base64Encoder:(o=e===null||e===void 0?void 0:e.base64Encoder)!==null&&o!==void 0?o:p.toBase64,bodyLengthChecker:(n=e===null||e===void 0?void 0:e.bodyLengthChecker)!==null&&n!==void 0?n:m.calculateBodyLength,credentialDefaultProvider:(E=e===null||e===void 0?void 0:e.credentialDefaultProvider)!==null&&E!==void 0?E:(0,s.decorateDefaultCredentialProvider)(a.defaultProvider),defaultUserAgentProvider:(S=e===null||e===void 0?void 0:e.defaultUserAgentProvider)!==null&&S!==void 0?S:(0,g.defaultUserAgent)({serviceId:D.serviceId,clientVersion:r.default.version}),maxAttempts:(C=e===null||e===void 0?void 0:e.maxAttempts)!==null&&C!==void 0?C:(0,u.loadConfig)(l.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:(x=e===null||e===void 0?void 0:e.region)!==null&&x!==void 0?x:(0,u.loadConfig)(i.NODE_REGION_CONFIG_OPTIONS,i.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:(_=e===null||e===void 0?void 0:e.requestHandler)!==null&&_!==void 0?_:new d.NodeHttpHandler(defaultConfigProvider),retryMode:(R=e===null||e===void 0?void 0:e.retryMode)!==null&&R!==void 0?R:(0,u.loadConfig)({...l.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await defaultConfigProvider()).retryMode||l.DEFAULT_RETRY_MODE}),sha256:(b=e===null||e===void 0?void 0:e.sha256)!==null&&b!==void 0?b:c.Hash.bind(null,"sha256"),streamCollector:(P=e===null||e===void 0?void 0:e.streamCollector)!==null&&P!==void 0?P:d.streamCollector,useDualstackEndpoint:(I=e===null||e===void 0?void 0:e.useDualstackEndpoint)!==null&&I!==void 0?I:(0,u.loadConfig)(i.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:(A=e===null||e===void 0?void 0:e.useFipsEndpoint)!==null&&A!==void 0?A:(0,u.loadConfig)(i.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),utf8Decoder:(T=e===null||e===void 0?void 0:e.utf8Decoder)!==null&&T!==void 0?T:f.fromUtf8,utf8Encoder:(L=e===null||e===void 0?void 0:e.utf8Encoder)!==null&&L!==void 0?L:f.toUtf8}};t.getRuntimeConfig=getRuntimeConfig},542:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=o(7190);const r=o(3070);const getRuntimeConfig=e=>{var t,o,s,i,a;return{apiVersion:"2015-09-21",disableHostPrefix:(t=e===null||e===void 0?void 0:e.disableHostPrefix)!==null&&t!==void 0?t:false,logger:(o=e===null||e===void 0?void 0:e.logger)!==null&&o!==void 0?o:{},regionInfoProvider:(s=e===null||e===void 0?void 0:e.regionInfoProvider)!==null&&s!==void 0?s:r.defaultRegionInfoProvider,serviceId:(i=e===null||e===void 0?void 0:e.serviceId)!==null&&i!==void 0?i:"ECR",urlParser:(a=e===null||e===void 0?void 0:e.urlParser)!==null&&a!==void 0?a:n.parseUrl}};t.getRuntimeConfig=getRuntimeConfig},8406:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(8547),t);n.__exportStar(o(5723),t)},8547:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.waitUntilImageScanComplete=t.waitForImageScanComplete=void 0;const n=o(1627);const r=o(2987);const checkState=async(e,t)=>{let o;try{const s=await e.send(new r.DescribeImageScanFindingsCommand(t));o=s;try{const returnComparator=()=>s.imageScanStatus.status;if(returnComparator()==="COMPLETE"){return{state:n.WaiterState.SUCCESS,reason:o}}}catch(e){}try{const returnComparator=()=>s.imageScanStatus.status;if(returnComparator()==="FAILED"){return{state:n.WaiterState.FAILURE,reason:o}}}catch(e){}}catch(e){o=e}return{state:n.WaiterState.RETRY,reason:o}};const waitForImageScanComplete=async(e,t)=>{const o={minDelay:5,maxDelay:120};return(0,n.createWaiter)({...o,...e},t,checkState)};t.waitForImageScanComplete=waitForImageScanComplete;const waitUntilImageScanComplete=async(e,t)=>{const o={minDelay:5,maxDelay:120};const r=await(0,n.createWaiter)({...o,...e},t,checkState);return(0,n.checkExceptions)(r)};t.waitUntilImageScanComplete=waitUntilImageScanComplete},5723:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.waitUntilLifecyclePolicyPreviewComplete=t.waitForLifecyclePolicyPreviewComplete=void 0;const n=o(1627);const r=o(7006);const checkState=async(e,t)=>{let o;try{const s=await e.send(new r.GetLifecyclePolicyPreviewCommand(t));o=s;try{const returnComparator=()=>s.status;if(returnComparator()==="COMPLETE"){return{state:n.WaiterState.SUCCESS,reason:o}}}catch(e){}try{const returnComparator=()=>s.status;if(returnComparator()==="FAILED"){return{state:n.WaiterState.FAILURE,reason:o}}}catch(e){}}catch(e){o=e}return{state:n.WaiterState.RETRY,reason:o}};const waitForLifecyclePolicyPreviewComplete=async(e,t)=>{const o={minDelay:5,maxDelay:120};return(0,n.createWaiter)({...o,...e},t,checkState)};t.waitForLifecyclePolicyPreviewComplete=waitForLifecyclePolicyPreviewComplete;const waitUntilLifecyclePolicyPreviewComplete=async(e,t)=>{const o={minDelay:5,maxDelay:120};const r=await(0,n.createWaiter)({...o,...e},t,checkState);return(0,n.checkExceptions)(r)};t.waitUntilLifecyclePolicyPreviewComplete=waitUntilLifecyclePolicyPreviewComplete},9838:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SSO=void 0;const n=o(8972);const r=o(1513);const s=o(4296);const i=o(4511);const a=o(1057);class SSO extends a.SSOClient{getRoleCredentials(e,t,o){const r=new n.GetRoleCredentialsCommand(e);if(typeof t==="function"){this.send(r,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(r,t||{},o)}else{return this.send(r,t)}}listAccountRoles(e,t,o){const n=new r.ListAccountRolesCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}listAccounts(e,t,o){const n=new s.ListAccountsCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}logout(e,t,o){const n=new i.LogoutCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}}t.SSO=SSO},1057:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SSOClient=void 0;const n=o(6153);const r=o(2245);const s=o(2545);const i=o(14);const a=o(5525);const c=o(6064);const l=o(4688);const u=o(4963);const d=o(9756);class SSOClient extends u.Client{constructor(e){const t=(0,d.getRuntimeConfig)(e);const o=(0,n.resolveRegionConfig)(t);const u=(0,n.resolveEndpointsConfig)(o);const p=(0,c.resolveRetryConfig)(u);const m=(0,s.resolveHostHeaderConfig)(p);const g=(0,l.resolveUserAgentConfig)(m);super(g);this.config=g;this.middlewareStack.use((0,c.getRetryPlugin)(this.config));this.middlewareStack.use((0,r.getContentLengthPlugin)(this.config));this.middlewareStack.use((0,s.getHostHeaderPlugin)(this.config));this.middlewareStack.use((0,i.getLoggerPlugin)(this.config));this.middlewareStack.use((0,a.getRecursionDetectionPlugin)(this.config));this.middlewareStack.use((0,l.getUserAgentPlugin)(this.config))}destroy(){super.destroy()}}t.SSOClient=SSOClient},8972:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GetRoleCredentialsCommand=void 0;const n=o(3631);const r=o(4963);const s=o(6390);const i=o(8507);class GetRoleCredentialsCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="SSOClient";const c="GetRoleCredentialsCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.GetRoleCredentialsRequestFilterSensitiveLog,outputFilterSensitiveLog:s.GetRoleCredentialsResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_restJson1GetRoleCredentialsCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_restJson1GetRoleCredentialsCommand)(e,t)}}t.GetRoleCredentialsCommand=GetRoleCredentialsCommand},1513:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ListAccountRolesCommand=void 0;const n=o(3631);const r=o(4963);const s=o(6390);const i=o(8507);class ListAccountRolesCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="SSOClient";const c="ListAccountRolesCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.ListAccountRolesRequestFilterSensitiveLog,outputFilterSensitiveLog:s.ListAccountRolesResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_restJson1ListAccountRolesCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_restJson1ListAccountRolesCommand)(e,t)}}t.ListAccountRolesCommand=ListAccountRolesCommand},4296:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ListAccountsCommand=void 0;const n=o(3631);const r=o(4963);const s=o(6390);const i=o(8507);class ListAccountsCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="SSOClient";const c="ListAccountsCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.ListAccountsRequestFilterSensitiveLog,outputFilterSensitiveLog:s.ListAccountsResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_restJson1ListAccountsCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_restJson1ListAccountsCommand)(e,t)}}t.ListAccountsCommand=ListAccountsCommand},4511:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LogoutCommand=void 0;const n=o(3631);const r=o(4963);const s=o(6390);const i=o(8507);class LogoutCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="SSOClient";const c="LogoutCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.LogoutRequestFilterSensitiveLog,outputFilterSensitiveLog:e=>e};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_restJson1LogoutCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_restJson1LogoutCommand)(e,t)}}t.LogoutCommand=LogoutCommand},5706:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(8972),t);n.__exportStar(o(1513),t);n.__exportStar(o(4296),t);n.__exportStar(o(4511),t)},3546:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.defaultRegionInfoProvider=void 0;const n=o(6153);const r={"ap-east-1":{variants:[{hostname:"portal.sso.ap-east-1.amazonaws.com",tags:[]}],signingRegion:"ap-east-1"},"ap-northeast-1":{variants:[{hostname:"portal.sso.ap-northeast-1.amazonaws.com",tags:[]}],signingRegion:"ap-northeast-1"},"ap-northeast-2":{variants:[{hostname:"portal.sso.ap-northeast-2.amazonaws.com",tags:[]}],signingRegion:"ap-northeast-2"},"ap-northeast-3":{variants:[{hostname:"portal.sso.ap-northeast-3.amazonaws.com",tags:[]}],signingRegion:"ap-northeast-3"},"ap-south-1":{variants:[{hostname:"portal.sso.ap-south-1.amazonaws.com",tags:[]}],signingRegion:"ap-south-1"},"ap-southeast-1":{variants:[{hostname:"portal.sso.ap-southeast-1.amazonaws.com",tags:[]}],signingRegion:"ap-southeast-1"},"ap-southeast-2":{variants:[{hostname:"portal.sso.ap-southeast-2.amazonaws.com",tags:[]}],signingRegion:"ap-southeast-2"},"ca-central-1":{variants:[{hostname:"portal.sso.ca-central-1.amazonaws.com",tags:[]}],signingRegion:"ca-central-1"},"eu-central-1":{variants:[{hostname:"portal.sso.eu-central-1.amazonaws.com",tags:[]}],signingRegion:"eu-central-1"},"eu-north-1":{variants:[{hostname:"portal.sso.eu-north-1.amazonaws.com",tags:[]}],signingRegion:"eu-north-1"},"eu-south-1":{variants:[{hostname:"portal.sso.eu-south-1.amazonaws.com",tags:[]}],signingRegion:"eu-south-1"},"eu-west-1":{variants:[{hostname:"portal.sso.eu-west-1.amazonaws.com",tags:[]}],signingRegion:"eu-west-1"},"eu-west-2":{variants:[{hostname:"portal.sso.eu-west-2.amazonaws.com",tags:[]}],signingRegion:"eu-west-2"},"eu-west-3":{variants:[{hostname:"portal.sso.eu-west-3.amazonaws.com",tags:[]}],signingRegion:"eu-west-3"},"me-south-1":{variants:[{hostname:"portal.sso.me-south-1.amazonaws.com",tags:[]}],signingRegion:"me-south-1"},"sa-east-1":{variants:[{hostname:"portal.sso.sa-east-1.amazonaws.com",tags:[]}],signingRegion:"sa-east-1"},"us-east-1":{variants:[{hostname:"portal.sso.us-east-1.amazonaws.com",tags:[]}],signingRegion:"us-east-1"},"us-east-2":{variants:[{hostname:"portal.sso.us-east-2.amazonaws.com",tags:[]}],signingRegion:"us-east-2"},"us-gov-east-1":{variants:[{hostname:"portal.sso.us-gov-east-1.amazonaws.com",tags:[]}],signingRegion:"us-gov-east-1"},"us-gov-west-1":{variants:[{hostname:"portal.sso.us-gov-west-1.amazonaws.com",tags:[]}],signingRegion:"us-gov-west-1"},"us-west-2":{variants:[{hostname:"portal.sso.us-west-2.amazonaws.com",tags:[]}],signingRegion:"us-west-2"}};const s={aws:{regions:["af-south-1","ap-east-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-south-1","ap-southeast-1","ap-southeast-2","ap-southeast-3","ca-central-1","eu-central-1","eu-north-1","eu-south-1","eu-west-1","eu-west-2","eu-west-3","me-central-1","me-south-1","sa-east-1","us-east-1","us-east-2","us-west-1","us-west-2"],regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",variants:[{hostname:"portal.sso.{region}.amazonaws.com",tags:[]},{hostname:"portal.sso-fips.{region}.amazonaws.com",tags:["fips"]},{hostname:"portal.sso-fips.{region}.api.aws",tags:["dualstack","fips"]},{hostname:"portal.sso.{region}.api.aws",tags:["dualstack"]}]},"aws-cn":{regions:["cn-north-1","cn-northwest-1"],regionRegex:"^cn\\-\\w+\\-\\d+$",variants:[{hostname:"portal.sso.{region}.amazonaws.com.cn",tags:[]},{hostname:"portal.sso-fips.{region}.amazonaws.com.cn",tags:["fips"]},{hostname:"portal.sso-fips.{region}.api.amazonwebservices.com.cn",tags:["dualstack","fips"]},{hostname:"portal.sso.{region}.api.amazonwebservices.com.cn",tags:["dualstack"]}]},"aws-iso":{regions:["us-iso-east-1","us-iso-west-1"],regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",variants:[{hostname:"portal.sso.{region}.c2s.ic.gov",tags:[]},{hostname:"portal.sso-fips.{region}.c2s.ic.gov",tags:["fips"]}]},"aws-iso-b":{regions:["us-isob-east-1"],regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",variants:[{hostname:"portal.sso.{region}.sc2s.sgov.gov",tags:[]},{hostname:"portal.sso-fips.{region}.sc2s.sgov.gov",tags:["fips"]}]},"aws-us-gov":{regions:["us-gov-east-1","us-gov-west-1"],regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",variants:[{hostname:"portal.sso.{region}.amazonaws.com",tags:[]},{hostname:"portal.sso-fips.{region}.amazonaws.com",tags:["fips"]},{hostname:"portal.sso-fips.{region}.api.aws",tags:["dualstack","fips"]},{hostname:"portal.sso.{region}.api.aws",tags:["dualstack"]}]}};const defaultRegionInfoProvider=async(e,t)=>(0,n.getRegionInfo)(e,{...t,signingService:"awsssoportal",regionHash:r,partitionHash:s});t.defaultRegionInfoProvider=defaultRegionInfoProvider},2666:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SSOServiceException=void 0;const n=o(4351);n.__exportStar(o(9838),t);n.__exportStar(o(1057),t);n.__exportStar(o(5706),t);n.__exportStar(o(4952),t);n.__exportStar(o(6773),t);var r=o(1517);Object.defineProperty(t,"SSOServiceException",{enumerable:true,get:function(){return r.SSOServiceException}})},1517:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SSOServiceException=void 0;const n=o(4963);class SSOServiceException extends n.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,SSOServiceException.prototype)}}t.SSOServiceException=SSOServiceException},4952:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(6390),t)},6390:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LogoutRequestFilterSensitiveLog=t.ListAccountsResponseFilterSensitiveLog=t.ListAccountsRequestFilterSensitiveLog=t.ListAccountRolesResponseFilterSensitiveLog=t.RoleInfoFilterSensitiveLog=t.ListAccountRolesRequestFilterSensitiveLog=t.GetRoleCredentialsResponseFilterSensitiveLog=t.RoleCredentialsFilterSensitiveLog=t.GetRoleCredentialsRequestFilterSensitiveLog=t.AccountInfoFilterSensitiveLog=t.UnauthorizedException=t.TooManyRequestsException=t.ResourceNotFoundException=t.InvalidRequestException=void 0;const n=o(4963);const r=o(1517);class InvalidRequestException extends r.SSOServiceException{constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});this.name="InvalidRequestException";this.$fault="client";Object.setPrototypeOf(this,InvalidRequestException.prototype)}}t.InvalidRequestException=InvalidRequestException;class ResourceNotFoundException extends r.SSOServiceException{constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e});this.name="ResourceNotFoundException";this.$fault="client";Object.setPrototypeOf(this,ResourceNotFoundException.prototype)}}t.ResourceNotFoundException=ResourceNotFoundException;class TooManyRequestsException extends r.SSOServiceException{constructor(e){super({name:"TooManyRequestsException",$fault:"client",...e});this.name="TooManyRequestsException";this.$fault="client";Object.setPrototypeOf(this,TooManyRequestsException.prototype)}}t.TooManyRequestsException=TooManyRequestsException;class UnauthorizedException extends r.SSOServiceException{constructor(e){super({name:"UnauthorizedException",$fault:"client",...e});this.name="UnauthorizedException";this.$fault="client";Object.setPrototypeOf(this,UnauthorizedException.prototype)}}t.UnauthorizedException=UnauthorizedException;const AccountInfoFilterSensitiveLog=e=>({...e});t.AccountInfoFilterSensitiveLog=AccountInfoFilterSensitiveLog;const GetRoleCredentialsRequestFilterSensitiveLog=e=>({...e,...e.accessToken&&{accessToken:n.SENSITIVE_STRING}});t.GetRoleCredentialsRequestFilterSensitiveLog=GetRoleCredentialsRequestFilterSensitiveLog;const RoleCredentialsFilterSensitiveLog=e=>({...e,...e.secretAccessKey&&{secretAccessKey:n.SENSITIVE_STRING},...e.sessionToken&&{sessionToken:n.SENSITIVE_STRING}});t.RoleCredentialsFilterSensitiveLog=RoleCredentialsFilterSensitiveLog;const GetRoleCredentialsResponseFilterSensitiveLog=e=>({...e,...e.roleCredentials&&{roleCredentials:(0,t.RoleCredentialsFilterSensitiveLog)(e.roleCredentials)}});t.GetRoleCredentialsResponseFilterSensitiveLog=GetRoleCredentialsResponseFilterSensitiveLog;const ListAccountRolesRequestFilterSensitiveLog=e=>({...e,...e.accessToken&&{accessToken:n.SENSITIVE_STRING}});t.ListAccountRolesRequestFilterSensitiveLog=ListAccountRolesRequestFilterSensitiveLog;const RoleInfoFilterSensitiveLog=e=>({...e});t.RoleInfoFilterSensitiveLog=RoleInfoFilterSensitiveLog;const ListAccountRolesResponseFilterSensitiveLog=e=>({...e});t.ListAccountRolesResponseFilterSensitiveLog=ListAccountRolesResponseFilterSensitiveLog;const ListAccountsRequestFilterSensitiveLog=e=>({...e,...e.accessToken&&{accessToken:n.SENSITIVE_STRING}});t.ListAccountsRequestFilterSensitiveLog=ListAccountsRequestFilterSensitiveLog;const ListAccountsResponseFilterSensitiveLog=e=>({...e});t.ListAccountsResponseFilterSensitiveLog=ListAccountsResponseFilterSensitiveLog;const LogoutRequestFilterSensitiveLog=e=>({...e,...e.accessToken&&{accessToken:n.SENSITIVE_STRING}});t.LogoutRequestFilterSensitiveLog=LogoutRequestFilterSensitiveLog},849:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},8460:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.paginateListAccountRoles=void 0;const n=o(1513);const r=o(9838);const s=o(1057);const makePagedClientRequest=async(e,t,...o)=>await e.send(new n.ListAccountRolesCommand(t),...o);const makePagedRequest=async(e,t,...o)=>await e.listAccountRoles(t,...o);async function*paginateListAccountRoles(e,t,...o){let n=e.startingToken||undefined;let i=true;let a;while(i){t.nextToken=n;t["maxResults"]=e.pageSize;if(e.client instanceof r.SSO){a=await makePagedRequest(e.client,t,...o)}else if(e.client instanceof s.SSOClient){a=await makePagedClientRequest(e.client,t,...o)}else{throw new Error("Invalid client, expected SSO | SSOClient")}yield a;const c=n;n=a.nextToken;i=!!(n&&(!e.stopOnSameToken||n!==c))}return undefined}t.paginateListAccountRoles=paginateListAccountRoles},938:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.paginateListAccounts=void 0;const n=o(4296);const r=o(9838);const s=o(1057);const makePagedClientRequest=async(e,t,...o)=>await e.send(new n.ListAccountsCommand(t),...o);const makePagedRequest=async(e,t,...o)=>await e.listAccounts(t,...o);async function*paginateListAccounts(e,t,...o){let n=e.startingToken||undefined;let i=true;let a;while(i){t.nextToken=n;t["maxResults"]=e.pageSize;if(e.client instanceof r.SSO){a=await makePagedRequest(e.client,t,...o)}else if(e.client instanceof s.SSOClient){a=await makePagedClientRequest(e.client,t,...o)}else{throw new Error("Invalid client, expected SSO | SSOClient")}yield a;const c=n;n=a.nextToken;i=!!(n&&(!e.stopOnSameToken||n!==c))}return undefined}t.paginateListAccounts=paginateListAccounts},6773:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(849),t);n.__exportStar(o(8460),t);n.__exportStar(o(938),t)},8507:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.deserializeAws_restJson1LogoutCommand=t.deserializeAws_restJson1ListAccountsCommand=t.deserializeAws_restJson1ListAccountRolesCommand=t.deserializeAws_restJson1GetRoleCredentialsCommand=t.serializeAws_restJson1LogoutCommand=t.serializeAws_restJson1ListAccountsCommand=t.serializeAws_restJson1ListAccountRolesCommand=t.serializeAws_restJson1GetRoleCredentialsCommand=void 0;const n=o(223);const r=o(4963);const s=o(6390);const i=o(1517);const serializeAws_restJson1GetRoleCredentialsCommand=async(e,t)=>{const{hostname:o,protocol:r="https",port:s,path:i}=await t.endpoint();const c=a({},isSerializableHeaderValue,{"x-amz-sso_bearer_token":e.accessToken});const l=`${(i===null||i===void 0?void 0:i.endsWith("/"))?i.slice(0,-1):i||""}`+"/federation/credentials";const u=a({role_name:[,e.roleName],account_id:[,e.accountId]});let d;return new n.HttpRequest({protocol:r,hostname:o,port:s,method:"GET",headers:c,path:l,query:u,body:d})};t.serializeAws_restJson1GetRoleCredentialsCommand=serializeAws_restJson1GetRoleCredentialsCommand;const serializeAws_restJson1ListAccountRolesCommand=async(e,t)=>{const{hostname:o,protocol:r="https",port:s,path:i}=await t.endpoint();const c=a({},isSerializableHeaderValue,{"x-amz-sso_bearer_token":e.accessToken});const l=`${(i===null||i===void 0?void 0:i.endsWith("/"))?i.slice(0,-1):i||""}`+"/assignment/roles";const u=a({next_token:[,e.nextToken],max_result:[()=>e.maxResults!==void 0,()=>e.maxResults.toString()],account_id:[,e.accountId]});let d;return new n.HttpRequest({protocol:r,hostname:o,port:s,method:"GET",headers:c,path:l,query:u,body:d})};t.serializeAws_restJson1ListAccountRolesCommand=serializeAws_restJson1ListAccountRolesCommand;const serializeAws_restJson1ListAccountsCommand=async(e,t)=>{const{hostname:o,protocol:r="https",port:s,path:i}=await t.endpoint();const c=a({},isSerializableHeaderValue,{"x-amz-sso_bearer_token":e.accessToken});const l=`${(i===null||i===void 0?void 0:i.endsWith("/"))?i.slice(0,-1):i||""}`+"/assignment/accounts";const u=a({next_token:[,e.nextToken],max_result:[()=>e.maxResults!==void 0,()=>e.maxResults.toString()]});let d;return new n.HttpRequest({protocol:r,hostname:o,port:s,method:"GET",headers:c,path:l,query:u,body:d})};t.serializeAws_restJson1ListAccountsCommand=serializeAws_restJson1ListAccountsCommand;const serializeAws_restJson1LogoutCommand=async(e,t)=>{const{hostname:o,protocol:r="https",port:s,path:i}=await t.endpoint();const c=a({},isSerializableHeaderValue,{"x-amz-sso_bearer_token":e.accessToken});const l=`${(i===null||i===void 0?void 0:i.endsWith("/"))?i.slice(0,-1):i||""}`+"/logout";let u;return new n.HttpRequest({protocol:r,hostname:o,port:s,method:"POST",headers:c,path:l,body:u})};t.serializeAws_restJson1LogoutCommand=serializeAws_restJson1LogoutCommand;const deserializeAws_restJson1GetRoleCredentialsCommand=async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return deserializeAws_restJson1GetRoleCredentialsCommandError(e,t)}const o=a({$metadata:deserializeMetadata(e)});const n=(0,r.expectNonNull)((0,r.expectObject)(await parseBody(e.body,t)),"body");if(n.roleCredentials!=null){o.roleCredentials=deserializeAws_restJson1RoleCredentials(n.roleCredentials,t)}return o};t.deserializeAws_restJson1GetRoleCredentialsCommand=deserializeAws_restJson1GetRoleCredentialsCommand;const deserializeAws_restJson1GetRoleCredentialsCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await deserializeAws_restJson1InvalidRequestExceptionResponse(o,t);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(o,t);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(o,t);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await deserializeAws_restJson1UnauthorizedExceptionResponse(o,t);default:const s=o.body;(0,r.throwDefaultError)({output:e,parsedBody:s,exceptionCtor:i.SSOServiceException,errorCode:n})}};const deserializeAws_restJson1ListAccountRolesCommand=async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return deserializeAws_restJson1ListAccountRolesCommandError(e,t)}const o=a({$metadata:deserializeMetadata(e)});const n=(0,r.expectNonNull)((0,r.expectObject)(await parseBody(e.body,t)),"body");if(n.nextToken!=null){o.nextToken=(0,r.expectString)(n.nextToken)}if(n.roleList!=null){o.roleList=deserializeAws_restJson1RoleListType(n.roleList,t)}return o};t.deserializeAws_restJson1ListAccountRolesCommand=deserializeAws_restJson1ListAccountRolesCommand;const deserializeAws_restJson1ListAccountRolesCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await deserializeAws_restJson1InvalidRequestExceptionResponse(o,t);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(o,t);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(o,t);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await deserializeAws_restJson1UnauthorizedExceptionResponse(o,t);default:const s=o.body;(0,r.throwDefaultError)({output:e,parsedBody:s,exceptionCtor:i.SSOServiceException,errorCode:n})}};const deserializeAws_restJson1ListAccountsCommand=async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return deserializeAws_restJson1ListAccountsCommandError(e,t)}const o=a({$metadata:deserializeMetadata(e)});const n=(0,r.expectNonNull)((0,r.expectObject)(await parseBody(e.body,t)),"body");if(n.accountList!=null){o.accountList=deserializeAws_restJson1AccountListType(n.accountList,t)}if(n.nextToken!=null){o.nextToken=(0,r.expectString)(n.nextToken)}return o};t.deserializeAws_restJson1ListAccountsCommand=deserializeAws_restJson1ListAccountsCommand;const deserializeAws_restJson1ListAccountsCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await deserializeAws_restJson1InvalidRequestExceptionResponse(o,t);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(o,t);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(o,t);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await deserializeAws_restJson1UnauthorizedExceptionResponse(o,t);default:const s=o.body;(0,r.throwDefaultError)({output:e,parsedBody:s,exceptionCtor:i.SSOServiceException,errorCode:n})}};const deserializeAws_restJson1LogoutCommand=async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return deserializeAws_restJson1LogoutCommandError(e,t)}const o=a({$metadata:deserializeMetadata(e)});await collectBody(e.body,t);return o};t.deserializeAws_restJson1LogoutCommand=deserializeAws_restJson1LogoutCommand;const deserializeAws_restJson1LogoutCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadRestJsonErrorCode(e,o.body);switch(n){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await deserializeAws_restJson1InvalidRequestExceptionResponse(o,t);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(o,t);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await deserializeAws_restJson1UnauthorizedExceptionResponse(o,t);default:const s=o.body;(0,r.throwDefaultError)({output:e,parsedBody:s,exceptionCtor:i.SSOServiceException,errorCode:n})}};const a=r.map;const deserializeAws_restJson1InvalidRequestExceptionResponse=async(e,t)=>{const o=a({});const n=e.body;if(n.message!=null){o.message=(0,r.expectString)(n.message)}const i=new s.InvalidRequestException({$metadata:deserializeMetadata(e),...o});return(0,r.decorateServiceException)(i,e.body)};const deserializeAws_restJson1ResourceNotFoundExceptionResponse=async(e,t)=>{const o=a({});const n=e.body;if(n.message!=null){o.message=(0,r.expectString)(n.message)}const i=new s.ResourceNotFoundException({$metadata:deserializeMetadata(e),...o});return(0,r.decorateServiceException)(i,e.body)};const deserializeAws_restJson1TooManyRequestsExceptionResponse=async(e,t)=>{const o=a({});const n=e.body;if(n.message!=null){o.message=(0,r.expectString)(n.message)}const i=new s.TooManyRequestsException({$metadata:deserializeMetadata(e),...o});return(0,r.decorateServiceException)(i,e.body)};const deserializeAws_restJson1UnauthorizedExceptionResponse=async(e,t)=>{const o=a({});const n=e.body;if(n.message!=null){o.message=(0,r.expectString)(n.message)}const i=new s.UnauthorizedException({$metadata:deserializeMetadata(e),...o});return(0,r.decorateServiceException)(i,e.body)};const deserializeAws_restJson1AccountInfo=(e,t)=>({accountId:(0,r.expectString)(e.accountId),accountName:(0,r.expectString)(e.accountName),emailAddress:(0,r.expectString)(e.emailAddress)});const deserializeAws_restJson1AccountListType=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_restJson1AccountInfo(e,t)}));return o};const deserializeAws_restJson1RoleCredentials=(e,t)=>({accessKeyId:(0,r.expectString)(e.accessKeyId),expiration:(0,r.expectLong)(e.expiration),secretAccessKey:(0,r.expectString)(e.secretAccessKey),sessionToken:(0,r.expectString)(e.sessionToken)});const deserializeAws_restJson1RoleInfo=(e,t)=>({accountId:(0,r.expectString)(e.accountId),roleName:(0,r.expectString)(e.roleName)});const deserializeAws_restJson1RoleListType=(e,t)=>{const o=(e||[]).filter((e=>e!=null)).map((e=>{if(e===null){return null}return deserializeAws_restJson1RoleInfo(e,t)}));return o};const deserializeMetadata=e=>{var t,o;return{httpStatusCode:e.statusCode,requestId:(o=(t=e.headers["x-amzn-requestid"])!==null&&t!==void 0?t:e.headers["x-amzn-request-id"])!==null&&o!==void 0?o:e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}};const collectBody=(e=new Uint8Array,t)=>{if(e instanceof Uint8Array){return Promise.resolve(e)}return t.streamCollector(e)||Promise.resolve(new Uint8Array)};const collectBodyString=(e,t)=>collectBody(e,t).then((e=>t.utf8Encoder(e)));const isSerializableHeaderValue=e=>e!==undefined&&e!==null&&e!==""&&(!Object.getOwnPropertyNames(e).includes("length")||e.length!=0)&&(!Object.getOwnPropertyNames(e).includes("size")||e.size!=0);const parseBody=(e,t)=>collectBodyString(e,t).then((e=>{if(e.length){return JSON.parse(e)}return{}}));const parseErrorBody=async(e,t)=>{var o;const n=await parseBody(e,t);n.message=(o=n.message)!==null&&o!==void 0?o:n.Message;return n};const loadRestJsonErrorCode=(e,t)=>{const findKey=(e,t)=>Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase()));const sanitizeErrorCode=e=>{let t=e;if(typeof t==="number"){t=t.toString()}if(t.indexOf(",")>=0){t=t.split(",")[0]}if(t.indexOf(":")>=0){t=t.split(":")[0]}if(t.indexOf("#")>=0){t=t.split("#")[1]}return t};const o=findKey(e.headers,"x-amzn-errortype");if(o!==undefined){return sanitizeErrorCode(e.headers[o])}if(t.code!==undefined){return sanitizeErrorCode(t.code)}if(t["__type"]!==undefined){return sanitizeErrorCode(t["__type"])}}},9756:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=o(4351);const r=n.__importDefault(o(1092));const s=o(6153);const i=o(7442);const a=o(6064);const c=o(7684);const l=o(8805);const u=o(8588);const d=o(4147);const p=o(8095);const m=o(6278);const g=o(4355);const f=o(4963);const y=o(4243);const h=o(4963);const getRuntimeConfig=e=>{var t,o,n,v,w,E,S,C,x,_,R,b,P,I;(0,h.emitWarningIfUnsupportedVersion)(process.version);const A=(0,y.resolveDefaultsModeConfig)(e);const defaultConfigProvider=()=>A().then(f.loadConfigsForDefaultMode);const T=(0,g.getRuntimeConfig)(e);return{...T,...e,runtime:"node",defaultsMode:A,base64Decoder:(t=e===null||e===void 0?void 0:e.base64Decoder)!==null&&t!==void 0?t:u.fromBase64,base64Encoder:(o=e===null||e===void 0?void 0:e.base64Encoder)!==null&&o!==void 0?o:u.toBase64,bodyLengthChecker:(n=e===null||e===void 0?void 0:e.bodyLengthChecker)!==null&&n!==void 0?n:d.calculateBodyLength,defaultUserAgentProvider:(v=e===null||e===void 0?void 0:e.defaultUserAgentProvider)!==null&&v!==void 0?v:(0,p.defaultUserAgent)({serviceId:T.serviceId,clientVersion:r.default.version}),maxAttempts:(w=e===null||e===void 0?void 0:e.maxAttempts)!==null&&w!==void 0?w:(0,c.loadConfig)(a.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:(E=e===null||e===void 0?void 0:e.region)!==null&&E!==void 0?E:(0,c.loadConfig)(s.NODE_REGION_CONFIG_OPTIONS,s.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:(S=e===null||e===void 0?void 0:e.requestHandler)!==null&&S!==void 0?S:new l.NodeHttpHandler(defaultConfigProvider),retryMode:(C=e===null||e===void 0?void 0:e.retryMode)!==null&&C!==void 0?C:(0,c.loadConfig)({...a.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await defaultConfigProvider()).retryMode||a.DEFAULT_RETRY_MODE}),sha256:(x=e===null||e===void 0?void 0:e.sha256)!==null&&x!==void 0?x:i.Hash.bind(null,"sha256"),streamCollector:(_=e===null||e===void 0?void 0:e.streamCollector)!==null&&_!==void 0?_:l.streamCollector,useDualstackEndpoint:(R=e===null||e===void 0?void 0:e.useDualstackEndpoint)!==null&&R!==void 0?R:(0,c.loadConfig)(s.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:(b=e===null||e===void 0?void 0:e.useFipsEndpoint)!==null&&b!==void 0?b:(0,c.loadConfig)(s.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),utf8Decoder:(P=e===null||e===void 0?void 0:e.utf8Decoder)!==null&&P!==void 0?P:m.fromUtf8,utf8Encoder:(I=e===null||e===void 0?void 0:e.utf8Encoder)!==null&&I!==void 0?I:m.toUtf8}};t.getRuntimeConfig=getRuntimeConfig},4355:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=o(7190);const r=o(3546);const getRuntimeConfig=e=>{var t,o,s,i,a;return{apiVersion:"2019-06-10",disableHostPrefix:(t=e===null||e===void 0?void 0:e.disableHostPrefix)!==null&&t!==void 0?t:false,logger:(o=e===null||e===void 0?void 0:e.logger)!==null&&o!==void 0?o:{},regionInfoProvider:(s=e===null||e===void 0?void 0:e.regionInfoProvider)!==null&&s!==void 0?s:r.defaultRegionInfoProvider,serviceId:(i=e===null||e===void 0?void 0:e.serviceId)!==null&&i!==void 0?i:"SSO",urlParser:(a=e===null||e===void 0?void 0:e.urlParser)!==null&&a!==void 0?a:n.parseUrl}};t.getRuntimeConfig=getRuntimeConfig},2605:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.STS=void 0;const n=o(9802);const r=o(2865);const s=o(7451);const i=o(4150);const a=o(9804);const c=o(4278);const l=o(7552);const u=o(3285);const d=o(4195);class STS extends d.STSClient{assumeRole(e,t,o){const r=new n.AssumeRoleCommand(e);if(typeof t==="function"){this.send(r,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(r,t||{},o)}else{return this.send(r,t)}}assumeRoleWithSAML(e,t,o){const n=new r.AssumeRoleWithSAMLCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}assumeRoleWithWebIdentity(e,t,o){const n=new s.AssumeRoleWithWebIdentityCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}decodeAuthorizationMessage(e,t,o){const n=new i.DecodeAuthorizationMessageCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}getAccessKeyInfo(e,t,o){const n=new a.GetAccessKeyInfoCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}getCallerIdentity(e,t,o){const n=new c.GetCallerIdentityCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}getFederationToken(e,t,o){const n=new l.GetFederationTokenCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}getSessionToken(e,t,o){const n=new u.GetSessionTokenCommand(e);if(typeof t==="function"){this.send(n,t)}else if(typeof o==="function"){if(typeof t!=="object")throw new Error(`Expect http options but get ${typeof t}`);this.send(n,t||{},o)}else{return this.send(n,t)}}}t.STS=STS},4195:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.STSClient=void 0;const n=o(6153);const r=o(2245);const s=o(2545);const i=o(14);const a=o(5525);const c=o(6064);const l=o(5959);const u=o(4688);const d=o(4963);const p=o(3405);class STSClient extends d.Client{constructor(e){const t=(0,p.getRuntimeConfig)(e);const o=(0,n.resolveRegionConfig)(t);const d=(0,n.resolveEndpointsConfig)(o);const m=(0,c.resolveRetryConfig)(d);const g=(0,s.resolveHostHeaderConfig)(m);const f=(0,l.resolveStsAuthConfig)(g,{stsClientCtor:STSClient});const y=(0,u.resolveUserAgentConfig)(f);super(y);this.config=y;this.middlewareStack.use((0,c.getRetryPlugin)(this.config));this.middlewareStack.use((0,r.getContentLengthPlugin)(this.config));this.middlewareStack.use((0,s.getHostHeaderPlugin)(this.config));this.middlewareStack.use((0,i.getLoggerPlugin)(this.config));this.middlewareStack.use((0,a.getRecursionDetectionPlugin)(this.config));this.middlewareStack.use((0,u.getUserAgentPlugin)(this.config))}destroy(){super.destroy()}}t.STSClient=STSClient},9802:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AssumeRoleCommand=void 0;const n=o(3631);const r=o(4935);const s=o(4963);const i=o(1780);const a=o(740);class AssumeRoleCommand extends s.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));this.middlewareStack.use((0,r.getAwsAuthPlugin)(t));const s=e.concat(this.middlewareStack);const{logger:a}=t;const c="STSClient";const l="AssumeRoleCommand";const u={logger:a,clientName:c,commandName:l,inputFilterSensitiveLog:i.AssumeRoleRequestFilterSensitiveLog,outputFilterSensitiveLog:i.AssumeRoleResponseFilterSensitiveLog};const{requestHandler:d}=t;return s.resolve((e=>d.handle(e.request,o||{})),u)}serialize(e,t){return(0,a.serializeAws_queryAssumeRoleCommand)(e,t)}deserialize(e,t){return(0,a.deserializeAws_queryAssumeRoleCommand)(e,t)}}t.AssumeRoleCommand=AssumeRoleCommand},2865:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AssumeRoleWithSAMLCommand=void 0;const n=o(3631);const r=o(4963);const s=o(1780);const i=o(740);class AssumeRoleWithSAMLCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="STSClient";const c="AssumeRoleWithSAMLCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.AssumeRoleWithSAMLRequestFilterSensitiveLog,outputFilterSensitiveLog:s.AssumeRoleWithSAMLResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_queryAssumeRoleWithSAMLCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_queryAssumeRoleWithSAMLCommand)(e,t)}}t.AssumeRoleWithSAMLCommand=AssumeRoleWithSAMLCommand},7451:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AssumeRoleWithWebIdentityCommand=void 0;const n=o(3631);const r=o(4963);const s=o(1780);const i=o(740);class AssumeRoleWithWebIdentityCommand extends r.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));const r=e.concat(this.middlewareStack);const{logger:i}=t;const a="STSClient";const c="AssumeRoleWithWebIdentityCommand";const l={logger:i,clientName:a,commandName:c,inputFilterSensitiveLog:s.AssumeRoleWithWebIdentityRequestFilterSensitiveLog,outputFilterSensitiveLog:s.AssumeRoleWithWebIdentityResponseFilterSensitiveLog};const{requestHandler:u}=t;return r.resolve((e=>u.handle(e.request,o||{})),l)}serialize(e,t){return(0,i.serializeAws_queryAssumeRoleWithWebIdentityCommand)(e,t)}deserialize(e,t){return(0,i.deserializeAws_queryAssumeRoleWithWebIdentityCommand)(e,t)}}t.AssumeRoleWithWebIdentityCommand=AssumeRoleWithWebIdentityCommand},4150:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DecodeAuthorizationMessageCommand=void 0;const n=o(3631);const r=o(4935);const s=o(4963);const i=o(1780);const a=o(740);class DecodeAuthorizationMessageCommand extends s.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));this.middlewareStack.use((0,r.getAwsAuthPlugin)(t));const s=e.concat(this.middlewareStack);const{logger:a}=t;const c="STSClient";const l="DecodeAuthorizationMessageCommand";const u={logger:a,clientName:c,commandName:l,inputFilterSensitiveLog:i.DecodeAuthorizationMessageRequestFilterSensitiveLog,outputFilterSensitiveLog:i.DecodeAuthorizationMessageResponseFilterSensitiveLog};const{requestHandler:d}=t;return s.resolve((e=>d.handle(e.request,o||{})),u)}serialize(e,t){return(0,a.serializeAws_queryDecodeAuthorizationMessageCommand)(e,t)}deserialize(e,t){return(0,a.deserializeAws_queryDecodeAuthorizationMessageCommand)(e,t)}}t.DecodeAuthorizationMessageCommand=DecodeAuthorizationMessageCommand},9804:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GetAccessKeyInfoCommand=void 0;const n=o(3631);const r=o(4935);const s=o(4963);const i=o(1780);const a=o(740);class GetAccessKeyInfoCommand extends s.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));this.middlewareStack.use((0,r.getAwsAuthPlugin)(t));const s=e.concat(this.middlewareStack);const{logger:a}=t;const c="STSClient";const l="GetAccessKeyInfoCommand";const u={logger:a,clientName:c,commandName:l,inputFilterSensitiveLog:i.GetAccessKeyInfoRequestFilterSensitiveLog,outputFilterSensitiveLog:i.GetAccessKeyInfoResponseFilterSensitiveLog};const{requestHandler:d}=t;return s.resolve((e=>d.handle(e.request,o||{})),u)}serialize(e,t){return(0,a.serializeAws_queryGetAccessKeyInfoCommand)(e,t)}deserialize(e,t){return(0,a.deserializeAws_queryGetAccessKeyInfoCommand)(e,t)}}t.GetAccessKeyInfoCommand=GetAccessKeyInfoCommand},4278:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GetCallerIdentityCommand=void 0;const n=o(3631);const r=o(4935);const s=o(4963);const i=o(1780);const a=o(740);class GetCallerIdentityCommand extends s.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));this.middlewareStack.use((0,r.getAwsAuthPlugin)(t));const s=e.concat(this.middlewareStack);const{logger:a}=t;const c="STSClient";const l="GetCallerIdentityCommand";const u={logger:a,clientName:c,commandName:l,inputFilterSensitiveLog:i.GetCallerIdentityRequestFilterSensitiveLog,outputFilterSensitiveLog:i.GetCallerIdentityResponseFilterSensitiveLog};const{requestHandler:d}=t;return s.resolve((e=>d.handle(e.request,o||{})),u)}serialize(e,t){return(0,a.serializeAws_queryGetCallerIdentityCommand)(e,t)}deserialize(e,t){return(0,a.deserializeAws_queryGetCallerIdentityCommand)(e,t)}}t.GetCallerIdentityCommand=GetCallerIdentityCommand},7552:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GetFederationTokenCommand=void 0;const n=o(3631);const r=o(4935);const s=o(4963);const i=o(1780);const a=o(740);class GetFederationTokenCommand extends s.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));this.middlewareStack.use((0,r.getAwsAuthPlugin)(t));const s=e.concat(this.middlewareStack);const{logger:a}=t;const c="STSClient";const l="GetFederationTokenCommand";const u={logger:a,clientName:c,commandName:l,inputFilterSensitiveLog:i.GetFederationTokenRequestFilterSensitiveLog,outputFilterSensitiveLog:i.GetFederationTokenResponseFilterSensitiveLog};const{requestHandler:d}=t;return s.resolve((e=>d.handle(e.request,o||{})),u)}serialize(e,t){return(0,a.serializeAws_queryGetFederationTokenCommand)(e,t)}deserialize(e,t){return(0,a.deserializeAws_queryGetFederationTokenCommand)(e,t)}}t.GetFederationTokenCommand=GetFederationTokenCommand},3285:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GetSessionTokenCommand=void 0;const n=o(3631);const r=o(4935);const s=o(4963);const i=o(1780);const a=o(740);class GetSessionTokenCommand extends s.Command{constructor(e){super();this.input=e}resolveMiddleware(e,t,o){this.middlewareStack.use((0,n.getSerdePlugin)(t,this.serialize,this.deserialize));this.middlewareStack.use((0,r.getAwsAuthPlugin)(t));const s=e.concat(this.middlewareStack);const{logger:a}=t;const c="STSClient";const l="GetSessionTokenCommand";const u={logger:a,clientName:c,commandName:l,inputFilterSensitiveLog:i.GetSessionTokenRequestFilterSensitiveLog,outputFilterSensitiveLog:i.GetSessionTokenResponseFilterSensitiveLog};const{requestHandler:d}=t;return s.resolve((e=>d.handle(e.request,o||{})),u)}serialize(e,t){return(0,a.serializeAws_queryGetSessionTokenCommand)(e,t)}deserialize(e,t){return(0,a.deserializeAws_queryGetSessionTokenCommand)(e,t)}}t.GetSessionTokenCommand=GetSessionTokenCommand},5716:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(9802),t);n.__exportStar(o(2865),t);n.__exportStar(o(7451),t);n.__exportStar(o(4150),t);n.__exportStar(o(9804),t);n.__exportStar(o(4278),t);n.__exportStar(o(7552),t);n.__exportStar(o(3285),t)},8028:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decorateDefaultCredentialProvider=t.getDefaultRoleAssumerWithWebIdentity=t.getDefaultRoleAssumer=void 0;const n=o(48);const r=o(4195);const getCustomizableStsClientCtor=(e,t)=>{if(!t)return e;else return class CustomizableSTSClient extends e{constructor(e){super(e);for(const e of t){this.middlewareStack.use(e)}}}};const getDefaultRoleAssumer=(e={},t)=>(0,n.getDefaultRoleAssumer)(e,getCustomizableStsClientCtor(r.STSClient,t));t.getDefaultRoleAssumer=getDefaultRoleAssumer;const getDefaultRoleAssumerWithWebIdentity=(e={},t)=>(0,n.getDefaultRoleAssumerWithWebIdentity)(e,getCustomizableStsClientCtor(r.STSClient,t));t.getDefaultRoleAssumerWithWebIdentity=getDefaultRoleAssumerWithWebIdentity;const decorateDefaultCredentialProvider=e=>o=>e({roleAssumer:(0,t.getDefaultRoleAssumer)(o),roleAssumerWithWebIdentity:(0,t.getDefaultRoleAssumerWithWebIdentity)(o),...o});t.decorateDefaultCredentialProvider=decorateDefaultCredentialProvider},48:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decorateDefaultCredentialProvider=t.getDefaultRoleAssumerWithWebIdentity=t.getDefaultRoleAssumer=void 0;const n=o(9802);const r=o(7451);const s="us-east-1";const decorateDefaultRegion=e=>{if(typeof e!=="function"){return e===undefined?s:e}return async()=>{try{return await e()}catch(e){return s}}};const getDefaultRoleAssumer=(e,t)=>{let o;let r;return async(s,i)=>{r=s;if(!o){const{logger:n,region:s,requestHandler:i}=e;o=new t({logger:n,credentialDefaultProvider:()=>async()=>r,region:decorateDefaultRegion(s||e.region),...i?{requestHandler:i}:{}})}const{Credentials:a}=await o.send(new n.AssumeRoleCommand(i));if(!a||!a.AccessKeyId||!a.SecretAccessKey){throw new Error(`Invalid response from STS.assumeRole call with role ${i.RoleArn}`)}return{accessKeyId:a.AccessKeyId,secretAccessKey:a.SecretAccessKey,sessionToken:a.SessionToken,expiration:a.Expiration}}};t.getDefaultRoleAssumer=getDefaultRoleAssumer;const getDefaultRoleAssumerWithWebIdentity=(e,t)=>{let o;return async n=>{if(!o){const{logger:n,region:r,requestHandler:s}=e;o=new t({logger:n,region:decorateDefaultRegion(r||e.region),...s?{requestHandler:s}:{}})}const{Credentials:s}=await o.send(new r.AssumeRoleWithWebIdentityCommand(n));if(!s||!s.AccessKeyId||!s.SecretAccessKey){throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${n.RoleArn}`)}return{accessKeyId:s.AccessKeyId,secretAccessKey:s.SecretAccessKey,sessionToken:s.SessionToken,expiration:s.Expiration}}};t.getDefaultRoleAssumerWithWebIdentity=getDefaultRoleAssumerWithWebIdentity;const decorateDefaultCredentialProvider=e=>o=>e({roleAssumer:(0,t.getDefaultRoleAssumer)(o,o.stsClientCtor),roleAssumerWithWebIdentity:(0,t.getDefaultRoleAssumerWithWebIdentity)(o,o.stsClientCtor),...o});t.decorateDefaultCredentialProvider=decorateDefaultCredentialProvider},3571:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.defaultRegionInfoProvider=void 0;const n=o(6153);const r={"aws-global":{variants:[{hostname:"sts.amazonaws.com",tags:[]}],signingRegion:"us-east-1"},"us-east-1":{variants:[{hostname:"sts-fips.us-east-1.amazonaws.com",tags:["fips"]}]},"us-east-2":{variants:[{hostname:"sts-fips.us-east-2.amazonaws.com",tags:["fips"]}]},"us-gov-east-1":{variants:[{hostname:"sts.us-gov-east-1.amazonaws.com",tags:["fips"]}]},"us-gov-west-1":{variants:[{hostname:"sts.us-gov-west-1.amazonaws.com",tags:["fips"]}]},"us-west-1":{variants:[{hostname:"sts-fips.us-west-1.amazonaws.com",tags:["fips"]}]},"us-west-2":{variants:[{hostname:"sts-fips.us-west-2.amazonaws.com",tags:["fips"]}]}};const s={aws:{regions:["af-south-1","ap-east-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-south-1","ap-southeast-1","ap-southeast-2","ap-southeast-3","aws-global","ca-central-1","eu-central-1","eu-north-1","eu-south-1","eu-west-1","eu-west-2","eu-west-3","me-central-1","me-south-1","sa-east-1","us-east-1","us-east-1-fips","us-east-2","us-east-2-fips","us-west-1","us-west-1-fips","us-west-2","us-west-2-fips"],regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",variants:[{hostname:"sts.{region}.amazonaws.com",tags:[]},{hostname:"sts-fips.{region}.amazonaws.com",tags:["fips"]},{hostname:"sts-fips.{region}.api.aws",tags:["dualstack","fips"]},{hostname:"sts.{region}.api.aws",tags:["dualstack"]}]},"aws-cn":{regions:["cn-north-1","cn-northwest-1"],regionRegex:"^cn\\-\\w+\\-\\d+$",variants:[{hostname:"sts.{region}.amazonaws.com.cn",tags:[]},{hostname:"sts-fips.{region}.amazonaws.com.cn",tags:["fips"]},{hostname:"sts-fips.{region}.api.amazonwebservices.com.cn",tags:["dualstack","fips"]},{hostname:"sts.{region}.api.amazonwebservices.com.cn",tags:["dualstack"]}]},"aws-iso":{regions:["us-iso-east-1","us-iso-west-1"],regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",variants:[{hostname:"sts.{region}.c2s.ic.gov",tags:[]},{hostname:"sts-fips.{region}.c2s.ic.gov",tags:["fips"]}]},"aws-iso-b":{regions:["us-isob-east-1"],regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",variants:[{hostname:"sts.{region}.sc2s.sgov.gov",tags:[]},{hostname:"sts-fips.{region}.sc2s.sgov.gov",tags:["fips"]}]},"aws-us-gov":{regions:["us-gov-east-1","us-gov-east-1-fips","us-gov-west-1","us-gov-west-1-fips"],regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",variants:[{hostname:"sts.{region}.amazonaws.com",tags:[]},{hostname:"sts.{region}.amazonaws.com",tags:["fips"]},{hostname:"sts-fips.{region}.api.aws",tags:["dualstack","fips"]},{hostname:"sts.{region}.api.aws",tags:["dualstack"]}]}};const defaultRegionInfoProvider=async(e,t)=>(0,n.getRegionInfo)(e,{...t,signingService:"sts",regionHash:r,partitionHash:s});t.defaultRegionInfoProvider=defaultRegionInfoProvider},2209:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.STSServiceException=void 0;const n=o(4351);n.__exportStar(o(2605),t);n.__exportStar(o(4195),t);n.__exportStar(o(5716),t);n.__exportStar(o(8028),t);n.__exportStar(o(106),t);var r=o(6450);Object.defineProperty(t,"STSServiceException",{enumerable:true,get:function(){return r.STSServiceException}})},6450:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.STSServiceException=void 0;const n=o(4963);class STSServiceException extends n.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,STSServiceException.prototype)}}t.STSServiceException=STSServiceException},106:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(1780),t)},1780:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GetSessionTokenResponseFilterSensitiveLog=t.GetSessionTokenRequestFilterSensitiveLog=t.GetFederationTokenResponseFilterSensitiveLog=t.FederatedUserFilterSensitiveLog=t.GetFederationTokenRequestFilterSensitiveLog=t.GetCallerIdentityResponseFilterSensitiveLog=t.GetCallerIdentityRequestFilterSensitiveLog=t.GetAccessKeyInfoResponseFilterSensitiveLog=t.GetAccessKeyInfoRequestFilterSensitiveLog=t.DecodeAuthorizationMessageResponseFilterSensitiveLog=t.DecodeAuthorizationMessageRequestFilterSensitiveLog=t.AssumeRoleWithWebIdentityResponseFilterSensitiveLog=t.AssumeRoleWithWebIdentityRequestFilterSensitiveLog=t.AssumeRoleWithSAMLResponseFilterSensitiveLog=t.AssumeRoleWithSAMLRequestFilterSensitiveLog=t.AssumeRoleResponseFilterSensitiveLog=t.CredentialsFilterSensitiveLog=t.AssumeRoleRequestFilterSensitiveLog=t.TagFilterSensitiveLog=t.PolicyDescriptorTypeFilterSensitiveLog=t.AssumedRoleUserFilterSensitiveLog=t.InvalidAuthorizationMessageException=t.IDPCommunicationErrorException=t.InvalidIdentityTokenException=t.IDPRejectedClaimException=t.RegionDisabledException=t.PackedPolicyTooLargeException=t.MalformedPolicyDocumentException=t.ExpiredTokenException=void 0;const n=o(6450);class ExpiredTokenException extends n.STSServiceException{constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});this.name="ExpiredTokenException";this.$fault="client";Object.setPrototypeOf(this,ExpiredTokenException.prototype)}}t.ExpiredTokenException=ExpiredTokenException;class MalformedPolicyDocumentException extends n.STSServiceException{constructor(e){super({name:"MalformedPolicyDocumentException",$fault:"client",...e});this.name="MalformedPolicyDocumentException";this.$fault="client";Object.setPrototypeOf(this,MalformedPolicyDocumentException.prototype)}}t.MalformedPolicyDocumentException=MalformedPolicyDocumentException;class PackedPolicyTooLargeException extends n.STSServiceException{constructor(e){super({name:"PackedPolicyTooLargeException",$fault:"client",...e});this.name="PackedPolicyTooLargeException";this.$fault="client";Object.setPrototypeOf(this,PackedPolicyTooLargeException.prototype)}}t.PackedPolicyTooLargeException=PackedPolicyTooLargeException;class RegionDisabledException extends n.STSServiceException{constructor(e){super({name:"RegionDisabledException",$fault:"client",...e});this.name="RegionDisabledException";this.$fault="client";Object.setPrototypeOf(this,RegionDisabledException.prototype)}}t.RegionDisabledException=RegionDisabledException;class IDPRejectedClaimException extends n.STSServiceException{constructor(e){super({name:"IDPRejectedClaimException",$fault:"client",...e});this.name="IDPRejectedClaimException";this.$fault="client";Object.setPrototypeOf(this,IDPRejectedClaimException.prototype)}}t.IDPRejectedClaimException=IDPRejectedClaimException;class InvalidIdentityTokenException extends n.STSServiceException{constructor(e){super({name:"InvalidIdentityTokenException",$fault:"client",...e});this.name="InvalidIdentityTokenException";this.$fault="client";Object.setPrototypeOf(this,InvalidIdentityTokenException.prototype)}}t.InvalidIdentityTokenException=InvalidIdentityTokenException;class IDPCommunicationErrorException extends n.STSServiceException{constructor(e){super({name:"IDPCommunicationErrorException",$fault:"client",...e});this.name="IDPCommunicationErrorException";this.$fault="client";Object.setPrototypeOf(this,IDPCommunicationErrorException.prototype)}}t.IDPCommunicationErrorException=IDPCommunicationErrorException;class InvalidAuthorizationMessageException extends n.STSServiceException{constructor(e){super({name:"InvalidAuthorizationMessageException",$fault:"client",...e});this.name="InvalidAuthorizationMessageException";this.$fault="client";Object.setPrototypeOf(this,InvalidAuthorizationMessageException.prototype)}}t.InvalidAuthorizationMessageException=InvalidAuthorizationMessageException;const AssumedRoleUserFilterSensitiveLog=e=>({...e});t.AssumedRoleUserFilterSensitiveLog=AssumedRoleUserFilterSensitiveLog;const PolicyDescriptorTypeFilterSensitiveLog=e=>({...e});t.PolicyDescriptorTypeFilterSensitiveLog=PolicyDescriptorTypeFilterSensitiveLog;const TagFilterSensitiveLog=e=>({...e});t.TagFilterSensitiveLog=TagFilterSensitiveLog;const AssumeRoleRequestFilterSensitiveLog=e=>({...e});t.AssumeRoleRequestFilterSensitiveLog=AssumeRoleRequestFilterSensitiveLog;const CredentialsFilterSensitiveLog=e=>({...e});t.CredentialsFilterSensitiveLog=CredentialsFilterSensitiveLog;const AssumeRoleResponseFilterSensitiveLog=e=>({...e});t.AssumeRoleResponseFilterSensitiveLog=AssumeRoleResponseFilterSensitiveLog;const AssumeRoleWithSAMLRequestFilterSensitiveLog=e=>({...e});t.AssumeRoleWithSAMLRequestFilterSensitiveLog=AssumeRoleWithSAMLRequestFilterSensitiveLog;const AssumeRoleWithSAMLResponseFilterSensitiveLog=e=>({...e});t.AssumeRoleWithSAMLResponseFilterSensitiveLog=AssumeRoleWithSAMLResponseFilterSensitiveLog;const AssumeRoleWithWebIdentityRequestFilterSensitiveLog=e=>({...e});t.AssumeRoleWithWebIdentityRequestFilterSensitiveLog=AssumeRoleWithWebIdentityRequestFilterSensitiveLog;const AssumeRoleWithWebIdentityResponseFilterSensitiveLog=e=>({...e});t.AssumeRoleWithWebIdentityResponseFilterSensitiveLog=AssumeRoleWithWebIdentityResponseFilterSensitiveLog;const DecodeAuthorizationMessageRequestFilterSensitiveLog=e=>({...e});t.DecodeAuthorizationMessageRequestFilterSensitiveLog=DecodeAuthorizationMessageRequestFilterSensitiveLog;const DecodeAuthorizationMessageResponseFilterSensitiveLog=e=>({...e});t.DecodeAuthorizationMessageResponseFilterSensitiveLog=DecodeAuthorizationMessageResponseFilterSensitiveLog;const GetAccessKeyInfoRequestFilterSensitiveLog=e=>({...e});t.GetAccessKeyInfoRequestFilterSensitiveLog=GetAccessKeyInfoRequestFilterSensitiveLog;const GetAccessKeyInfoResponseFilterSensitiveLog=e=>({...e});t.GetAccessKeyInfoResponseFilterSensitiveLog=GetAccessKeyInfoResponseFilterSensitiveLog;const GetCallerIdentityRequestFilterSensitiveLog=e=>({...e});t.GetCallerIdentityRequestFilterSensitiveLog=GetCallerIdentityRequestFilterSensitiveLog;const GetCallerIdentityResponseFilterSensitiveLog=e=>({...e});t.GetCallerIdentityResponseFilterSensitiveLog=GetCallerIdentityResponseFilterSensitiveLog;const GetFederationTokenRequestFilterSensitiveLog=e=>({...e});t.GetFederationTokenRequestFilterSensitiveLog=GetFederationTokenRequestFilterSensitiveLog;const FederatedUserFilterSensitiveLog=e=>({...e});t.FederatedUserFilterSensitiveLog=FederatedUserFilterSensitiveLog;const GetFederationTokenResponseFilterSensitiveLog=e=>({...e});t.GetFederationTokenResponseFilterSensitiveLog=GetFederationTokenResponseFilterSensitiveLog;const GetSessionTokenRequestFilterSensitiveLog=e=>({...e});t.GetSessionTokenRequestFilterSensitiveLog=GetSessionTokenRequestFilterSensitiveLog;const GetSessionTokenResponseFilterSensitiveLog=e=>({...e});t.GetSessionTokenResponseFilterSensitiveLog=GetSessionTokenResponseFilterSensitiveLog},740:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.deserializeAws_queryGetSessionTokenCommand=t.deserializeAws_queryGetFederationTokenCommand=t.deserializeAws_queryGetCallerIdentityCommand=t.deserializeAws_queryGetAccessKeyInfoCommand=t.deserializeAws_queryDecodeAuthorizationMessageCommand=t.deserializeAws_queryAssumeRoleWithWebIdentityCommand=t.deserializeAws_queryAssumeRoleWithSAMLCommand=t.deserializeAws_queryAssumeRoleCommand=t.serializeAws_queryGetSessionTokenCommand=t.serializeAws_queryGetFederationTokenCommand=t.serializeAws_queryGetCallerIdentityCommand=t.serializeAws_queryGetAccessKeyInfoCommand=t.serializeAws_queryDecodeAuthorizationMessageCommand=t.serializeAws_queryAssumeRoleWithWebIdentityCommand=t.serializeAws_queryAssumeRoleWithSAMLCommand=t.serializeAws_queryAssumeRoleCommand=void 0;const n=o(223);const r=o(4963);const s=o(3e3);const i=o(7448);const a=o(1780);const c=o(6450);const serializeAws_queryAssumeRoleCommand=async(e,t)=>{const o={"content-type":"application/x-www-form-urlencoded"};let n;n=buildFormUrlencodedString({...serializeAws_queryAssumeRoleRequest(e,t),Action:"AssumeRole",Version:"2011-06-15"});return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_queryAssumeRoleCommand=serializeAws_queryAssumeRoleCommand;const serializeAws_queryAssumeRoleWithSAMLCommand=async(e,t)=>{const o={"content-type":"application/x-www-form-urlencoded"};let n;n=buildFormUrlencodedString({...serializeAws_queryAssumeRoleWithSAMLRequest(e,t),Action:"AssumeRoleWithSAML",Version:"2011-06-15"});return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_queryAssumeRoleWithSAMLCommand=serializeAws_queryAssumeRoleWithSAMLCommand;const serializeAws_queryAssumeRoleWithWebIdentityCommand=async(e,t)=>{const o={"content-type":"application/x-www-form-urlencoded"};let n;n=buildFormUrlencodedString({...serializeAws_queryAssumeRoleWithWebIdentityRequest(e,t),Action:"AssumeRoleWithWebIdentity",Version:"2011-06-15"});return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_queryAssumeRoleWithWebIdentityCommand=serializeAws_queryAssumeRoleWithWebIdentityCommand;const serializeAws_queryDecodeAuthorizationMessageCommand=async(e,t)=>{const o={"content-type":"application/x-www-form-urlencoded"};let n;n=buildFormUrlencodedString({...serializeAws_queryDecodeAuthorizationMessageRequest(e,t),Action:"DecodeAuthorizationMessage",Version:"2011-06-15"});return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_queryDecodeAuthorizationMessageCommand=serializeAws_queryDecodeAuthorizationMessageCommand;const serializeAws_queryGetAccessKeyInfoCommand=async(e,t)=>{const o={"content-type":"application/x-www-form-urlencoded"};let n;n=buildFormUrlencodedString({...serializeAws_queryGetAccessKeyInfoRequest(e,t),Action:"GetAccessKeyInfo",Version:"2011-06-15"});return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_queryGetAccessKeyInfoCommand=serializeAws_queryGetAccessKeyInfoCommand;const serializeAws_queryGetCallerIdentityCommand=async(e,t)=>{const o={"content-type":"application/x-www-form-urlencoded"};let n;n=buildFormUrlencodedString({...serializeAws_queryGetCallerIdentityRequest(e,t),Action:"GetCallerIdentity",Version:"2011-06-15"});return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_queryGetCallerIdentityCommand=serializeAws_queryGetCallerIdentityCommand;const serializeAws_queryGetFederationTokenCommand=async(e,t)=>{const o={"content-type":"application/x-www-form-urlencoded"};let n;n=buildFormUrlencodedString({...serializeAws_queryGetFederationTokenRequest(e,t),Action:"GetFederationToken",Version:"2011-06-15"});return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_queryGetFederationTokenCommand=serializeAws_queryGetFederationTokenCommand;const serializeAws_queryGetSessionTokenCommand=async(e,t)=>{const o={"content-type":"application/x-www-form-urlencoded"};let n;n=buildFormUrlencodedString({...serializeAws_queryGetSessionTokenRequest(e,t),Action:"GetSessionToken",Version:"2011-06-15"});return buildHttpRpcRequest(t,o,"/",undefined,n)};t.serializeAws_queryGetSessionTokenCommand=serializeAws_queryGetSessionTokenCommand;const deserializeAws_queryAssumeRoleCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_queryAssumeRoleCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_queryAssumeRoleResponse(o.AssumeRoleResult,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_queryAssumeRoleCommand=deserializeAws_queryAssumeRoleCommand;const deserializeAws_queryAssumeRoleCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadQueryErrorCode(e,o.body);switch(n){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await deserializeAws_queryExpiredTokenExceptionResponse(o,t);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await deserializeAws_queryMalformedPolicyDocumentExceptionResponse(o,t);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await deserializeAws_queryPackedPolicyTooLargeExceptionResponse(o,t);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await deserializeAws_queryRegionDisabledExceptionResponse(o,t);default:const s=o.body;(0,r.throwDefaultError)({output:e,parsedBody:s.Error,exceptionCtor:c.STSServiceException,errorCode:n})}};const deserializeAws_queryAssumeRoleWithSAMLCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_queryAssumeRoleWithSAMLCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_queryAssumeRoleWithSAMLResponse(o.AssumeRoleWithSAMLResult,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_queryAssumeRoleWithSAMLCommand=deserializeAws_queryAssumeRoleWithSAMLCommand;const deserializeAws_queryAssumeRoleWithSAMLCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadQueryErrorCode(e,o.body);switch(n){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await deserializeAws_queryExpiredTokenExceptionResponse(o,t);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await deserializeAws_queryIDPRejectedClaimExceptionResponse(o,t);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await deserializeAws_queryInvalidIdentityTokenExceptionResponse(o,t);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await deserializeAws_queryMalformedPolicyDocumentExceptionResponse(o,t);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await deserializeAws_queryPackedPolicyTooLargeExceptionResponse(o,t);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await deserializeAws_queryRegionDisabledExceptionResponse(o,t);default:const s=o.body;(0,r.throwDefaultError)({output:e,parsedBody:s.Error,exceptionCtor:c.STSServiceException,errorCode:n})}};const deserializeAws_queryAssumeRoleWithWebIdentityCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_queryAssumeRoleWithWebIdentityCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_queryAssumeRoleWithWebIdentityResponse(o.AssumeRoleWithWebIdentityResult,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_queryAssumeRoleWithWebIdentityCommand=deserializeAws_queryAssumeRoleWithWebIdentityCommand;const deserializeAws_queryAssumeRoleWithWebIdentityCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadQueryErrorCode(e,o.body);switch(n){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await deserializeAws_queryExpiredTokenExceptionResponse(o,t);case"IDPCommunicationError":case"com.amazonaws.sts#IDPCommunicationErrorException":throw await deserializeAws_queryIDPCommunicationErrorExceptionResponse(o,t);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await deserializeAws_queryIDPRejectedClaimExceptionResponse(o,t);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await deserializeAws_queryInvalidIdentityTokenExceptionResponse(o,t);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await deserializeAws_queryMalformedPolicyDocumentExceptionResponse(o,t);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await deserializeAws_queryPackedPolicyTooLargeExceptionResponse(o,t);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await deserializeAws_queryRegionDisabledExceptionResponse(o,t);default:const s=o.body;(0,r.throwDefaultError)({output:e,parsedBody:s.Error,exceptionCtor:c.STSServiceException,errorCode:n})}};const deserializeAws_queryDecodeAuthorizationMessageCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_queryDecodeAuthorizationMessageCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_queryDecodeAuthorizationMessageResponse(o.DecodeAuthorizationMessageResult,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_queryDecodeAuthorizationMessageCommand=deserializeAws_queryDecodeAuthorizationMessageCommand;const deserializeAws_queryDecodeAuthorizationMessageCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadQueryErrorCode(e,o.body);switch(n){case"InvalidAuthorizationMessageException":case"com.amazonaws.sts#InvalidAuthorizationMessageException":throw await deserializeAws_queryInvalidAuthorizationMessageExceptionResponse(o,t);default:const s=o.body;(0,r.throwDefaultError)({output:e,parsedBody:s.Error,exceptionCtor:c.STSServiceException,errorCode:n})}};const deserializeAws_queryGetAccessKeyInfoCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_queryGetAccessKeyInfoCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_queryGetAccessKeyInfoResponse(o.GetAccessKeyInfoResult,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_queryGetAccessKeyInfoCommand=deserializeAws_queryGetAccessKeyInfoCommand;const deserializeAws_queryGetAccessKeyInfoCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadQueryErrorCode(e,o.body);const s=o.body;(0,r.throwDefaultError)({output:e,parsedBody:s.Error,exceptionCtor:c.STSServiceException,errorCode:n})};const deserializeAws_queryGetCallerIdentityCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_queryGetCallerIdentityCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_queryGetCallerIdentityResponse(o.GetCallerIdentityResult,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_queryGetCallerIdentityCommand=deserializeAws_queryGetCallerIdentityCommand;const deserializeAws_queryGetCallerIdentityCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadQueryErrorCode(e,o.body);const s=o.body;(0,r.throwDefaultError)({output:e,parsedBody:s.Error,exceptionCtor:c.STSServiceException,errorCode:n})};const deserializeAws_queryGetFederationTokenCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_queryGetFederationTokenCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_queryGetFederationTokenResponse(o.GetFederationTokenResult,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_queryGetFederationTokenCommand=deserializeAws_queryGetFederationTokenCommand;const deserializeAws_queryGetFederationTokenCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadQueryErrorCode(e,o.body);switch(n){case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await deserializeAws_queryMalformedPolicyDocumentExceptionResponse(o,t);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await deserializeAws_queryPackedPolicyTooLargeExceptionResponse(o,t);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await deserializeAws_queryRegionDisabledExceptionResponse(o,t);default:const s=o.body;(0,r.throwDefaultError)({output:e,parsedBody:s.Error,exceptionCtor:c.STSServiceException,errorCode:n})}};const deserializeAws_queryGetSessionTokenCommand=async(e,t)=>{if(e.statusCode>=300){return deserializeAws_queryGetSessionTokenCommandError(e,t)}const o=await parseBody(e.body,t);let n={};n=deserializeAws_queryGetSessionTokenResponse(o.GetSessionTokenResult,t);const r={$metadata:deserializeMetadata(e),...n};return Promise.resolve(r)};t.deserializeAws_queryGetSessionTokenCommand=deserializeAws_queryGetSessionTokenCommand;const deserializeAws_queryGetSessionTokenCommandError=async(e,t)=>{const o={...e,body:await parseErrorBody(e.body,t)};const n=loadQueryErrorCode(e,o.body);switch(n){case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await deserializeAws_queryRegionDisabledExceptionResponse(o,t);default:const s=o.body;(0,r.throwDefaultError)({output:e,parsedBody:s.Error,exceptionCtor:c.STSServiceException,errorCode:n})}};const deserializeAws_queryExpiredTokenExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_queryExpiredTokenException(o.Error,t);const s=new a.ExpiredTokenException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_queryIDPCommunicationErrorExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_queryIDPCommunicationErrorException(o.Error,t);const s=new a.IDPCommunicationErrorException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_queryIDPRejectedClaimExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_queryIDPRejectedClaimException(o.Error,t);const s=new a.IDPRejectedClaimException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_queryInvalidAuthorizationMessageExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_queryInvalidAuthorizationMessageException(o.Error,t);const s=new a.InvalidAuthorizationMessageException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_queryInvalidIdentityTokenExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_queryInvalidIdentityTokenException(o.Error,t);const s=new a.InvalidIdentityTokenException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_queryMalformedPolicyDocumentExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_queryMalformedPolicyDocumentException(o.Error,t);const s=new a.MalformedPolicyDocumentException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_queryPackedPolicyTooLargeExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_queryPackedPolicyTooLargeException(o.Error,t);const s=new a.PackedPolicyTooLargeException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const deserializeAws_queryRegionDisabledExceptionResponse=async(e,t)=>{const o=e.body;const n=deserializeAws_queryRegionDisabledException(o.Error,t);const s=new a.RegionDisabledException({$metadata:deserializeMetadata(e),...n});return(0,r.decorateServiceException)(s,o)};const serializeAws_queryAssumeRoleRequest=(e,t)=>{const o={};if(e.RoleArn!=null){o["RoleArn"]=e.RoleArn}if(e.RoleSessionName!=null){o["RoleSessionName"]=e.RoleSessionName}if(e.PolicyArns!=null){const n=serializeAws_querypolicyDescriptorListType(e.PolicyArns,t);Object.entries(n).forEach((([e,t])=>{const n=`PolicyArns.${e}`;o[n]=t}))}if(e.Policy!=null){o["Policy"]=e.Policy}if(e.DurationSeconds!=null){o["DurationSeconds"]=e.DurationSeconds}if(e.Tags!=null){const n=serializeAws_querytagListType(e.Tags,t);Object.entries(n).forEach((([e,t])=>{const n=`Tags.${e}`;o[n]=t}))}if(e.TransitiveTagKeys!=null){const n=serializeAws_querytagKeyListType(e.TransitiveTagKeys,t);Object.entries(n).forEach((([e,t])=>{const n=`TransitiveTagKeys.${e}`;o[n]=t}))}if(e.ExternalId!=null){o["ExternalId"]=e.ExternalId}if(e.SerialNumber!=null){o["SerialNumber"]=e.SerialNumber}if(e.TokenCode!=null){o["TokenCode"]=e.TokenCode}if(e.SourceIdentity!=null){o["SourceIdentity"]=e.SourceIdentity}return o};const serializeAws_queryAssumeRoleWithSAMLRequest=(e,t)=>{const o={};if(e.RoleArn!=null){o["RoleArn"]=e.RoleArn}if(e.PrincipalArn!=null){o["PrincipalArn"]=e.PrincipalArn}if(e.SAMLAssertion!=null){o["SAMLAssertion"]=e.SAMLAssertion}if(e.PolicyArns!=null){const n=serializeAws_querypolicyDescriptorListType(e.PolicyArns,t);Object.entries(n).forEach((([e,t])=>{const n=`PolicyArns.${e}`;o[n]=t}))}if(e.Policy!=null){o["Policy"]=e.Policy}if(e.DurationSeconds!=null){o["DurationSeconds"]=e.DurationSeconds}return o};const serializeAws_queryAssumeRoleWithWebIdentityRequest=(e,t)=>{const o={};if(e.RoleArn!=null){o["RoleArn"]=e.RoleArn}if(e.RoleSessionName!=null){o["RoleSessionName"]=e.RoleSessionName}if(e.WebIdentityToken!=null){o["WebIdentityToken"]=e.WebIdentityToken}if(e.ProviderId!=null){o["ProviderId"]=e.ProviderId}if(e.PolicyArns!=null){const n=serializeAws_querypolicyDescriptorListType(e.PolicyArns,t);Object.entries(n).forEach((([e,t])=>{const n=`PolicyArns.${e}`;o[n]=t}))}if(e.Policy!=null){o["Policy"]=e.Policy}if(e.DurationSeconds!=null){o["DurationSeconds"]=e.DurationSeconds}return o};const serializeAws_queryDecodeAuthorizationMessageRequest=(e,t)=>{const o={};if(e.EncodedMessage!=null){o["EncodedMessage"]=e.EncodedMessage}return o};const serializeAws_queryGetAccessKeyInfoRequest=(e,t)=>{const o={};if(e.AccessKeyId!=null){o["AccessKeyId"]=e.AccessKeyId}return o};const serializeAws_queryGetCallerIdentityRequest=(e,t)=>{const o={};return o};const serializeAws_queryGetFederationTokenRequest=(e,t)=>{const o={};if(e.Name!=null){o["Name"]=e.Name}if(e.Policy!=null){o["Policy"]=e.Policy}if(e.PolicyArns!=null){const n=serializeAws_querypolicyDescriptorListType(e.PolicyArns,t);Object.entries(n).forEach((([e,t])=>{const n=`PolicyArns.${e}`;o[n]=t}))}if(e.DurationSeconds!=null){o["DurationSeconds"]=e.DurationSeconds}if(e.Tags!=null){const n=serializeAws_querytagListType(e.Tags,t);Object.entries(n).forEach((([e,t])=>{const n=`Tags.${e}`;o[n]=t}))}return o};const serializeAws_queryGetSessionTokenRequest=(e,t)=>{const o={};if(e.DurationSeconds!=null){o["DurationSeconds"]=e.DurationSeconds}if(e.SerialNumber!=null){o["SerialNumber"]=e.SerialNumber}if(e.TokenCode!=null){o["TokenCode"]=e.TokenCode}return o};const serializeAws_querypolicyDescriptorListType=(e,t)=>{const o={};let n=1;for(const r of e){if(r===null){continue}const e=serializeAws_queryPolicyDescriptorType(r,t);Object.entries(e).forEach((([e,t])=>{o[`member.${n}.${e}`]=t}));n++}return o};const serializeAws_queryPolicyDescriptorType=(e,t)=>{const o={};if(e.arn!=null){o["arn"]=e.arn}return o};const serializeAws_queryTag=(e,t)=>{const o={};if(e.Key!=null){o["Key"]=e.Key}if(e.Value!=null){o["Value"]=e.Value}return o};const serializeAws_querytagKeyListType=(e,t)=>{const o={};let n=1;for(const t of e){if(t===null){continue}o[`member.${n}`]=t;n++}return o};const serializeAws_querytagListType=(e,t)=>{const o={};let n=1;for(const r of e){if(r===null){continue}const e=serializeAws_queryTag(r,t);Object.entries(e).forEach((([e,t])=>{o[`member.${n}.${e}`]=t}));n++}return o};const deserializeAws_queryAssumedRoleUser=(e,t)=>{const o={AssumedRoleId:undefined,Arn:undefined};if(e["AssumedRoleId"]!==undefined){o.AssumedRoleId=(0,r.expectString)(e["AssumedRoleId"])}if(e["Arn"]!==undefined){o.Arn=(0,r.expectString)(e["Arn"])}return o};const deserializeAws_queryAssumeRoleResponse=(e,t)=>{const o={Credentials:undefined,AssumedRoleUser:undefined,PackedPolicySize:undefined,SourceIdentity:undefined};if(e["Credentials"]!==undefined){o.Credentials=deserializeAws_queryCredentials(e["Credentials"],t)}if(e["AssumedRoleUser"]!==undefined){o.AssumedRoleUser=deserializeAws_queryAssumedRoleUser(e["AssumedRoleUser"],t)}if(e["PackedPolicySize"]!==undefined){o.PackedPolicySize=(0,r.strictParseInt32)(e["PackedPolicySize"])}if(e["SourceIdentity"]!==undefined){o.SourceIdentity=(0,r.expectString)(e["SourceIdentity"])}return o};const deserializeAws_queryAssumeRoleWithSAMLResponse=(e,t)=>{const o={Credentials:undefined,AssumedRoleUser:undefined,PackedPolicySize:undefined,Subject:undefined,SubjectType:undefined,Issuer:undefined,Audience:undefined,NameQualifier:undefined,SourceIdentity:undefined};if(e["Credentials"]!==undefined){o.Credentials=deserializeAws_queryCredentials(e["Credentials"],t)}if(e["AssumedRoleUser"]!==undefined){o.AssumedRoleUser=deserializeAws_queryAssumedRoleUser(e["AssumedRoleUser"],t)}if(e["PackedPolicySize"]!==undefined){o.PackedPolicySize=(0,r.strictParseInt32)(e["PackedPolicySize"])}if(e["Subject"]!==undefined){o.Subject=(0,r.expectString)(e["Subject"])}if(e["SubjectType"]!==undefined){o.SubjectType=(0,r.expectString)(e["SubjectType"])}if(e["Issuer"]!==undefined){o.Issuer=(0,r.expectString)(e["Issuer"])}if(e["Audience"]!==undefined){o.Audience=(0,r.expectString)(e["Audience"])}if(e["NameQualifier"]!==undefined){o.NameQualifier=(0,r.expectString)(e["NameQualifier"])}if(e["SourceIdentity"]!==undefined){o.SourceIdentity=(0,r.expectString)(e["SourceIdentity"])}return o};const deserializeAws_queryAssumeRoleWithWebIdentityResponse=(e,t)=>{const o={Credentials:undefined,SubjectFromWebIdentityToken:undefined,AssumedRoleUser:undefined,PackedPolicySize:undefined,Provider:undefined,Audience:undefined,SourceIdentity:undefined};if(e["Credentials"]!==undefined){o.Credentials=deserializeAws_queryCredentials(e["Credentials"],t)}if(e["SubjectFromWebIdentityToken"]!==undefined){o.SubjectFromWebIdentityToken=(0,r.expectString)(e["SubjectFromWebIdentityToken"])}if(e["AssumedRoleUser"]!==undefined){o.AssumedRoleUser=deserializeAws_queryAssumedRoleUser(e["AssumedRoleUser"],t)}if(e["PackedPolicySize"]!==undefined){o.PackedPolicySize=(0,r.strictParseInt32)(e["PackedPolicySize"])}if(e["Provider"]!==undefined){o.Provider=(0,r.expectString)(e["Provider"])}if(e["Audience"]!==undefined){o.Audience=(0,r.expectString)(e["Audience"])}if(e["SourceIdentity"]!==undefined){o.SourceIdentity=(0,r.expectString)(e["SourceIdentity"])}return o};const deserializeAws_queryCredentials=(e,t)=>{const o={AccessKeyId:undefined,SecretAccessKey:undefined,SessionToken:undefined,Expiration:undefined};if(e["AccessKeyId"]!==undefined){o.AccessKeyId=(0,r.expectString)(e["AccessKeyId"])}if(e["SecretAccessKey"]!==undefined){o.SecretAccessKey=(0,r.expectString)(e["SecretAccessKey"])}if(e["SessionToken"]!==undefined){o.SessionToken=(0,r.expectString)(e["SessionToken"])}if(e["Expiration"]!==undefined){o.Expiration=(0,r.expectNonNull)((0,r.parseRfc3339DateTime)(e["Expiration"]))}return o};const deserializeAws_queryDecodeAuthorizationMessageResponse=(e,t)=>{const o={DecodedMessage:undefined};if(e["DecodedMessage"]!==undefined){o.DecodedMessage=(0,r.expectString)(e["DecodedMessage"])}return o};const deserializeAws_queryExpiredTokenException=(e,t)=>{const o={message:undefined};if(e["message"]!==undefined){o.message=(0,r.expectString)(e["message"])}return o};const deserializeAws_queryFederatedUser=(e,t)=>{const o={FederatedUserId:undefined,Arn:undefined};if(e["FederatedUserId"]!==undefined){o.FederatedUserId=(0,r.expectString)(e["FederatedUserId"])}if(e["Arn"]!==undefined){o.Arn=(0,r.expectString)(e["Arn"])}return o};const deserializeAws_queryGetAccessKeyInfoResponse=(e,t)=>{const o={Account:undefined};if(e["Account"]!==undefined){o.Account=(0,r.expectString)(e["Account"])}return o};const deserializeAws_queryGetCallerIdentityResponse=(e,t)=>{const o={UserId:undefined,Account:undefined,Arn:undefined};if(e["UserId"]!==undefined){o.UserId=(0,r.expectString)(e["UserId"])}if(e["Account"]!==undefined){o.Account=(0,r.expectString)(e["Account"])}if(e["Arn"]!==undefined){o.Arn=(0,r.expectString)(e["Arn"])}return o};const deserializeAws_queryGetFederationTokenResponse=(e,t)=>{const o={Credentials:undefined,FederatedUser:undefined,PackedPolicySize:undefined};if(e["Credentials"]!==undefined){o.Credentials=deserializeAws_queryCredentials(e["Credentials"],t)}if(e["FederatedUser"]!==undefined){o.FederatedUser=deserializeAws_queryFederatedUser(e["FederatedUser"],t)}if(e["PackedPolicySize"]!==undefined){o.PackedPolicySize=(0,r.strictParseInt32)(e["PackedPolicySize"])}return o};const deserializeAws_queryGetSessionTokenResponse=(e,t)=>{const o={Credentials:undefined};if(e["Credentials"]!==undefined){o.Credentials=deserializeAws_queryCredentials(e["Credentials"],t)}return o};const deserializeAws_queryIDPCommunicationErrorException=(e,t)=>{const o={message:undefined};if(e["message"]!==undefined){o.message=(0,r.expectString)(e["message"])}return o};const deserializeAws_queryIDPRejectedClaimException=(e,t)=>{const o={message:undefined};if(e["message"]!==undefined){o.message=(0,r.expectString)(e["message"])}return o};const deserializeAws_queryInvalidAuthorizationMessageException=(e,t)=>{const o={message:undefined};if(e["message"]!==undefined){o.message=(0,r.expectString)(e["message"])}return o};const deserializeAws_queryInvalidIdentityTokenException=(e,t)=>{const o={message:undefined};if(e["message"]!==undefined){o.message=(0,r.expectString)(e["message"])}return o};const deserializeAws_queryMalformedPolicyDocumentException=(e,t)=>{const o={message:undefined};if(e["message"]!==undefined){o.message=(0,r.expectString)(e["message"])}return o};const deserializeAws_queryPackedPolicyTooLargeException=(e,t)=>{const o={message:undefined};if(e["message"]!==undefined){o.message=(0,r.expectString)(e["message"])}return o};const deserializeAws_queryRegionDisabledException=(e,t)=>{const o={message:undefined};if(e["message"]!==undefined){o.message=(0,r.expectString)(e["message"])}return o};const deserializeMetadata=e=>{var t,o;return{httpStatusCode:e.statusCode,requestId:(o=(t=e.headers["x-amzn-requestid"])!==null&&t!==void 0?t:e.headers["x-amzn-request-id"])!==null&&o!==void 0?o:e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}};const collectBody=(e=new Uint8Array,t)=>{if(e instanceof Uint8Array){return Promise.resolve(e)}return t.streamCollector(e)||Promise.resolve(new Uint8Array)};const collectBodyString=(e,t)=>collectBody(e,t).then((e=>t.utf8Encoder(e)));const buildHttpRpcRequest=async(e,t,o,r,s)=>{const{hostname:i,protocol:a="https",port:c,path:l}=await e.endpoint();const u={protocol:a,hostname:i,port:c,method:"POST",path:l.endsWith("/")?l.slice(0,-1)+o:l+o,headers:t};if(r!==undefined){u.hostname=r}if(s!==undefined){u.body=s}return new n.HttpRequest(u)};const parseBody=(e,t)=>collectBodyString(e,t).then((e=>{if(e.length){const t=(0,i.parse)(e,{attributeNamePrefix:"",ignoreAttributes:false,parseNodeValue:false,trimValues:false,tagValueProcessor:e=>e.trim()===""&&e.includes("\n")?"":(0,s.decodeHTML)(e)});const o="#text";const n=Object.keys(t)[0];const a=t[n];if(a[o]){a[n]=a[o];delete a[o]}return(0,r.getValueFromTextNode)(a)}return{}}));const parseErrorBody=async(e,t)=>{var o;const n=await parseBody(e,t);if(n.Error){n.Error.message=(o=n.Error.message)!==null&&o!==void 0?o:n.Error.Message}return n};const buildFormUrlencodedString=e=>Object.entries(e).map((([e,t])=>(0,r.extendedEncodeURIComponent)(e)+"="+(0,r.extendedEncodeURIComponent)(t))).join("&");const loadQueryErrorCode=(e,t)=>{if(t.Error.Code!==undefined){return t.Error.Code}if(e.statusCode==404){return"NotFound"}}},3405:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=o(4351);const r=n.__importDefault(o(7947));const s=o(48);const i=o(6153);const a=o(5531);const c=o(7442);const l=o(6064);const u=o(7684);const d=o(8805);const p=o(8588);const m=o(4147);const g=o(8095);const f=o(6278);const y=o(2642);const h=o(4963);const v=o(4243);const w=o(4963);const getRuntimeConfig=e=>{var t,o,n,E,S,C,x,_,R,b,P,I,A,T,L;(0,w.emitWarningIfUnsupportedVersion)(process.version);const N=(0,v.resolveDefaultsModeConfig)(e);const defaultConfigProvider=()=>N().then(h.loadConfigsForDefaultMode);const D=(0,y.getRuntimeConfig)(e);return{...D,...e,runtime:"node",defaultsMode:N,base64Decoder:(t=e===null||e===void 0?void 0:e.base64Decoder)!==null&&t!==void 0?t:p.fromBase64,base64Encoder:(o=e===null||e===void 0?void 0:e.base64Encoder)!==null&&o!==void 0?o:p.toBase64,bodyLengthChecker:(n=e===null||e===void 0?void 0:e.bodyLengthChecker)!==null&&n!==void 0?n:m.calculateBodyLength,credentialDefaultProvider:(E=e===null||e===void 0?void 0:e.credentialDefaultProvider)!==null&&E!==void 0?E:(0,s.decorateDefaultCredentialProvider)(a.defaultProvider),defaultUserAgentProvider:(S=e===null||e===void 0?void 0:e.defaultUserAgentProvider)!==null&&S!==void 0?S:(0,g.defaultUserAgent)({serviceId:D.serviceId,clientVersion:r.default.version}),maxAttempts:(C=e===null||e===void 0?void 0:e.maxAttempts)!==null&&C!==void 0?C:(0,u.loadConfig)(l.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:(x=e===null||e===void 0?void 0:e.region)!==null&&x!==void 0?x:(0,u.loadConfig)(i.NODE_REGION_CONFIG_OPTIONS,i.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:(_=e===null||e===void 0?void 0:e.requestHandler)!==null&&_!==void 0?_:new d.NodeHttpHandler(defaultConfigProvider),retryMode:(R=e===null||e===void 0?void 0:e.retryMode)!==null&&R!==void 0?R:(0,u.loadConfig)({...l.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await defaultConfigProvider()).retryMode||l.DEFAULT_RETRY_MODE}),sha256:(b=e===null||e===void 0?void 0:e.sha256)!==null&&b!==void 0?b:c.Hash.bind(null,"sha256"),streamCollector:(P=e===null||e===void 0?void 0:e.streamCollector)!==null&&P!==void 0?P:d.streamCollector,useDualstackEndpoint:(I=e===null||e===void 0?void 0:e.useDualstackEndpoint)!==null&&I!==void 0?I:(0,u.loadConfig)(i.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:(A=e===null||e===void 0?void 0:e.useFipsEndpoint)!==null&&A!==void 0?A:(0,u.loadConfig)(i.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),utf8Decoder:(T=e===null||e===void 0?void 0:e.utf8Decoder)!==null&&T!==void 0?T:f.fromUtf8,utf8Encoder:(L=e===null||e===void 0?void 0:e.utf8Encoder)!==null&&L!==void 0?L:f.toUtf8}};t.getRuntimeConfig=getRuntimeConfig},2642:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=o(7190);const r=o(3571);const getRuntimeConfig=e=>{var t,o,s,i,a;return{apiVersion:"2011-06-15",disableHostPrefix:(t=e===null||e===void 0?void 0:e.disableHostPrefix)!==null&&t!==void 0?t:false,logger:(o=e===null||e===void 0?void 0:e.logger)!==null&&o!==void 0?o:{},regionInfoProvider:(s=e===null||e===void 0?void 0:e.regionInfoProvider)!==null&&s!==void 0?s:r.defaultRegionInfoProvider,serviceId:(i=e===null||e===void 0?void 0:e.serviceId)!==null&&i!==void 0?i:"STS",urlParser:(a=e===null||e===void 0?void 0:e.urlParser)!==null&&a!==void 0?a:n.parseUrl}};t.getRuntimeConfig=getRuntimeConfig},4723:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS=t.DEFAULT_USE_DUALSTACK_ENDPOINT=t.CONFIG_USE_DUALSTACK_ENDPOINT=t.ENV_USE_DUALSTACK_ENDPOINT=void 0;const n=o(6168);t.ENV_USE_DUALSTACK_ENDPOINT="AWS_USE_DUALSTACK_ENDPOINT";t.CONFIG_USE_DUALSTACK_ENDPOINT="use_dualstack_endpoint";t.DEFAULT_USE_DUALSTACK_ENDPOINT=false;t.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS={environmentVariableSelector:e=>(0,n.booleanSelector)(e,t.ENV_USE_DUALSTACK_ENDPOINT,n.SelectorType.ENV),configFileSelector:e=>(0,n.booleanSelector)(e,t.CONFIG_USE_DUALSTACK_ENDPOINT,n.SelectorType.CONFIG),default:false}},2478:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS=t.DEFAULT_USE_FIPS_ENDPOINT=t.CONFIG_USE_FIPS_ENDPOINT=t.ENV_USE_FIPS_ENDPOINT=void 0;const n=o(6168);t.ENV_USE_FIPS_ENDPOINT="AWS_USE_FIPS_ENDPOINT";t.CONFIG_USE_FIPS_ENDPOINT="use_fips_endpoint";t.DEFAULT_USE_FIPS_ENDPOINT=false;t.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS={environmentVariableSelector:e=>(0,n.booleanSelector)(e,t.ENV_USE_FIPS_ENDPOINT,n.SelectorType.ENV),configFileSelector:e=>(0,n.booleanSelector)(e,t.CONFIG_USE_FIPS_ENDPOINT,n.SelectorType.CONFIG),default:false}},7392:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(4723),t);n.__exportStar(o(2478),t);n.__exportStar(o(2108),t);n.__exportStar(o(2327),t)},2108:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveCustomEndpointsConfig=void 0;const n=o(236);const resolveCustomEndpointsConfig=e=>{var t;const{endpoint:o,urlParser:r}=e;return{...e,tls:(t=e.tls)!==null&&t!==void 0?t:true,endpoint:(0,n.normalizeProvider)(typeof o==="string"?r(o):o),isCustomEndpoint:true,useDualstackEndpoint:(0,n.normalizeProvider)(e.useDualstackEndpoint)}};t.resolveCustomEndpointsConfig=resolveCustomEndpointsConfig},2327:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveEndpointsConfig=void 0;const n=o(236);const r=o(4159);const resolveEndpointsConfig=e=>{var t;const o=(0,n.normalizeProvider)(e.useDualstackEndpoint);const{endpoint:s,useFipsEndpoint:i,urlParser:a}=e;return{...e,tls:(t=e.tls)!==null&&t!==void 0?t:true,endpoint:s?(0,n.normalizeProvider)(typeof s==="string"?a(s):s):()=>(0,r.getEndpointFromRegion)({...e,useDualstackEndpoint:o,useFipsEndpoint:i}),isCustomEndpoint:!!s,useDualstackEndpoint:o}};t.resolveEndpointsConfig=resolveEndpointsConfig},4159:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEndpointFromRegion=void 0;const getEndpointFromRegion=async e=>{var t;const{tls:o=true}=e;const n=await e.region();const r=new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/);if(!r.test(n)){throw new Error("Invalid region in client config")}const s=await e.useDualstackEndpoint();const i=await e.useFipsEndpoint();const{hostname:a}=(t=await e.regionInfoProvider(n,{useDualstackEndpoint:s,useFipsEndpoint:i}))!==null&&t!==void 0?t:{};if(!a){throw new Error("Cannot resolve hostname from client config")}return e.urlParser(`${o?"https:":"http:"}//${a}`)};t.getEndpointFromRegion=getEndpointFromRegion},6153:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(7392),t);n.__exportStar(o(5441),t);n.__exportStar(o(6258),t)},422:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NODE_REGION_CONFIG_FILE_OPTIONS=t.NODE_REGION_CONFIG_OPTIONS=t.REGION_INI_NAME=t.REGION_ENV_NAME=void 0;t.REGION_ENV_NAME="AWS_REGION";t.REGION_INI_NAME="region";t.NODE_REGION_CONFIG_OPTIONS={environmentVariableSelector:e=>e[t.REGION_ENV_NAME],configFileSelector:e=>e[t.REGION_INI_NAME],default:()=>{throw new Error("Region is missing")}};t.NODE_REGION_CONFIG_FILE_OPTIONS={preferredFile:"credentials"}},2844:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRealRegion=void 0;const n=o(2440);const getRealRegion=e=>(0,n.isFipsRegion)(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e;t.getRealRegion=getRealRegion},5441:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(422),t);n.__exportStar(o(174),t)},2440:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isFipsRegion=void 0;const isFipsRegion=e=>typeof e==="string"&&(e.startsWith("fips-")||e.endsWith("-fips"));t.isFipsRegion=isFipsRegion},174:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveRegionConfig=void 0;const n=o(2844);const r=o(2440);const resolveRegionConfig=e=>{const{region:t,useFipsEndpoint:o}=e;if(!t){throw new Error("Region is missing")}return{...e,region:async()=>{if(typeof t==="string"){return(0,n.getRealRegion)(t)}const e=await t();return(0,n.getRealRegion)(e)},useFipsEndpoint:async()=>{const e=typeof t==="string"?t:await t();if((0,r.isFipsRegion)(e)){return true}return typeof o==="boolean"?Promise.resolve(o):o()}}};t.resolveRegionConfig=resolveRegionConfig},3566:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},6057:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},5280:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getHostnameFromVariants=void 0;const getHostnameFromVariants=(e=[],{useFipsEndpoint:t,useDualstackEndpoint:o})=>{var n;return(n=e.find((({tags:e})=>t===e.includes("fips")&&o===e.includes("dualstack"))))===null||n===void 0?void 0:n.hostname};t.getHostnameFromVariants=getHostnameFromVariants},6167:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRegionInfo=void 0;const n=o(5280);const r=o(3877);const s=o(7642);const i=o(3517);const getRegionInfo=(e,{useFipsEndpoint:t=false,useDualstackEndpoint:o=false,signingService:a,regionHash:c,partitionHash:l})=>{var u,d,p,m,g,f;const y=(0,s.getResolvedPartition)(e,{partitionHash:l});const h=e in c?e:(d=(u=l[y])===null||u===void 0?void 0:u.endpoint)!==null&&d!==void 0?d:e;const v={useFipsEndpoint:t,useDualstackEndpoint:o};const w=(0,n.getHostnameFromVariants)((p=c[h])===null||p===void 0?void 0:p.variants,v);const E=(0,n.getHostnameFromVariants)((m=l[y])===null||m===void 0?void 0:m.variants,v);const S=(0,r.getResolvedHostname)(h,{regionHostname:w,partitionHostname:E});if(S===undefined){throw new Error(`Endpoint resolution failed for: ${{resolvedRegion:h,useFipsEndpoint:t,useDualstackEndpoint:o}}`)}const C=(0,i.getResolvedSigningRegion)(S,{signingRegion:(g=c[h])===null||g===void 0?void 0:g.signingRegion,regionRegex:l[y].regionRegex,useFipsEndpoint:t});return{partition:y,signingService:a,hostname:S,...C&&{signingRegion:C},...((f=c[h])===null||f===void 0?void 0:f.signingService)&&{signingService:c[h].signingService}}};t.getRegionInfo=getRegionInfo},3877:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getResolvedHostname=void 0;const getResolvedHostname=(e,{regionHostname:t,partitionHostname:o})=>t?t:o?o.replace("{region}",e):undefined;t.getResolvedHostname=getResolvedHostname},7642:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getResolvedPartition=void 0;const getResolvedPartition=(e,{partitionHash:t})=>{var o;return(o=Object.keys(t||{}).find((o=>t[o].regions.includes(e))))!==null&&o!==void 0?o:"aws"};t.getResolvedPartition=getResolvedPartition},3517:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getResolvedSigningRegion=void 0;const getResolvedSigningRegion=(e,{signingRegion:t,regionRegex:o,useFipsEndpoint:n})=>{if(t){return t}else if(n){const t=o.replace("\\\\","\\").replace(/^\^/g,"\\.").replace(/\$$/g,"\\.");const n=e.match(t);if(n){return n[0].slice(1,-1)}}};t.getResolvedSigningRegion=getResolvedSigningRegion},6258:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(3566),t);n.__exportStar(o(6057),t);n.__exportStar(o(6167),t)},255:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.fromEnv=t.ENV_EXPIRATION=t.ENV_SESSION=t.ENV_SECRET=t.ENV_KEY=void 0;const n=o(4462);t.ENV_KEY="AWS_ACCESS_KEY_ID";t.ENV_SECRET="AWS_SECRET_ACCESS_KEY";t.ENV_SESSION="AWS_SESSION_TOKEN";t.ENV_EXPIRATION="AWS_CREDENTIAL_EXPIRATION";const fromEnv=()=>async()=>{const e=process.env[t.ENV_KEY];const o=process.env[t.ENV_SECRET];const r=process.env[t.ENV_SESSION];const s=process.env[t.ENV_EXPIRATION];if(e&&o){return{accessKeyId:e,secretAccessKey:o,...r&&{sessionToken:r},...s&&{expiration:new Date(s)}}}throw new n.CredentialsProviderError("Unable to find environment variable credentials.")};t.fromEnv=fromEnv},5972:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(255),t)},3736:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Endpoint=void 0;var o;(function(e){e["IPv4"]="http://169.254.169.254";e["IPv6"]="http://[fd00:ec2::254]"})(o=t.Endpoint||(t.Endpoint={}))},8438:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ENDPOINT_CONFIG_OPTIONS=t.CONFIG_ENDPOINT_NAME=t.ENV_ENDPOINT_NAME=void 0;t.ENV_ENDPOINT_NAME="AWS_EC2_METADATA_SERVICE_ENDPOINT";t.CONFIG_ENDPOINT_NAME="ec2_metadata_service_endpoint";t.ENDPOINT_CONFIG_OPTIONS={environmentVariableSelector:e=>e[t.ENV_ENDPOINT_NAME],configFileSelector:e=>e[t.CONFIG_ENDPOINT_NAME],default:undefined}},1695:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EndpointMode=void 0;var o;(function(e){e["IPv4"]="IPv4";e["IPv6"]="IPv6"})(o=t.EndpointMode||(t.EndpointMode={}))},7824:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ENDPOINT_MODE_CONFIG_OPTIONS=t.CONFIG_ENDPOINT_MODE_NAME=t.ENV_ENDPOINT_MODE_NAME=void 0;const n=o(1695);t.ENV_ENDPOINT_MODE_NAME="AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE";t.CONFIG_ENDPOINT_MODE_NAME="ec2_metadata_service_endpoint_mode";t.ENDPOINT_MODE_CONFIG_OPTIONS={environmentVariableSelector:e=>e[t.ENV_ENDPOINT_MODE_NAME],configFileSelector:e=>e[t.CONFIG_ENDPOINT_MODE_NAME],default:n.EndpointMode.IPv4}},5232:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.fromContainerMetadata=t.ENV_CMDS_AUTH_TOKEN=t.ENV_CMDS_RELATIVE_URI=t.ENV_CMDS_FULL_URI=void 0;const n=o(4462);const r=o(7310);const s=o(1303);const i=o(1467);const a=o(2314);const c=o(9912);t.ENV_CMDS_FULL_URI="AWS_CONTAINER_CREDENTIALS_FULL_URI";t.ENV_CMDS_RELATIVE_URI="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI";t.ENV_CMDS_AUTH_TOKEN="AWS_CONTAINER_AUTHORIZATION_TOKEN";const fromContainerMetadata=(e={})=>{const{timeout:t,maxRetries:o}=(0,a.providerConfigFromInit)(e);return()=>(0,c.retry)((async()=>{const e=await getCmdsUri();const o=JSON.parse(await requestFromEcsImds(t,e));if(!(0,i.isImdsCredentials)(o)){throw new n.CredentialsProviderError("Invalid response received from instance metadata service.")}return(0,i.fromImdsCredentials)(o)}),o)};t.fromContainerMetadata=fromContainerMetadata;const requestFromEcsImds=async(e,o)=>{if(process.env[t.ENV_CMDS_AUTH_TOKEN]){o.headers={...o.headers,Authorization:process.env[t.ENV_CMDS_AUTH_TOKEN]}}const n=await(0,s.httpRequest)({...o,timeout:e});return n.toString()};const l="169.254.170.2";const u={localhost:true,"127.0.0.1":true};const d={"http:":true,"https:":true};const getCmdsUri=async()=>{if(process.env[t.ENV_CMDS_RELATIVE_URI]){return{hostname:l,path:process.env[t.ENV_CMDS_RELATIVE_URI]}}if(process.env[t.ENV_CMDS_FULL_URI]){const e=(0,r.parse)(process.env[t.ENV_CMDS_FULL_URI]);if(!e.hostname||!(e.hostname in u)){throw new n.CredentialsProviderError(`${e.hostname} is not a valid container metadata service hostname`,false)}if(!e.protocol||!(e.protocol in d)){throw new n.CredentialsProviderError(`${e.protocol} is not a valid container metadata service protocol`,false)}return{...e,port:e.port?parseInt(e.port,10):undefined}}throw new n.CredentialsProviderError("The container metadata credential provider cannot be used unless"+` the ${t.ENV_CMDS_RELATIVE_URI} or ${t.ENV_CMDS_FULL_URI} environment`+" variable is set",false)}},5813:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.fromInstanceMetadata=void 0;const n=o(4462);const r=o(1303);const s=o(1467);const i=o(2314);const a=o(9912);const c=o(1206);const l=o(4620);const u="/latest/meta-data/iam/security-credentials/";const d="/latest/api/token";const fromInstanceMetadata=(e={})=>(0,l.staticStabilityProvider)(getInstanceImdsProvider(e),{logger:e.logger});t.fromInstanceMetadata=fromInstanceMetadata;const getInstanceImdsProvider=e=>{let t=false;const{timeout:o,maxRetries:n}=(0,i.providerConfigFromInit)(e);const getCredentials=async(e,o)=>{const n=(await(0,a.retry)((async()=>{let e;try{e=await getProfile(o)}catch(e){if(e.statusCode===401){t=false}throw e}return e}),e)).trim();return(0,a.retry)((async()=>{let e;try{e=await getCredentialsFromProfile(n,o)}catch(e){if(e.statusCode===401){t=false}throw e}return e}),e)};return async()=>{const e=await(0,c.getInstanceMetadataEndpoint)();if(t){return getCredentials(n,{...e,timeout:o})}else{let r;try{r=(await getMetadataToken({...e,timeout:o})).toString()}catch(r){if((r===null||r===void 0?void 0:r.statusCode)===400){throw Object.assign(r,{message:"EC2 Metadata token request returned error"})}else if(r.message==="TimeoutError"||[403,404,405].includes(r.statusCode)){t=true}return getCredentials(n,{...e,timeout:o})}return getCredentials(n,{...e,headers:{"x-aws-ec2-metadata-token":r},timeout:o})}}};const getMetadataToken=async e=>(0,r.httpRequest)({...e,path:d,method:"PUT",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"21600"}});const getProfile=async e=>(await(0,r.httpRequest)({...e,path:u})).toString();const getCredentialsFromProfile=async(e,t)=>{const o=JSON.parse((await(0,r.httpRequest)({...t,path:u+e})).toString());if(!(0,s.isImdsCredentials)(o)){throw new n.CredentialsProviderError("Invalid response received from instance metadata service.")}return(0,s.fromImdsCredentials)(o)}},5898:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInstanceMetadataEndpoint=t.httpRequest=void 0;const n=o(4351);n.__exportStar(o(5232),t);n.__exportStar(o(5813),t);n.__exportStar(o(2314),t);n.__exportStar(o(1178),t);var r=o(1303);Object.defineProperty(t,"httpRequest",{enumerable:true,get:function(){return r.httpRequest}});var s=o(1206);Object.defineProperty(t,"getInstanceMetadataEndpoint",{enumerable:true,get:function(){return s.getInstanceMetadataEndpoint}})},1467:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.fromImdsCredentials=t.isImdsCredentials=void 0;const isImdsCredentials=e=>Boolean(e)&&typeof e==="object"&&typeof e.AccessKeyId==="string"&&typeof e.SecretAccessKey==="string"&&typeof e.Token==="string"&&typeof e.Expiration==="string";t.isImdsCredentials=isImdsCredentials;const fromImdsCredentials=e=>({accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretAccessKey,sessionToken:e.Token,expiration:new Date(e.Expiration)});t.fromImdsCredentials=fromImdsCredentials},2314:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.providerConfigFromInit=t.DEFAULT_MAX_RETRIES=t.DEFAULT_TIMEOUT=void 0;t.DEFAULT_TIMEOUT=1e3;t.DEFAULT_MAX_RETRIES=0;const providerConfigFromInit=({maxRetries:e=t.DEFAULT_MAX_RETRIES,timeout:o=t.DEFAULT_TIMEOUT})=>({maxRetries:e,timeout:o});t.providerConfigFromInit=providerConfigFromInit},1303:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.httpRequest=void 0;const n=o(4462);const r=o(4300);const s=o(3685);function httpRequest(e){return new Promise(((t,o)=>{var i;const a=(0,s.request)({method:"GET",...e,hostname:(i=e.hostname)===null||i===void 0?void 0:i.replace(/^\[(.+)\]$/,"$1")});a.on("error",(e=>{o(Object.assign(new n.ProviderError("Unable to connect to instance metadata service"),e));a.destroy()}));a.on("timeout",(()=>{o(new n.ProviderError("TimeoutError from instance metadata service"));a.destroy()}));a.on("response",(e=>{const{statusCode:s=400}=e;if(s<200||300<=s){o(Object.assign(new n.ProviderError("Error response received from instance metadata service"),{statusCode:s}));a.destroy()}const i=[];e.on("data",(e=>{i.push(e)}));e.on("end",(()=>{t(r.Buffer.concat(i));a.destroy()}))}));a.end()}))}t.httpRequest=httpRequest},9912:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.retry=void 0;const retry=(e,t)=>{let o=e();for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:true})},8473:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getExtendedInstanceMetadataCredentials=void 0;const o=5*60;const n=5*60;const r="https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html";const getExtendedInstanceMetadataCredentials=(e,t)=>{var s;const i=o+Math.floor(Math.random()*n);const a=new Date(Date.now()+i*1e3);t.warn("Attempting credential expiration extension due to a credential service availability issue. A refresh of these "+"credentials will be attempted after ${new Date(newExpiration)}.\nFor more information, please visit: "+r);const c=(s=e.originalExpiration)!==null&&s!==void 0?s:e.expiration;return{...e,...c?{originalExpiration:c}:{},expiration:a}};t.getExtendedInstanceMetadataCredentials=getExtendedInstanceMetadataCredentials},1206:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInstanceMetadataEndpoint=void 0;const n=o(7684);const r=o(7190);const s=o(3736);const i=o(8438);const a=o(1695);const c=o(7824);const getInstanceMetadataEndpoint=async()=>(0,r.parseUrl)(await getFromEndpointConfig()||await getFromEndpointModeConfig());t.getInstanceMetadataEndpoint=getInstanceMetadataEndpoint;const getFromEndpointConfig=async()=>(0,n.loadConfig)(i.ENDPOINT_CONFIG_OPTIONS)();const getFromEndpointModeConfig=async()=>{const e=await(0,n.loadConfig)(c.ENDPOINT_MODE_CONFIG_OPTIONS)();switch(e){case a.EndpointMode.IPv4:return s.Endpoint.IPv4;case a.EndpointMode.IPv6:return s.Endpoint.IPv6;default:throw new Error(`Unsupported endpoint mode: ${e}.`+` Select from ${Object.values(a.EndpointMode)}`)}}},4620:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.staticStabilityProvider=void 0;const n=o(8473);const staticStabilityProvider=(e,t={})=>{const o=(t===null||t===void 0?void 0:t.logger)||console;let r;return async()=>{let t;try{t=await e();if(t.expiration&&t.expiration.getTime(){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.fromIni=void 0;const n=o(7387);const r=o(5653);const fromIni=(e={})=>async()=>{const t=await(0,n.parseKnownFiles)(e);return(0,r.resolveProfileData)((0,n.getProfileName)(e),t,e)};t.fromIni=fromIni},4203:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(5442),t)},853:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveAssumeRoleCredentials=t.isAssumeRoleProfile=void 0;const n=o(4462);const r=o(7387);const s=o(2458);const i=o(5653);const isAssumeRoleProfile=e=>Boolean(e)&&typeof e==="object"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1&&["undefined","string"].indexOf(typeof e.external_id)>-1&&["undefined","string"].indexOf(typeof e.mfa_serial)>-1&&(isAssumeRoleWithSourceProfile(e)||isAssumeRoleWithProviderProfile(e));t.isAssumeRoleProfile=isAssumeRoleProfile;const isAssumeRoleWithSourceProfile=e=>typeof e.source_profile==="string"&&typeof e.credential_source==="undefined";const isAssumeRoleWithProviderProfile=e=>typeof e.credential_source==="string"&&typeof e.source_profile==="undefined";const resolveAssumeRoleCredentials=async(e,t,o,a={})=>{const c=t[e];if(!o.roleAssumer){throw new n.CredentialsProviderError(`Profile ${e} requires a role to be assumed, but no role assumption callback was provided.`,false)}const{source_profile:l}=c;if(l&&l in a){throw new n.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile`+` ${(0,r.getProfileName)(o)}. Profiles visited: `+Object.keys(a).join(", "),false)}const u=l?(0,i.resolveProfileData)(l,t,o,{...a,[l]:true}):(0,s.resolveCredentialSource)(c.credential_source,e)();const d={RoleArn:c.role_arn,RoleSessionName:c.role_session_name||`aws-sdk-js-${Date.now()}`,ExternalId:c.external_id};const{mfa_serial:p}=c;if(p){if(!o.mfaCodeProvider){throw new n.CredentialsProviderError(`Profile ${e} requires multi-factor authentication, but no MFA code callback was provided.`,false)}d.SerialNumber=p;d.TokenCode=await o.mfaCodeProvider(p)}const m=await u;return o.roleAssumer(m,d)};t.resolveAssumeRoleCredentials=resolveAssumeRoleCredentials},2458:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveCredentialSource=void 0;const n=o(5972);const r=o(5898);const s=o(4462);const resolveCredentialSource=(e,t)=>{const o={EcsContainer:r.fromContainerMetadata,Ec2InstanceMetadata:r.fromInstanceMetadata,Environment:n.fromEnv};if(e in o){return o[e]()}else{throw new s.CredentialsProviderError(`Unsupported credential source in profile ${t}. Got ${e}, `+`expected EcsContainer or Ec2InstanceMetadata or Environment.`)}};t.resolveCredentialSource=resolveCredentialSource},5653:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveProfileData=void 0;const n=o(4462);const r=o(853);const s=o(9867);const i=o(3071);const a=o(8342);const resolveProfileData=async(e,t,o,c={})=>{const l=t[e];if(Object.keys(c).length>0&&(0,i.isStaticCredsProfile)(l)){return(0,i.resolveStaticCredentials)(l)}if((0,r.isAssumeRoleProfile)(l)){return(0,r.resolveAssumeRoleCredentials)(e,t,o,c)}if((0,i.isStaticCredsProfile)(l)){return(0,i.resolveStaticCredentials)(l)}if((0,a.isWebIdentityProfile)(l)){return(0,a.resolveWebIdentityCredentials)(l,o)}if((0,s.isSsoProfile)(l)){return(0,s.resolveSsoCredentials)(l)}throw new n.CredentialsProviderError(`Profile ${e} could not be found or parsed in shared credentials file.`)};t.resolveProfileData=resolveProfileData},9867:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveSsoCredentials=t.isSsoProfile=void 0;const n=o(6414);var r=o(6414);Object.defineProperty(t,"isSsoProfile",{enumerable:true,get:function(){return r.isSsoProfile}});const resolveSsoCredentials=e=>{const{sso_start_url:t,sso_account_id:o,sso_region:r,sso_role_name:s}=(0,n.validateSsoProfile)(e);return(0,n.fromSSO)({ssoStartUrl:t,ssoAccountId:o,ssoRegion:r,ssoRoleName:s})()};t.resolveSsoCredentials=resolveSsoCredentials},3071:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveStaticCredentials=t.isStaticCredsProfile=void 0;const isStaticCredsProfile=e=>Boolean(e)&&typeof e==="object"&&typeof e.aws_access_key_id==="string"&&typeof e.aws_secret_access_key==="string"&&["undefined","string"].indexOf(typeof e.aws_session_token)>-1;t.isStaticCredsProfile=isStaticCredsProfile;const resolveStaticCredentials=e=>Promise.resolve({accessKeyId:e.aws_access_key_id,secretAccessKey:e.aws_secret_access_key,sessionToken:e.aws_session_token});t.resolveStaticCredentials=resolveStaticCredentials},8342:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveWebIdentityCredentials=t.isWebIdentityProfile=void 0;const n=o(5646);const isWebIdentityProfile=e=>Boolean(e)&&typeof e==="object"&&typeof e.web_identity_token_file==="string"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1;t.isWebIdentityProfile=isWebIdentityProfile;const resolveWebIdentityCredentials=async(e,t)=>(0,n.fromTokenFile)({webIdentityTokenFile:e.web_identity_token_file,roleArn:e.role_arn,roleSessionName:e.role_session_name,roleAssumerWithWebIdentity:t.roleAssumerWithWebIdentity})();t.resolveWebIdentityCredentials=resolveWebIdentityCredentials},5560:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.defaultProvider=void 0;const n=o(5972);const r=o(4203);const s=o(9969);const i=o(6414);const a=o(5646);const c=o(4462);const l=o(7387);const u=o(626);const defaultProvider=(e={})=>(0,c.memoize)((0,c.chain)(...e.profile||process.env[l.ENV_PROFILE]?[]:[(0,n.fromEnv)()],(0,i.fromSSO)(e),(0,r.fromIni)(e),(0,s.fromProcess)(e),(0,a.fromTokenFile)(e),(0,u.remoteProvider)(e),(async()=>{throw new c.CredentialsProviderError("Could not load credentials from any providers",false)})),(e=>e.expiration!==undefined&&e.expiration.getTime()-Date.now()<3e5),(e=>e.expiration!==undefined));t.defaultProvider=defaultProvider},5531:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(5560),t)},626:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.remoteProvider=t.ENV_IMDS_DISABLED=void 0;const n=o(5898);const r=o(4462);t.ENV_IMDS_DISABLED="AWS_EC2_METADATA_DISABLED";const remoteProvider=e=>{if(process.env[n.ENV_CMDS_RELATIVE_URI]||process.env[n.ENV_CMDS_FULL_URI]){return(0,n.fromContainerMetadata)(e)}if(process.env[t.ENV_IMDS_DISABLED]){return async()=>{throw new r.CredentialsProviderError("EC2 Instance Metadata Service access disabled")}}return(0,n.fromInstanceMetadata)(e)};t.remoteProvider=remoteProvider},2650:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.fromProcess=void 0;const n=o(7387);const r=o(4926);const fromProcess=(e={})=>async()=>{const t=await(0,n.parseKnownFiles)(e);return(0,r.resolveProcessCredentials)((0,n.getProfileName)(e),t)};t.fromProcess=fromProcess},1104:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getValidatedProcessCredentials=void 0;const getValidatedProcessCredentials=(e,t)=>{if(t.Version!==1){throw Error(`Profile ${e} credential_process did not return Version 1.`)}if(t.AccessKeyId===undefined||t.SecretAccessKey===undefined){throw Error(`Profile ${e} credential_process returned invalid credentials.`)}if(t.Expiration){const o=new Date;const n=new Date(t.Expiration);if(n{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(2650),t)},4926:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveProcessCredentials=void 0;const n=o(4462);const r=o(2081);const s=o(3837);const i=o(1104);const resolveProcessCredentials=async(e,t)=>{const o=t[e];if(t[e]){const t=o["credential_process"];if(t!==undefined){const o=(0,s.promisify)(r.exec);try{const{stdout:n}=await o(t);let r;try{r=JSON.parse(n.trim())}catch(t){throw Error(`Profile ${e} credential_process returned invalid JSON.`)}return(0,i.getValidatedProcessCredentials)(e,r)}catch(e){throw new n.CredentialsProviderError(e.message)}}else{throw new n.CredentialsProviderError(`Profile ${e} did not contain credential_process.`)}}else{throw new n.CredentialsProviderError(`Profile ${e} could not be found in shared credentials file.`)}};t.resolveProcessCredentials=resolveProcessCredentials},5184:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.fromSSO=void 0;const n=o(4462);const r=o(7387);const s=o(2572);const i=o(4729);const a=o(8098);const fromSSO=(e={})=>async()=>{const{ssoStartUrl:t,ssoAccountId:o,ssoRegion:c,ssoRoleName:l,ssoClient:u}=e;if(!t&&!o&&!c&&!l){const t=await(0,r.parseKnownFiles)(e);const o=(0,r.getProfileName)(e);const c=t[o];if(!(0,s.isSsoProfile)(c)){throw new n.CredentialsProviderError(`Profile ${o} is not configured with SSO credentials.`)}const{sso_start_url:l,sso_account_id:d,sso_region:p,sso_role_name:m}=(0,a.validateSsoProfile)(c);return(0,i.resolveSSOCredentials)({ssoStartUrl:l,ssoAccountId:d,ssoRegion:p,ssoRoleName:m,ssoClient:u})}else if(!t||!o||!c||!l){throw new n.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl",'+' "ssoAccountId", "ssoRegion", "ssoRoleName"')}else{return(0,i.resolveSSOCredentials)({ssoStartUrl:t,ssoAccountId:o,ssoRegion:c,ssoRoleName:l,ssoClient:u})}};t.fromSSO=fromSSO},6414:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(5184),t);n.__exportStar(o(2572),t);n.__exportStar(o(6623),t);n.__exportStar(o(8098),t)},2572:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isSsoProfile=void 0;const isSsoProfile=e=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string");t.isSsoProfile=isSsoProfile},4729:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveSSOCredentials=void 0;const n=o(2666);const r=o(4462);const s=o(7387);const i=15*60*1e3;const a=false;const resolveSSOCredentials=async({ssoStartUrl:e,ssoAccountId:t,ssoRegion:o,ssoRoleName:c,ssoClient:l})=>{let u;const d=`To refresh this SSO session run aws sso login with the corresponding profile.`;try{u=await(0,s.getSSOTokenFromFile)(e)}catch(e){throw new r.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${d}`,a)}if(new Date(u.expiresAt).getTime()-Date.now()<=i){throw new r.CredentialsProviderError(`The SSO session associated with this profile has expired. ${d}`,a)}const{accessToken:p}=u;const m=l||new n.SSOClient({region:o});let g;try{g=await m.send(new n.GetRoleCredentialsCommand({accountId:t,roleName:c,accessToken:p}))}catch(e){throw r.CredentialsProviderError.from(e,a)}const{roleCredentials:{accessKeyId:f,secretAccessKey:y,sessionToken:h,expiration:v}={}}=g;if(!f||!y||!h||!v){throw new r.CredentialsProviderError("SSO returns an invalid temporary credential.",a)}return{accessKeyId:f,secretAccessKey:y,sessionToken:h,expiration:new Date(v)}};t.resolveSSOCredentials=resolveSSOCredentials},6623:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},8098:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validateSsoProfile=void 0;const n=o(4462);const validateSsoProfile=e=>{const{sso_start_url:t,sso_account_id:o,sso_region:r,sso_role_name:s}=e;if(!t||!o||!r||!s){throw new n.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", `+`"sso_role_name", "sso_start_url". Got ${Object.keys(e).join(", ")}\nReference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,false)}return e};t.validateSsoProfile=validateSsoProfile},5614:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.fromTokenFile=void 0;const n=o(4462);const r=o(7147);const s=o(7905);const i="AWS_WEB_IDENTITY_TOKEN_FILE";const a="AWS_ROLE_ARN";const c="AWS_ROLE_SESSION_NAME";const fromTokenFile=(e={})=>async()=>resolveTokenFile(e);t.fromTokenFile=fromTokenFile;const resolveTokenFile=e=>{var t,o,l;const u=(t=e===null||e===void 0?void 0:e.webIdentityTokenFile)!==null&&t!==void 0?t:process.env[i];const d=(o=e===null||e===void 0?void 0:e.roleArn)!==null&&o!==void 0?o:process.env[a];const p=(l=e===null||e===void 0?void 0:e.roleSessionName)!==null&&l!==void 0?l:process.env[c];if(!u||!d){throw new n.CredentialsProviderError("Web identity configuration not specified")}return(0,s.fromWebToken)({...e,webIdentityToken:(0,r.readFileSync)(u,{encoding:"ascii"}),roleArn:d,roleSessionName:p})()}},7905:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.fromWebToken=void 0;const n=o(4462);const fromWebToken=e=>()=>{const{roleArn:t,roleSessionName:o,webIdentityToken:r,providerId:s,policyArns:i,policy:a,durationSeconds:c,roleAssumerWithWebIdentity:l}=e;if(!l){throw new n.CredentialsProviderError(`Role Arn '${t}' needs to be assumed with web identity,`+` but no role assumption callback was provided.`,false)}return l({RoleArn:t,RoleSessionName:o!==null&&o!==void 0?o:`aws-sdk-js-session-${Date.now()}`,WebIdentityToken:r,ProviderId:s,PolicyArns:i,Policy:a,DurationSeconds:c})};t.fromWebToken=fromWebToken},5646:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(5614),t);n.__exportStar(o(7905),t)},7442:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Hash=void 0;const n=o(6010);const r=o(4300);const s=o(6113);class Hash{constructor(e,t){this.hash=t?(0,s.createHmac)(e,castSourceData(t)):(0,s.createHash)(e)}update(e,t){this.hash.update(castSourceData(e,t))}digest(){return Promise.resolve(this.hash.digest())}}t.Hash=Hash;function castSourceData(e,t){if(r.Buffer.isBuffer(e)){return e}if(typeof e==="string"){return(0,n.fromString)(e,t)}if(ArrayBuffer.isView(e)){return(0,n.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength)}return(0,n.fromArrayBuffer)(e)}},9126:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isArrayBuffer=void 0;const isArrayBuffer=e=>typeof ArrayBuffer==="function"&&e instanceof ArrayBuffer||Object.prototype.toString.call(e)==="[object ArrayBuffer]";t.isArrayBuffer=isArrayBuffer},2245:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getContentLengthPlugin=t.contentLengthMiddlewareOptions=t.contentLengthMiddleware=void 0;const n=o(223);const r="content-length";function contentLengthMiddleware(e){return t=>async o=>{const s=o.request;if(n.HttpRequest.isInstance(s)){const{body:t,headers:o}=s;if(t&&Object.keys(o).map((e=>e.toLowerCase())).indexOf(r)===-1){try{const o=e(t);s.headers={...s.headers,[r]:String(o)}}catch(e){}}}return t({...o,request:s})}}t.contentLengthMiddleware=contentLengthMiddleware;t.contentLengthMiddlewareOptions={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:true};const getContentLengthPlugin=e=>({applyToStack:o=>{o.add(contentLengthMiddleware(e.bodyLengthChecker),t.contentLengthMiddlewareOptions)}});t.getContentLengthPlugin=getContentLengthPlugin},2545:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getHostHeaderPlugin=t.hostHeaderMiddlewareOptions=t.hostHeaderMiddleware=t.resolveHostHeaderConfig=void 0;const n=o(223);function resolveHostHeaderConfig(e){return e}t.resolveHostHeaderConfig=resolveHostHeaderConfig;const hostHeaderMiddleware=e=>t=>async o=>{if(!n.HttpRequest.isInstance(o.request))return t(o);const{request:r}=o;const{handlerProtocol:s=""}=e.requestHandler.metadata||{};if(s.indexOf("h2")>=0&&!r.headers[":authority"]){delete r.headers["host"];r.headers[":authority"]=""}else if(!r.headers["host"]){r.headers["host"]=r.hostname}return t(o)};t.hostHeaderMiddleware=hostHeaderMiddleware;t.hostHeaderMiddlewareOptions={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:true};const getHostHeaderPlugin=e=>({applyToStack:o=>{o.add((0,t.hostHeaderMiddleware)(e),t.hostHeaderMiddlewareOptions)}});t.getHostHeaderPlugin=getHostHeaderPlugin},14:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(9754),t)},9754:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getLoggerPlugin=t.loggerMiddlewareOptions=t.loggerMiddleware=void 0;const loggerMiddleware=()=>(e,t)=>async o=>{const{clientName:n,commandName:r,inputFilterSensitiveLog:s,logger:i,outputFilterSensitiveLog:a}=t;const c=await e(o);if(!i){return c}if(typeof i.info==="function"){const{$metadata:e,...t}=c.output;i.info({clientName:n,commandName:r,input:s(o.input),output:a(t),metadata:e})}return c};t.loggerMiddleware=loggerMiddleware;t.loggerMiddlewareOptions={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:true};const getLoggerPlugin=e=>({applyToStack:e=>{e.add((0,t.loggerMiddleware)(),t.loggerMiddlewareOptions)}});t.getLoggerPlugin=getLoggerPlugin},5525:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRecursionDetectionPlugin=t.addRecursionDetectionMiddlewareOptions=t.recursionDetectionMiddleware=void 0;const n=o(223);const r="X-Amzn-Trace-Id";const s="AWS_LAMBDA_FUNCTION_NAME";const i="_X_AMZN_TRACE_ID";const recursionDetectionMiddleware=e=>t=>async o=>{const{request:a}=o;if(!n.HttpRequest.isInstance(a)||e.runtime!=="node"||a.headers.hasOwnProperty(r)){return t(o)}const c=process.env[s];const l=process.env[i];const nonEmptyString=e=>typeof e==="string"&&e.length>0;if(nonEmptyString(c)&&nonEmptyString(l)){a.headers[r]=l}return t({...o,request:a})};t.recursionDetectionMiddleware=recursionDetectionMiddleware;t.addRecursionDetectionMiddlewareOptions={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:true,priority:"low"};const getRecursionDetectionPlugin=e=>({applyToStack:o=>{o.add((0,t.recursionDetectionMiddleware)(e),t.addRecursionDetectionMiddlewareOptions)}});t.getRecursionDetectionPlugin=getRecursionDetectionPlugin},7328:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AdaptiveRetryStrategy=void 0;const n=o(5192);const r=o(6402);const s=o(533);class AdaptiveRetryStrategy extends s.StandardRetryStrategy{constructor(e,t){const{rateLimiter:o,...s}=t!==null&&t!==void 0?t:{};super(e,s);this.rateLimiter=o!==null&&o!==void 0?o:new r.DefaultRateLimiter;this.mode=n.RETRY_MODES.ADAPTIVE}async retry(e,t){return super.retry(e,t,{beforeRequest:async()=>this.rateLimiter.getSendToken(),afterRequest:e=>{this.rateLimiter.updateClientSendingRate(e)}})}}t.AdaptiveRetryStrategy=AdaptiveRetryStrategy},6402:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DefaultRateLimiter=void 0;const n=o(1921);class DefaultRateLimiter{constructor(e){var t,o,n,r,s;this.currentCapacity=0;this.enabled=false;this.lastMaxRate=0;this.measuredTxRate=0;this.requestCount=0;this.lastTimestamp=0;this.timeWindow=0;this.beta=(t=e===null||e===void 0?void 0:e.beta)!==null&&t!==void 0?t:.7;this.minCapacity=(o=e===null||e===void 0?void 0:e.minCapacity)!==null&&o!==void 0?o:1;this.minFillRate=(n=e===null||e===void 0?void 0:e.minFillRate)!==null&&n!==void 0?n:.5;this.scaleConstant=(r=e===null||e===void 0?void 0:e.scaleConstant)!==null&&r!==void 0?r:.4;this.smooth=(s=e===null||e===void 0?void 0:e.smooth)!==null&&s!==void 0?s:.8;const i=this.getCurrentTimeInSeconds();this.lastThrottleTime=i;this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds());this.fillRate=this.minFillRate;this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1e3}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(e){if(!this.enabled){return}this.refillTokenBucket();if(e>this.currentCapacity){const t=(e-this.currentCapacity)/this.fillRate*1e3;await new Promise((e=>setTimeout(e,t)))}this.currentCapacity=this.currentCapacity-e}refillTokenBucket(){const e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=e;return}const t=(e-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+t);this.lastTimestamp=e}updateClientSendingRate(e){let t;this.updateMeasuredRate();if((0,n.isThrottlingError)(e)){const e=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=e;this.calculateTimeWindow();this.lastThrottleTime=this.getCurrentTimeInSeconds();t=this.cubicThrottle(e);this.enableTokenBucket()}else{this.calculateTimeWindow();t=this.cubicSuccess(this.getCurrentTimeInSeconds())}const o=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(o)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*Math.pow(e-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=true}updateTokenBucketRate(e){this.refillTokenBucket();this.fillRate=Math.max(e,this.minFillRate);this.maxCapacity=Math.max(e,this.minCapacity);this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const e=this.getCurrentTimeInSeconds();const t=Math.floor(e*2)/2;this.requestCount++;if(t>this.lastTxRateBucket){const e=this.requestCount/(t-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(e*this.smooth+this.measuredTxRate*(1-this.smooth));this.requestCount=0;this.lastTxRateBucket=t}}getPrecise(e){return parseFloat(e.toFixed(8))}}t.DefaultRateLimiter=DefaultRateLimiter},533:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.StandardRetryStrategy=void 0;const n=o(223);const r=o(1921);const s=o(5840);const i=o(5192);const a=o(41);const c=o(2568);const l=o(5940);const u=o(9572);class StandardRetryStrategy{constructor(e,t){var o,n,r;this.maxAttemptsProvider=e;this.mode=i.RETRY_MODES.STANDARD;this.retryDecider=(o=t===null||t===void 0?void 0:t.retryDecider)!==null&&o!==void 0?o:u.defaultRetryDecider;this.delayDecider=(n=t===null||t===void 0?void 0:t.delayDecider)!==null&&n!==void 0?n:l.defaultDelayDecider;this.retryQuota=(r=t===null||t===void 0?void 0:t.retryQuota)!==null&&r!==void 0?r:(0,c.getDefaultRetryQuota)(a.INITIAL_RETRY_TOKENS)}shouldRetry(e,t,o){return tsetTimeout(e,n)));continue}if(!t.$metadata){t.$metadata={}}t.$metadata.attempts=c;t.$metadata.totalRetryDelay=l;throw t}}}}t.StandardRetryStrategy=StandardRetryStrategy;const getDelayFromRetryAfterHeader=e=>{if(!n.HttpResponse.isInstance(e))return;const t=Object.keys(e.headers).find((e=>e.toLowerCase()==="retry-after"));if(!t)return;const o=e.headers[t];const r=Number(o);if(!Number.isNaN(r))return r*1e3;const s=new Date(o);return s.getTime()-Date.now()};const asSdkError=e=>{if(e instanceof Error)return e;if(e instanceof Object)return Object.assign(new Error,e);if(typeof e==="string")return new Error(e);return new Error(`AWS SDK error wrapper for ${e}`)}},5192:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DEFAULT_RETRY_MODE=t.DEFAULT_MAX_ATTEMPTS=t.RETRY_MODES=void 0;var o;(function(e){e["STANDARD"]="standard";e["ADAPTIVE"]="adaptive"})(o=t.RETRY_MODES||(t.RETRY_MODES={}));t.DEFAULT_MAX_ATTEMPTS=3;t.DEFAULT_RETRY_MODE=o.STANDARD},6160:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NODE_RETRY_MODE_CONFIG_OPTIONS=t.CONFIG_RETRY_MODE=t.ENV_RETRY_MODE=t.resolveRetryConfig=t.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=t.CONFIG_MAX_ATTEMPTS=t.ENV_MAX_ATTEMPTS=void 0;const n=o(236);const r=o(7328);const s=o(5192);const i=o(533);t.ENV_MAX_ATTEMPTS="AWS_MAX_ATTEMPTS";t.CONFIG_MAX_ATTEMPTS="max_attempts";t.NODE_MAX_ATTEMPT_CONFIG_OPTIONS={environmentVariableSelector:e=>{const o=e[t.ENV_MAX_ATTEMPTS];if(!o)return undefined;const n=parseInt(o);if(Number.isNaN(n)){throw new Error(`Environment variable ${t.ENV_MAX_ATTEMPTS} mast be a number, got "${o}"`)}return n},configFileSelector:e=>{const o=e[t.CONFIG_MAX_ATTEMPTS];if(!o)return undefined;const n=parseInt(o);if(Number.isNaN(n)){throw new Error(`Shared config file entry ${t.CONFIG_MAX_ATTEMPTS} mast be a number, got "${o}"`)}return n},default:s.DEFAULT_MAX_ATTEMPTS};const resolveRetryConfig=e=>{var t;const o=(0,n.normalizeProvider)((t=e.maxAttempts)!==null&&t!==void 0?t:s.DEFAULT_MAX_ATTEMPTS);return{...e,maxAttempts:o,retryStrategy:async()=>{if(e.retryStrategy){return e.retryStrategy}const t=await(0,n.normalizeProvider)(e.retryMode)();if(t===s.RETRY_MODES.ADAPTIVE){return new r.AdaptiveRetryStrategy(o)}return new i.StandardRetryStrategy(o)}}};t.resolveRetryConfig=resolveRetryConfig;t.ENV_RETRY_MODE="AWS_RETRY_MODE";t.CONFIG_RETRY_MODE="retry_mode";t.NODE_RETRY_MODE_CONFIG_OPTIONS={environmentVariableSelector:e=>e[t.ENV_RETRY_MODE],configFileSelector:e=>e[t.CONFIG_RETRY_MODE],default:s.DEFAULT_RETRY_MODE}},41:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.REQUEST_HEADER=t.INVOCATION_ID_HEADER=t.NO_RETRY_INCREMENT=t.TIMEOUT_RETRY_COST=t.RETRY_COST=t.INITIAL_RETRY_TOKENS=t.THROTTLING_RETRY_DELAY_BASE=t.MAXIMUM_RETRY_DELAY=t.DEFAULT_RETRY_DELAY_BASE=void 0;t.DEFAULT_RETRY_DELAY_BASE=100;t.MAXIMUM_RETRY_DELAY=20*1e3;t.THROTTLING_RETRY_DELAY_BASE=500;t.INITIAL_RETRY_TOKENS=500;t.RETRY_COST=5;t.TIMEOUT_RETRY_COST=10;t.NO_RETRY_INCREMENT=1;t.INVOCATION_ID_HEADER="amz-sdk-invocation-id";t.REQUEST_HEADER="amz-sdk-request"},2568:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getDefaultRetryQuota=void 0;const n=o(41);const getDefaultRetryQuota=(e,t)=>{var o,r,s;const i=e;const a=(o=t===null||t===void 0?void 0:t.noRetryIncrement)!==null&&o!==void 0?o:n.NO_RETRY_INCREMENT;const c=(r=t===null||t===void 0?void 0:t.retryCost)!==null&&r!==void 0?r:n.RETRY_COST;const l=(s=t===null||t===void 0?void 0:t.timeoutRetryCost)!==null&&s!==void 0?s:n.TIMEOUT_RETRY_COST;let u=e;const getCapacityAmount=e=>e.name==="TimeoutError"?l:c;const hasRetryTokens=e=>getCapacityAmount(e)<=u;const retrieveRetryTokens=e=>{if(!hasRetryTokens(e)){throw new Error("No retry token available")}const t=getCapacityAmount(e);u-=t;return t};const releaseRetryTokens=e=>{u+=e!==null&&e!==void 0?e:a;u=Math.min(u,i)};return Object.freeze({hasRetryTokens:hasRetryTokens,retrieveRetryTokens:retrieveRetryTokens,releaseRetryTokens:releaseRetryTokens})};t.getDefaultRetryQuota=getDefaultRetryQuota},5940:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.defaultDelayDecider=void 0;const n=o(41);const defaultDelayDecider=(e,t)=>Math.floor(Math.min(n.MAXIMUM_RETRY_DELAY,Math.random()*2**t*e));t.defaultDelayDecider=defaultDelayDecider},6064:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(7328),t);n.__exportStar(o(6402),t);n.__exportStar(o(533),t);n.__exportStar(o(5192),t);n.__exportStar(o(6160),t);n.__exportStar(o(5940),t);n.__exportStar(o(3521),t);n.__exportStar(o(9572),t);n.__exportStar(o(1806),t);n.__exportStar(o(8580),t)},3521:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getOmitRetryHeadersPlugin=t.omitRetryHeadersMiddlewareOptions=t.omitRetryHeadersMiddleware=void 0;const n=o(223);const r=o(41);const omitRetryHeadersMiddleware=()=>e=>async t=>{const{request:o}=t;if(n.HttpRequest.isInstance(o)){delete o.headers[r.INVOCATION_ID_HEADER];delete o.headers[r.REQUEST_HEADER]}return e(t)};t.omitRetryHeadersMiddleware=omitRetryHeadersMiddleware;t.omitRetryHeadersMiddlewareOptions={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:true};const getOmitRetryHeadersPlugin=e=>({applyToStack:e=>{e.addRelativeTo((0,t.omitRetryHeadersMiddleware)(),t.omitRetryHeadersMiddlewareOptions)}});t.getOmitRetryHeadersPlugin=getOmitRetryHeadersPlugin},9572:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.defaultRetryDecider=void 0;const n=o(1921);const defaultRetryDecider=e=>{if(!e){return false}return(0,n.isRetryableByTrait)(e)||(0,n.isClockSkewError)(e)||(0,n.isThrottlingError)(e)||(0,n.isTransientError)(e)};t.defaultRetryDecider=defaultRetryDecider},1806:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRetryPlugin=t.retryMiddlewareOptions=t.retryMiddleware=void 0;const retryMiddleware=e=>(t,o)=>async n=>{const r=await e.retryStrategy();if(r===null||r===void 0?void 0:r.mode)o.userAgent=[...o.userAgent||[],["cfg/retry-mode",r.mode]];return r.retry(t,n)};t.retryMiddleware=retryMiddleware;t.retryMiddlewareOptions={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:true};const getRetryPlugin=e=>({applyToStack:o=>{o.add((0,t.retryMiddleware)(e),t.retryMiddlewareOptions)}});t.getRetryPlugin=getRetryPlugin},8580:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},5959:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveStsAuthConfig=void 0;const n=o(4935);const resolveStsAuthConfig=(e,{stsClientCtor:t})=>(0,n.resolveAwsAuthConfig)({...e,stsClientCtor:t});t.resolveStsAuthConfig=resolveStsAuthConfig},5648:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.deserializerMiddleware=void 0;const deserializerMiddleware=(e,t)=>(o,n)=>async n=>{const{response:r}=await o(n);try{const o=await t(r,e);return{response:r,output:o}}catch(e){Object.defineProperty(e,"$response",{value:r});throw e}};t.deserializerMiddleware=deserializerMiddleware},3631:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(5648),t);n.__exportStar(o(9328),t);n.__exportStar(o(9511),t)},9328:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getSerdePlugin=t.serializerMiddlewareOption=t.deserializerMiddlewareOption=void 0;const n=o(5648);const r=o(9511);t.deserializerMiddlewareOption={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:true};t.serializerMiddlewareOption={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:true};function getSerdePlugin(e,o,s){return{applyToStack:i=>{i.add((0,n.deserializerMiddleware)(e,s),t.deserializerMiddlewareOption);i.add((0,r.serializerMiddleware)(e,o),t.serializerMiddlewareOption)}}}t.getSerdePlugin=getSerdePlugin},9511:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.serializerMiddleware=void 0;const serializerMiddleware=(e,t)=>(o,n)=>async r=>{var s;const i=((s=n.endpointV2)===null||s===void 0?void 0:s.url)&&e.urlParser?async()=>e.urlParser(n.endpointV2.url):e.endpoint;if(!i){throw new Error("No valid endpoint provider available.")}const a=await t(r.input,{...e,endpoint:i});return o({...r,request:a})};t.serializerMiddleware=serializerMiddleware},3061:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveSigV4AuthConfig=t.resolveAwsAuthConfig=void 0;const n=o(4462);const r=o(4275);const s=o(236);const i=3e5;const resolveAwsAuthConfig=e=>{const t=e.credentials?normalizeCredentialProvider(e.credentials):e.credentialDefaultProvider(e);const{signingEscapePath:o=true,systemClockOffset:n=e.systemClockOffset||0,sha256:i}=e;let a;if(e.signer){a=(0,s.normalizeProvider)(e.signer)}else if(e.regionInfoProvider){a=()=>(0,s.normalizeProvider)(e.region)().then((async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t])).then((([n,s])=>{const{signingRegion:a,signingService:c}=n;e.signingRegion=e.signingRegion||a||s;e.signingName=e.signingName||c||e.serviceId;const l={...e,credentials:t,region:e.signingRegion,service:e.signingName,sha256:i,uriEscapePath:o};const u=e.signerConstructor||r.SignatureV4;return new u(l)}))}else{a=async n=>{if(!n){throw new Error("Unexpected empty auth scheme config")}const s=n.signingScope;const a=n.signingName;e.signingRegion=e.signingRegion||s;e.signingName=e.signingName||a||e.serviceId;const c={...e,credentials:t,region:e.signingRegion,service:e.signingName,sha256:i,uriEscapePath:o};const l=e.signerConstructor||r.SignatureV4;return new l(c)}}return{...e,systemClockOffset:n,signingEscapePath:o,credentials:t,signer:a}};t.resolveAwsAuthConfig=resolveAwsAuthConfig;const resolveSigV4AuthConfig=e=>{const t=e.credentials?normalizeCredentialProvider(e.credentials):e.credentialDefaultProvider(e);const{signingEscapePath:o=true,systemClockOffset:n=e.systemClockOffset||0,sha256:i}=e;let a;if(e.signer){a=(0,s.normalizeProvider)(e.signer)}else{a=(0,s.normalizeProvider)(new r.SignatureV4({credentials:t,region:e.region,service:e.signingName,sha256:i,uriEscapePath:o}))}return{...e,systemClockOffset:n,signingEscapePath:o,credentials:t,signer:a}};t.resolveSigV4AuthConfig=resolveSigV4AuthConfig;const normalizeCredentialProvider=e=>{if(typeof e==="function"){return(0,n.memoize)(e,(e=>e.expiration!==undefined&&e.expiration.getTime()-Date.now()e.expiration!==undefined))}return(0,s.normalizeProvider)(e)}},4935:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(3061),t);n.__exportStar(o(2509),t)},2509:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getSigV4AuthPlugin=t.getAwsAuthPlugin=t.awsAuthMiddlewareOptions=t.awsAuthMiddleware=void 0;const n=o(223);const r=o(8253);const s=o(5863);const awsAuthMiddleware=e=>(t,o)=>async function(i){var a,c,l;if(!n.HttpRequest.isInstance(i.request))return t(i);const u=(l=(c=(a=o.endpointV2)===null||a===void 0?void 0:a.properties)===null||c===void 0?void 0:c.authSchemes)===null||l===void 0?void 0:l[0];const d=await e.signer(u);const p=await t({...i,request:await d.sign(i.request,{signingDate:(0,r.getSkewCorrectedDate)(e.systemClockOffset),signingRegion:o["signing_region"],signingService:o["signing_service"]})}).catch((t=>{var o;const n=(o=t.ServerTime)!==null&&o!==void 0?o:getDateHeader(t.$response);if(n){e.systemClockOffset=(0,s.getUpdatedSystemClockOffset)(n,e.systemClockOffset)}throw t}));const m=getDateHeader(p.response);if(m){e.systemClockOffset=(0,s.getUpdatedSystemClockOffset)(m,e.systemClockOffset)}return p};t.awsAuthMiddleware=awsAuthMiddleware;const getDateHeader=e=>{var t,o,r;return n.HttpResponse.isInstance(e)?(o=(t=e.headers)===null||t===void 0?void 0:t.date)!==null&&o!==void 0?o:(r=e.headers)===null||r===void 0?void 0:r.Date:undefined};t.awsAuthMiddlewareOptions={name:"awsAuthMiddleware",tags:["SIGNATURE","AWSAUTH"],relation:"after",toMiddleware:"retryMiddleware",override:true};const getAwsAuthPlugin=e=>({applyToStack:o=>{o.addRelativeTo((0,t.awsAuthMiddleware)(e),t.awsAuthMiddlewareOptions)}});t.getAwsAuthPlugin=getAwsAuthPlugin;t.getSigV4AuthPlugin=t.getAwsAuthPlugin},8253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getSkewCorrectedDate=void 0;const getSkewCorrectedDate=e=>new Date(Date.now()+e);t.getSkewCorrectedDate=getSkewCorrectedDate},5863:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getUpdatedSystemClockOffset=void 0;const n=o(5301);const getUpdatedSystemClockOffset=(e,t)=>{const o=Date.parse(e);if((0,n.isClockSkewed)(o,t)){return o-Date.now()}return t};t.getUpdatedSystemClockOffset=getUpdatedSystemClockOffset},5301:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isClockSkewed=void 0;const n=o(8253);const isClockSkewed=(e,t)=>Math.abs((0,n.getSkewCorrectedDate)(t).getTime()-e)>=3e5;t.isClockSkewed=isClockSkewed},8399:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.constructStack=void 0;const constructStack=()=>{let e=[];let r=[];const s=new Set;const sort=e=>e.sort(((e,t)=>o[t.step]-o[e.step]||n[t.priority||"normal"]-n[e.priority||"normal"]));const removeByName=t=>{let o=false;const filterCb=e=>{if(e.name&&e.name===t){o=true;s.delete(t);return false}return true};e=e.filter(filterCb);r=r.filter(filterCb);return o};const removeByReference=t=>{let o=false;const filterCb=e=>{if(e.middleware===t){o=true;if(e.name)s.delete(e.name);return false}return true};e=e.filter(filterCb);r=r.filter(filterCb);return o};const cloneTo=t=>{e.forEach((e=>{t.add(e.middleware,{...e})}));r.forEach((e=>{t.addRelativeTo(e.middleware,{...e})}));return t};const expandRelativeMiddlewareList=e=>{const t=[];e.before.forEach((e=>{if(e.before.length===0&&e.after.length===0){t.push(e)}else{t.push(...expandRelativeMiddlewareList(e))}}));t.push(e);e.after.reverse().forEach((e=>{if(e.before.length===0&&e.after.length===0){t.push(e)}else{t.push(...expandRelativeMiddlewareList(e))}}));return t};const getMiddlewareList=(t=false)=>{const o=[];const n=[];const s={};e.forEach((e=>{const t={...e,before:[],after:[]};if(t.name)s[t.name]=t;o.push(t)}));r.forEach((e=>{const t={...e,before:[],after:[]};if(t.name)s[t.name]=t;n.push(t)}));n.forEach((e=>{if(e.toMiddleware){const o=s[e.toMiddleware];if(o===undefined){if(t){return}throw new Error(`${e.toMiddleware} is not found when adding ${e.name||"anonymous"} middleware ${e.relation} ${e.toMiddleware}`)}if(e.relation==="after"){o.after.push(e)}if(e.relation==="before"){o.before.push(e)}}}));const i=sort(o).map(expandRelativeMiddlewareList).reduce(((e,t)=>{e.push(...t);return e}),[]);return i};const i={add:(t,o={})=>{const{name:n,override:r}=o;const i={step:"initialize",priority:"normal",middleware:t,...o};if(n){if(s.has(n)){if(!r)throw new Error(`Duplicate middleware name '${n}'`);const t=e.findIndex((e=>e.name===n));const o=e[t];if(o.step!==i.step||o.priority!==i.priority){throw new Error(`"${n}" middleware with ${o.priority} priority in ${o.step} step cannot be `+`overridden by same-name middleware with ${i.priority} priority in ${i.step} step.`)}e.splice(t,1)}s.add(n)}e.push(i)},addRelativeTo:(e,t)=>{const{name:o,override:n}=t;const i={middleware:e,...t};if(o){if(s.has(o)){if(!n)throw new Error(`Duplicate middleware name '${o}'`);const e=r.findIndex((e=>e.name===o));const t=r[e];if(t.toMiddleware!==i.toMiddleware||t.relation!==i.relation){throw new Error(`"${o}" middleware ${t.relation} "${t.toMiddleware}" middleware cannot be overridden `+`by same-name middleware ${i.relation} "${i.toMiddleware}" middleware.`)}r.splice(e,1)}s.add(o)}r.push(i)},clone:()=>cloneTo((0,t.constructStack)()),use:e=>{e.applyToStack(i)},remove:e=>{if(typeof e==="string")return removeByName(e);else return removeByReference(e)},removeByTag:t=>{let o=false;const filterCb=e=>{const{tags:n,name:r}=e;if(n&&n.includes(t)){if(r)s.delete(r);o=true;return false}return true};e=e.filter(filterCb);r=r.filter(filterCb);return o},concat:e=>{const o=cloneTo((0,t.constructStack)());o.use(e);return o},applyToStack:cloneTo,identify:()=>getMiddlewareList(true).map((e=>e.name+": "+(e.tags||[]).join(","))),resolve:(e,t)=>{for(const o of getMiddlewareList().map((e=>e.middleware)).reverse()){e=o(e,t)}return e}};return i};t.constructStack=constructStack;const o={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1};const n={high:3,normal:2,low:1}},1461:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(8399),t)},6546:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveUserAgentConfig=void 0;function resolveUserAgentConfig(e){return{...e,customUserAgent:typeof e.customUserAgent==="string"?[[e.customUserAgent]]:e.customUserAgent}}t.resolveUserAgentConfig=resolveUserAgentConfig},8025:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UA_ESCAPE_REGEX=t.SPACE=t.X_AMZ_USER_AGENT=t.USER_AGENT=void 0;t.USER_AGENT="user-agent";t.X_AMZ_USER_AGENT="x-amz-user-agent";t.SPACE=" ";t.UA_ESCAPE_REGEX=/[^\!\#\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g},4688:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(6546),t);n.__exportStar(o(6236),t)},6236:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getUserAgentPlugin=t.getUserAgentMiddlewareOptions=t.userAgentMiddleware=void 0;const n=o(223);const r=o(8025);const userAgentMiddleware=e=>(t,o)=>async s=>{var i,a;const{request:c}=s;if(!n.HttpRequest.isInstance(c))return t(s);const{headers:l}=c;const u=((i=o===null||o===void 0?void 0:o.userAgent)===null||i===void 0?void 0:i.map(escapeUserAgent))||[];const d=(await e.defaultUserAgentProvider()).map(escapeUserAgent);const p=((a=e===null||e===void 0?void 0:e.customUserAgent)===null||a===void 0?void 0:a.map(escapeUserAgent))||[];const m=[...d,...u,...p].join(r.SPACE);const g=[...d.filter((e=>e.startsWith("aws-sdk-"))),...p].join(r.SPACE);if(e.runtime!=="browser"){if(g){l[r.X_AMZ_USER_AGENT]=l[r.X_AMZ_USER_AGENT]?`${l[r.USER_AGENT]} ${g}`:g}l[r.USER_AGENT]=m}else{l[r.X_AMZ_USER_AGENT]=m}return t({...s,request:c})};t.userAgentMiddleware=userAgentMiddleware;const escapeUserAgent=([e,t])=>{const o=e.indexOf("/");const n=e.substring(0,o);let s=e.substring(o+1);if(n==="api"){s=s.toLowerCase()}return[n,s,t].filter((e=>e&&e.length>0)).map((e=>e===null||e===void 0?void 0:e.replace(r.UA_ESCAPE_REGEX,"_"))).join("/")};t.getUserAgentMiddlewareOptions={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:true};const getUserAgentPlugin=e=>({applyToStack:o=>{o.add((0,t.userAgentMiddleware)(e),t.getUserAgentMiddlewareOptions)}});t.getUserAgentPlugin=getUserAgentPlugin},2175:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.loadConfig=void 0;const n=o(4462);const r=o(6161);const s=o(3905);const i=o(5881);const loadConfig=({environmentVariableSelector:e,configFileSelector:t,default:o},a={})=>(0,n.memoize)((0,n.chain)((0,r.fromEnv)(e),(0,s.fromSharedConfigFiles)(t,a),(0,i.fromStatic)(o)));t.loadConfig=loadConfig},6161:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.fromEnv=void 0;const n=o(4462);const fromEnv=e=>async()=>{try{const t=e(process.env);if(t===undefined){throw new Error}return t}catch(t){throw new n.CredentialsProviderError(t.message||`Cannot load config from environment variables with getter: ${e}`)}};t.fromEnv=fromEnv},3905:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.fromSharedConfigFiles=void 0;const n=o(4462);const r=o(7387);const fromSharedConfigFiles=(e,{preferredFile:t="config",...o}={})=>async()=>{const s=(0,r.getProfileName)(o);const{configFile:i,credentialsFile:a}=await(0,r.loadSharedConfigFiles)(o);const c=a[s]||{};const l=i[s]||{};const u=t==="config"?{...c,...l}:{...l,...c};try{const t=e(u);if(t===undefined){throw new Error}return t}catch(t){throw new n.CredentialsProviderError(t.message||`Cannot load config for profile ${s} in SDK configuration files with getter: ${e}`)}};t.fromSharedConfigFiles=fromSharedConfigFiles},5881:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.fromStatic=void 0;const n=o(4462);const isFunction=e=>typeof e==="function";const fromStatic=e=>isFunction(e)?async()=>await e():(0,n.fromStatic)(e);t.fromStatic=fromStatic},7684:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(2175),t)},3647:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NODEJS_TIMEOUT_ERROR_CODES=void 0;t.NODEJS_TIMEOUT_ERROR_CODES=["ECONNRESET","EPIPE","ETIMEDOUT"]},6225:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getTransformedHeaders=void 0;const getTransformedHeaders=e=>{const t={};for(const o of Object.keys(e)){const n=e[o];t[o]=Array.isArray(n)?n.join(","):n}return t};t.getTransformedHeaders=getTransformedHeaders},8805:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(2298),t);n.__exportStar(o(2533),t);n.__exportStar(o(2198),t)},2298:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NodeHttpHandler=void 0;const n=o(223);const r=o(3402);const s=o(3685);const i=o(5687);const a=o(3647);const c=o(6225);const l=o(3598);const u=o(4751);const d=o(5248);class NodeHttpHandler{constructor(e){this.metadata={handlerProtocol:"http/1.1"};this.configProvider=new Promise(((t,o)=>{if(typeof e==="function"){e().then((e=>{t(this.resolveDefaultConfig(e))})).catch(o)}else{t(this.resolveDefaultConfig(e))}}))}resolveDefaultConfig(e){const{connectionTimeout:t,socketTimeout:o,httpAgent:n,httpsAgent:r}=e||{};const a=true;const c=50;return{connectionTimeout:t,socketTimeout:o,httpAgent:n||new s.Agent({keepAlive:a,maxSockets:c}),httpsAgent:r||new i.Agent({keepAlive:a,maxSockets:c})}}destroy(){var e,t,o,n;(t=(e=this.config)===null||e===void 0?void 0:e.httpAgent)===null||t===void 0?void 0:t.destroy();(n=(o=this.config)===null||o===void 0?void 0:o.httpsAgent)===null||n===void 0?void 0:n.destroy()}async handle(e,{abortSignal:t}={}){if(!this.config){this.config=await this.configProvider}return new Promise(((o,p)=>{if(!this.config){throw new Error("Node HTTP request handler config is not resolved")}if(t===null||t===void 0?void 0:t.aborted){const e=new Error("Request aborted");e.name="AbortError";p(e);return}const m=e.protocol==="https:";const g=(0,r.buildQueryString)(e.query||{});const f={headers:e.headers,host:e.hostname,method:e.method,path:g?`${e.path}?${g}`:e.path,port:e.port,agent:m?this.config.httpsAgent:this.config.httpAgent};const y=m?i.request:s.request;const h=y(f,(e=>{const t=new n.HttpResponse({statusCode:e.statusCode||-1,headers:(0,c.getTransformedHeaders)(e.headers),body:e});o({response:t})}));h.on("error",(e=>{if(a.NODEJS_TIMEOUT_ERROR_CODES.includes(e.code)){p(Object.assign(e,{name:"TimeoutError"}))}else{p(e)}}));(0,l.setConnectionTimeout)(h,p,this.config.connectionTimeout);(0,u.setSocketTimeout)(h,p,this.config.socketTimeout);if(t){t.onabort=()=>{h.abort();const e=new Error("Request aborted");e.name="AbortError";p(e)}}(0,d.writeRequestBody)(h,e)}))}}t.NodeHttpHandler=NodeHttpHandler},2533:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NodeHttp2Handler=void 0;const n=o(223);const r=o(3402);const s=o(5158);const i=o(6225);const a=o(5248);class NodeHttp2Handler{constructor(e){this.metadata={handlerProtocol:"h2"};this.configProvider=new Promise(((t,o)=>{if(typeof e==="function"){e().then((e=>{t(e||{})})).catch(o)}else{t(e||{})}}));this.sessionCache=new Map}destroy(){for(const e of this.sessionCache.values()){e.forEach((e=>this.destroySession(e)))}this.sessionCache.clear()}async handle(e,{abortSignal:t}={}){if(!this.config){this.config=await this.configProvider}const{requestTimeout:o,disableConcurrentStreams:c}=this.config;return new Promise(((l,u)=>{let d=false;if(t===null||t===void 0?void 0:t.aborted){d=true;const e=new Error("Request aborted");e.name="AbortError";u(e);return}const{hostname:p,method:m,port:g,protocol:f,path:y,query:h}=e;const v=`${f}//${p}${g?`:${g}`:""}`;const w=this.getSession(v,c||false);const reject=e=>{if(c){this.destroySession(w)}d=true;u(e)};const E=(0,r.buildQueryString)(h||{});const S=w.request({...e.headers,[s.constants.HTTP2_HEADER_PATH]:E?`${y}?${E}`:y,[s.constants.HTTP2_HEADER_METHOD]:m});w.ref();S.on("response",(e=>{const t=new n.HttpResponse({statusCode:e[":status"]||-1,headers:(0,i.getTransformedHeaders)(e),body:S});d=true;l({response:t});if(c){w.close();this.deleteSessionFromCache(v,w)}}));if(o){S.setTimeout(o,(()=>{S.close();const e=new Error(`Stream timed out because of no activity for ${o} ms`);e.name="TimeoutError";reject(e)}))}if(t){t.onabort=()=>{S.close();const e=new Error("Request aborted");e.name="AbortError";reject(e)}}S.on("frameError",((e,t,o)=>{reject(new Error(`Frame type id ${e} in stream id ${o} has failed with code ${t}.`))}));S.on("error",reject);S.on("aborted",(()=>{reject(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${S.rstCode}.`))}));S.on("close",(()=>{w.unref();if(c){w.destroy()}if(!d){reject(new Error("Unexpected error: http2 request did not get a response"))}}));(0,a.writeRequestBody)(S,e)}))}getSession(e,t){var o;const n=this.sessionCache;const r=n.get(e)||[];if(r.length>0&&!t)return r[0];const i=(0,s.connect)(e);i.unref();const destroySessionCb=()=>{this.destroySession(i);this.deleteSessionFromCache(e,i)};i.on("goaway",destroySessionCb);i.on("error",destroySessionCb);i.on("frameError",destroySessionCb);i.on("close",(()=>this.deleteSessionFromCache(e,i)));if((o=this.config)===null||o===void 0?void 0:o.sessionTimeout){i.setTimeout(this.config.sessionTimeout,destroySessionCb)}r.push(i);n.set(e,r);return i}destroySession(e){if(!e.destroyed){e.destroy()}}deleteSessionFromCache(e,t){const o=this.sessionCache.get(e)||[];if(!o.includes(t)){return}this.sessionCache.set(e,o.filter((e=>e!==t)))}}t.NodeHttp2Handler=NodeHttp2Handler},3598:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.setConnectionTimeout=void 0;const setConnectionTimeout=(e,t,o=0)=>{if(!o){return}e.on("socket",(n=>{if(n.connecting){const r=setTimeout((()=>{e.destroy();t(Object.assign(new Error(`Socket timed out without establishing a connection within ${o} ms`),{name:"TimeoutError"}))}),o);n.on("connect",(()=>{clearTimeout(r)}))}}))};t.setConnectionTimeout=setConnectionTimeout},4751:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.setSocketTimeout=void 0;const setSocketTimeout=(e,t,o=0)=>{e.setTimeout(o,(()=>{e.destroy();t(Object.assign(new Error(`Connection timed out after ${o} ms`),{name:"TimeoutError"}))}))};t.setSocketTimeout=setSocketTimeout},4362:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Collector=void 0;const n=o(2781);class Collector extends n.Writable{constructor(){super(...arguments);this.bufferedBytes=[]}_write(e,t,o){this.bufferedBytes.push(e);o()}}t.Collector=Collector},2198:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.streamCollector=void 0;const n=o(4362);const streamCollector=e=>new Promise(((t,o)=>{const r=new n.Collector;e.pipe(r);e.on("error",(e=>{r.end();o(e)}));r.on("error",o);r.on("finish",(function(){const e=new Uint8Array(Buffer.concat(this.bufferedBytes));t(e)}))}));t.streamCollector=streamCollector},5248:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.writeRequestBody=void 0;const n=o(2781);function writeRequestBody(e,t){const o=t.headers["Expect"]||t.headers["expect"];if(o==="100-continue"){e.on("continue",(()=>{writeBody(e,t.body)}))}else{writeBody(e,t.body)}}t.writeRequestBody=writeRequestBody;function writeBody(e,t){if(t instanceof n.Readable){t.pipe(e)}else if(t){e.end(Buffer.from(t))}else{e.end()}}},6875:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CredentialsProviderError=void 0;const n=o(1786);class CredentialsProviderError extends n.ProviderError{constructor(e,t=true){super(e,t);this.tryNextLink=t;this.name="CredentialsProviderError";Object.setPrototypeOf(this,CredentialsProviderError.prototype)}}t.CredentialsProviderError=CredentialsProviderError},1786:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ProviderError=void 0;class ProviderError extends Error{constructor(e,t=true){super(e);this.tryNextLink=t;this.name="ProviderError";Object.setPrototypeOf(this,ProviderError.prototype)}static from(e,t=true){return Object.assign(new this(e.message,t),e)}}t.ProviderError=ProviderError},2173:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TokenProviderError=void 0;const n=o(1786);class TokenProviderError extends n.ProviderError{constructor(e,t=true){super(e,t);this.tryNextLink=t;this.name="TokenProviderError";Object.setPrototypeOf(this,TokenProviderError.prototype)}}t.TokenProviderError=TokenProviderError},1444:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.chain=void 0;const n=o(1786);function chain(...e){return()=>{let t=Promise.reject(new n.ProviderError("No providers in chain"));for(const o of e){t=t.catch((e=>{if(e===null||e===void 0?void 0:e.tryNextLink){return o()}throw e}))}return t}}t.chain=chain},529:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.fromStatic=void 0;const fromStatic=e=>()=>Promise.resolve(e);t.fromStatic=fromStatic},4462:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(6875),t);n.__exportStar(o(1786),t);n.__exportStar(o(2173),t);n.__exportStar(o(1444),t);n.__exportStar(o(529),t);n.__exportStar(o(714),t)},714:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.memoize=void 0;const memoize=(e,t,o)=>{let n;let r;let s;let i=false;const coalesceProvider=async()=>{if(!r){r=e()}try{n=await r;s=true;i=false}finally{r=undefined}return n};if(t===undefined){return async e=>{if(!s||(e===null||e===void 0?void 0:e.forceRefresh)){n=await coalesceProvider()}return n}}return async e=>{if(!s||(e===null||e===void 0?void 0:e.forceRefresh)){n=await coalesceProvider()}if(i){return n}if(o&&!o(n)){i=true;return n}if(t(n)){await coalesceProvider();return n}return n}};t.memoize=memoize},6779:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},2872:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.HttpRequest=void 0;class HttpRequest{constructor(e){this.method=e.method||"GET";this.hostname=e.hostname||"localhost";this.port=e.port;this.query=e.query||{};this.headers=e.headers||{};this.body=e.body;this.protocol=e.protocol?e.protocol.slice(-1)!==":"?`${e.protocol}:`:e.protocol:"https:";this.path=e.path?e.path.charAt(0)!=="/"?`/${e.path}`:e.path:"/"}static isInstance(e){if(!e)return false;const t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&typeof t["query"]==="object"&&typeof t["headers"]==="object"}clone(){const e=new HttpRequest({...this,headers:{...this.headers}});if(e.query)e.query=cloneQuery(e.query);return e}}t.HttpRequest=HttpRequest;function cloneQuery(e){return Object.keys(e).reduce(((t,o)=>{const n=e[o];return{...t,[o]:Array.isArray(n)?[...n]:n}}),{})}},2348:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.HttpResponse=void 0;class HttpResponse{constructor(e){this.statusCode=e.statusCode;this.headers=e.headers||{};this.body=e.body}static isInstance(e){if(!e)return false;const t=e;return typeof t.statusCode==="number"&&typeof t.headers==="object"}}t.HttpResponse=HttpResponse},223:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(6779),t);n.__exportStar(o(2872),t);n.__exportStar(o(2348),t);n.__exportStar(o(5694),t)},5694:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isValidHostname=void 0;function isValidHostname(e){const t=/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/;return t.test(e)}t.isValidHostname=isValidHostname},3402:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildQueryString=void 0;const n=o(7952);function buildQueryString(e){const t=[];for(let o of Object.keys(e).sort()){const r=e[o];o=(0,n.escapeUri)(o);if(Array.isArray(r)){for(let e=0,s=r.length;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseQueryString=void 0;function parseQueryString(e){const t={};e=e.replace(/^\?/,"");if(e){for(const o of e.split("&")){let[e,n=null]=o.split("=");e=decodeURIComponent(e);if(n){n=decodeURIComponent(n)}if(!(e in t)){t[e]=n}else if(Array.isArray(t[e])){t[e].push(n)}else{t[e]=[t[e],n]}}}return t}t.parseQueryString=parseQueryString},7352:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NODEJS_TIMEOUT_ERROR_CODES=t.TRANSIENT_ERROR_STATUS_CODES=t.TRANSIENT_ERROR_CODES=t.THROTTLING_ERROR_CODES=t.CLOCK_SKEW_ERROR_CODES=void 0;t.CLOCK_SKEW_ERROR_CODES=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"];t.THROTTLING_ERROR_CODES=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"];t.TRANSIENT_ERROR_CODES=["AbortError","TimeoutError","RequestTimeout","RequestTimeoutException"];t.TRANSIENT_ERROR_STATUS_CODES=[500,502,503,504];t.NODEJS_TIMEOUT_ERROR_CODES=["ECONNRESET","EPIPE","ETIMEDOUT"]},1921:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isTransientError=t.isThrottlingError=t.isClockSkewError=t.isRetryableByTrait=void 0;const n=o(7352);const isRetryableByTrait=e=>e.$retryable!==undefined;t.isRetryableByTrait=isRetryableByTrait;const isClockSkewError=e=>n.CLOCK_SKEW_ERROR_CODES.includes(e.name);t.isClockSkewError=isClockSkewError;const isThrottlingError=e=>{var t,o;return((t=e.$metadata)===null||t===void 0?void 0:t.httpStatusCode)===429||n.THROTTLING_ERROR_CODES.includes(e.name)||((o=e.$retryable)===null||o===void 0?void 0:o.throttling)==true};t.isThrottlingError=isThrottlingError;const isTransientError=e=>{var t;return n.TRANSIENT_ERROR_CODES.includes(e.name)||n.NODEJS_TIMEOUT_ERROR_CODES.includes((e===null||e===void 0?void 0:e.code)||"")||n.TRANSIENT_ERROR_STATUS_CODES.includes(((t=e.$metadata)===null||t===void 0?void 0:t.httpStatusCode)||0)};t.isTransientError=isTransientError},5216:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getConfigFilepath=t.ENV_CONFIG_PATH=void 0;const n=o(1017);const r=o(7363);t.ENV_CONFIG_PATH="AWS_CONFIG_FILE";const getConfigFilepath=()=>process.env[t.ENV_CONFIG_PATH]||(0,n.join)((0,r.getHomeDir)(),".aws","config");t.getConfigFilepath=getConfigFilepath},1569:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getCredentialsFilepath=t.ENV_CREDENTIALS_PATH=void 0;const n=o(1017);const r=o(7363);t.ENV_CREDENTIALS_PATH="AWS_SHARED_CREDENTIALS_FILE";const getCredentialsFilepath=()=>process.env[t.ENV_CREDENTIALS_PATH]||(0,n.join)((0,r.getHomeDir)(),".aws","credentials");t.getCredentialsFilepath=getCredentialsFilepath},7363:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getHomeDir=void 0;const n=o(2037);const r=o(1017);const getHomeDir=()=>{const{HOME:e,USERPROFILE:t,HOMEPATH:o,HOMEDRIVE:s=`C:${r.sep}`}=process.env;if(e)return e;if(t)return t;if(o)return`${s}${o}`;return(0,n.homedir)()};t.getHomeDir=getHomeDir},7498:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getProfileData=void 0;const o=/^profile\s(["'])?([^\1]+)\1$/;const getProfileData=e=>Object.entries(e).filter((([e])=>o.test(e))).reduce(((e,[t,n])=>({...e,[o.exec(t)[2]]:n})),{...e.default&&{default:e.default}});t.getProfileData=getProfileData},6776:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getProfileName=t.DEFAULT_PROFILE=t.ENV_PROFILE=void 0;t.ENV_PROFILE="AWS_PROFILE";t.DEFAULT_PROFILE="default";const getProfileName=e=>e.profile||process.env[t.ENV_PROFILE]||t.DEFAULT_PROFILE;t.getProfileName=getProfileName},2992:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getSSOTokenFilepath=void 0;const n=o(6113);const r=o(1017);const s=o(7363);const getSSOTokenFilepath=e=>{const t=(0,n.createHash)("sha1");const o=t.update(e).digest("hex");return(0,r.join)((0,s.getHomeDir)(),".aws","sso","cache",`${o}.json`)};t.getSSOTokenFilepath=getSSOTokenFilepath},8553:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getSSOTokenFromFile=void 0;const n=o(7147);const r=o(2992);const{readFile:s}=n.promises;const getSSOTokenFromFile=async e=>{const t=(0,r.getSSOTokenFilepath)(e);const o=await s(t,"utf8");return JSON.parse(o)};t.getSSOTokenFromFile=getSSOTokenFromFile},5175:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getSsoSessionData=void 0;const o=/^sso-session\s(["'])?([^\1]+)\1$/;const getSsoSessionData=e=>Object.entries(e).filter((([e])=>o.test(e))).reduce(((e,[t,n])=>({...e,[o.exec(t)[2]]:n})),{});t.getSsoSessionData=getSsoSessionData},7387:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(7363),t);n.__exportStar(o(6776),t);n.__exportStar(o(2992),t);n.__exportStar(o(8553),t);n.__exportStar(o(7871),t);n.__exportStar(o(6179),t);n.__exportStar(o(6533),t);n.__exportStar(o(4105),t)},7871:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.loadSharedConfigFiles=void 0;const n=o(5216);const r=o(1569);const s=o(7498);const i=o(2806);const a=o(9242);const swallowError=()=>({});const loadSharedConfigFiles=async(e={})=>{const{filepath:t=(0,r.getCredentialsFilepath)(),configFilepath:o=(0,n.getConfigFilepath)()}=e;const c=await Promise.all([(0,a.slurpFile)(o).then(i.parseIni).then(s.getProfileData).catch(swallowError),(0,a.slurpFile)(t).then(i.parseIni).catch(swallowError)]);return{configFile:c[0],credentialsFile:c[1]}};t.loadSharedConfigFiles=loadSharedConfigFiles},6179:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.loadSsoSessionData=void 0;const n=o(5216);const r=o(5175);const s=o(2806);const i=o(9242);const swallowError=()=>({});const loadSsoSessionData=async(e={})=>{var t;return(0,i.slurpFile)((t=e.configFilepath)!==null&&t!==void 0?t:(0,n.getConfigFilepath)()).then(s.parseIni).then(r.getSsoSessionData).catch(swallowError)};t.loadSsoSessionData=loadSsoSessionData},2806:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseIni=void 0;const o=["__proto__","profile __proto__"];const parseIni=e=>{const t={};let n;for(let r of e.split(/\r?\n/)){r=r.split(/(^|\s)[;#]/)[0].trim();const e=r[0]==="["&&r[r.length-1]==="]";if(e){n=r.substring(1,r.length-1);if(o.includes(n)){throw new Error(`Found invalid profile name "${n}"`)}}else if(n){const e=r.indexOf("=");const o=0;const s=r.length-1;const i=e!==-1&&e!==o&&e!==s;if(i){const[o,s]=[r.substring(0,e).trim(),r.substring(e+1).trim()];t[n]=t[n]||{};t[n][o]=s}}}return t};t.parseIni=parseIni},6533:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseKnownFiles=void 0;const n=o(7871);const parseKnownFiles=async e=>{const t=await(0,n.loadSharedConfigFiles)(e);return{...t.configFile,...t.credentialsFile}};t.parseKnownFiles=parseKnownFiles},9242:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.slurpFile=void 0;const n=o(7147);const{readFile:r}=n.promises;const s={};const slurpFile=e=>{if(!s[e]){s[e]=r(e,"utf8")}return s[e]};t.slurpFile=slurpFile},4105:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},5086:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SignatureV4=void 0;const n=o(1968);const r=o(236);const s=o(342);const i=o(8023);const a=o(3590);const c=o(2019);const l=o(7080);const u=o(4120);const d=o(8201);const p=o(5772);const m=o(4799);class SignatureV4{constructor({applyChecksum:e,credentials:t,region:o,service:n,sha256:s,uriEscapePath:i=true}){this.service=n;this.sha256=s;this.uriEscapePath=i;this.applyChecksum=typeof e==="boolean"?e:true;this.regionProvider=(0,r.normalizeProvider)(o);this.credentialProvider=(0,r.normalizeProvider)(t)}async presign(e,t={}){const{signingDate:o=new Date,expiresIn:n=3600,unsignableHeaders:r,unhoistableHeaders:c,signableHeaders:u,signingRegion:m,signingService:g}=t;const f=await this.credentialProvider();this.validateResolvedCredentials(f);const y=m!==null&&m!==void 0?m:await this.regionProvider();const{longDate:h,shortDate:v}=formatDate(o);if(n>s.MAX_PRESIGNED_TTL){return Promise.reject("Signature version 4 presigned URLs"+" must have an expiration date less than one week in"+" the future")}const w=(0,i.createScope)(v,y,g!==null&&g!==void 0?g:this.service);const E=(0,d.moveHeadersToQuery)((0,p.prepareRequest)(e),{unhoistableHeaders:c});if(f.sessionToken){E.query[s.TOKEN_QUERY_PARAM]=f.sessionToken}E.query[s.ALGORITHM_QUERY_PARAM]=s.ALGORITHM_IDENTIFIER;E.query[s.CREDENTIAL_QUERY_PARAM]=`${f.accessKeyId}/${w}`;E.query[s.AMZ_DATE_QUERY_PARAM]=h;E.query[s.EXPIRES_QUERY_PARAM]=n.toString(10);const S=(0,a.getCanonicalHeaders)(E,r,u);E.query[s.SIGNED_HEADERS_QUERY_PARAM]=getCanonicalHeaderList(S);E.query[s.SIGNATURE_QUERY_PARAM]=await this.getSignature(h,w,this.getSigningKey(f,y,v,g),this.createCanonicalRequest(E,S,await(0,l.getPayloadHash)(e,this.sha256)));return E}async sign(e,t){if(typeof e==="string"){return this.signString(e,t)}else if(e.headers&&e.payload){return this.signEvent(e,t)}else{return this.signRequest(e,t)}}async signEvent({headers:e,payload:t},{signingDate:o=new Date,priorSignature:r,signingRegion:a,signingService:c}){const u=a!==null&&a!==void 0?a:await this.regionProvider();const{shortDate:d,longDate:p}=formatDate(o);const m=(0,i.createScope)(d,u,c!==null&&c!==void 0?c:this.service);const g=await(0,l.getPayloadHash)({headers:{},body:t},this.sha256);const f=new this.sha256;f.update(e);const y=(0,n.toHex)(await f.digest());const h=[s.EVENT_ALGORITHM_IDENTIFIER,p,m,r,y,g].join("\n");return this.signString(h,{signingDate:o,signingRegion:u,signingService:c})}async signString(e,{signingDate:t=new Date,signingRegion:o,signingService:r}={}){const s=await this.credentialProvider();this.validateResolvedCredentials(s);const i=o!==null&&o!==void 0?o:await this.regionProvider();const{shortDate:a}=formatDate(t);const c=new this.sha256(await this.getSigningKey(s,i,a,r));c.update(e);return(0,n.toHex)(await c.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:o,unsignableHeaders:n,signingRegion:r,signingService:c}={}){const d=await this.credentialProvider();this.validateResolvedCredentials(d);const m=r!==null&&r!==void 0?r:await this.regionProvider();const g=(0,p.prepareRequest)(e);const{longDate:f,shortDate:y}=formatDate(t);const h=(0,i.createScope)(y,m,c!==null&&c!==void 0?c:this.service);g.headers[s.AMZ_DATE_HEADER]=f;if(d.sessionToken){g.headers[s.TOKEN_HEADER]=d.sessionToken}const v=await(0,l.getPayloadHash)(g,this.sha256);if(!(0,u.hasHeader)(s.SHA256_HEADER,g.headers)&&this.applyChecksum){g.headers[s.SHA256_HEADER]=v}const w=(0,a.getCanonicalHeaders)(g,n,o);const E=await this.getSignature(f,h,this.getSigningKey(d,m,y,c),this.createCanonicalRequest(g,w,v));g.headers[s.AUTH_HEADER]=`${s.ALGORITHM_IDENTIFIER} `+`Credential=${d.accessKeyId}/${h}, `+`SignedHeaders=${getCanonicalHeaderList(w)}, `+`Signature=${E}`;return g}createCanonicalRequest(e,t,o){const n=Object.keys(t).sort();return`${e.method}\n${this.getCanonicalPath(e)}\n${(0,c.getCanonicalQuery)(e)}\n${n.map((e=>`${e}:${t[e]}`)).join("\n")}\n\n${n.join(";")}\n${o}`}async createStringToSign(e,t,o){const r=new this.sha256;r.update(o);const i=await r.digest();return`${s.ALGORITHM_IDENTIFIER}\n${e}\n${t}\n${(0,n.toHex)(i)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){const t=[];for(const o of e.split("/")){if((o===null||o===void 0?void 0:o.length)===0)continue;if(o===".")continue;if(o===".."){t.pop()}else{t.push(o)}}const o=`${(e===null||e===void 0?void 0:e.startsWith("/"))?"/":""}${t.join("/")}${t.length>0&&(e===null||e===void 0?void 0:e.endsWith("/"))?"/":""}`;const n=encodeURIComponent(o);return n.replace(/%2F/g,"/")}return e}async getSignature(e,t,o,r){const s=await this.createStringToSign(e,t,r);const i=new this.sha256(await o);i.update(s);return(0,n.toHex)(await i.digest())}getSigningKey(e,t,o,n){return(0,i.getSigningKey)(this.sha256,e,o,t,n||this.service)}validateResolvedCredentials(e){if(typeof e!=="object"||typeof e.accessKeyId!=="string"||typeof e.secretAccessKey!=="string"){throw new Error("Resolved credential object is not valid")}}}t.SignatureV4=SignatureV4;const formatDate=e=>{const t=(0,m.iso8601)(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}};const getCanonicalHeaderList=e=>Object.keys(e).sort().join(";")},3141:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cloneQuery=t.cloneRequest=void 0;const cloneRequest=({headers:e,query:o,...n})=>({...n,headers:{...e},query:o?(0,t.cloneQuery)(o):undefined});t.cloneRequest=cloneRequest;const cloneQuery=e=>Object.keys(e).reduce(((t,o)=>{const n=e[o];return{...t,[o]:Array.isArray(n)?[...n]:n}}),{});t.cloneQuery=cloneQuery},342:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.MAX_PRESIGNED_TTL=t.KEY_TYPE_IDENTIFIER=t.MAX_CACHE_SIZE=t.UNSIGNED_PAYLOAD=t.EVENT_ALGORITHM_IDENTIFIER=t.ALGORITHM_IDENTIFIER_V4A=t.ALGORITHM_IDENTIFIER=t.UNSIGNABLE_PATTERNS=t.SEC_HEADER_PATTERN=t.PROXY_HEADER_PATTERN=t.ALWAYS_UNSIGNABLE_HEADERS=t.HOST_HEADER=t.TOKEN_HEADER=t.SHA256_HEADER=t.SIGNATURE_HEADER=t.GENERATED_HEADERS=t.DATE_HEADER=t.AMZ_DATE_HEADER=t.AUTH_HEADER=t.REGION_SET_PARAM=t.TOKEN_QUERY_PARAM=t.SIGNATURE_QUERY_PARAM=t.EXPIRES_QUERY_PARAM=t.SIGNED_HEADERS_QUERY_PARAM=t.AMZ_DATE_QUERY_PARAM=t.CREDENTIAL_QUERY_PARAM=t.ALGORITHM_QUERY_PARAM=void 0;t.ALGORITHM_QUERY_PARAM="X-Amz-Algorithm";t.CREDENTIAL_QUERY_PARAM="X-Amz-Credential";t.AMZ_DATE_QUERY_PARAM="X-Amz-Date";t.SIGNED_HEADERS_QUERY_PARAM="X-Amz-SignedHeaders";t.EXPIRES_QUERY_PARAM="X-Amz-Expires";t.SIGNATURE_QUERY_PARAM="X-Amz-Signature";t.TOKEN_QUERY_PARAM="X-Amz-Security-Token";t.REGION_SET_PARAM="X-Amz-Region-Set";t.AUTH_HEADER="authorization";t.AMZ_DATE_HEADER=t.AMZ_DATE_QUERY_PARAM.toLowerCase();t.DATE_HEADER="date";t.GENERATED_HEADERS=[t.AUTH_HEADER,t.AMZ_DATE_HEADER,t.DATE_HEADER];t.SIGNATURE_HEADER=t.SIGNATURE_QUERY_PARAM.toLowerCase();t.SHA256_HEADER="x-amz-content-sha256";t.TOKEN_HEADER=t.TOKEN_QUERY_PARAM.toLowerCase();t.HOST_HEADER="host";t.ALWAYS_UNSIGNABLE_HEADERS={authorization:true,"cache-control":true,connection:true,expect:true,from:true,"keep-alive":true,"max-forwards":true,pragma:true,referer:true,te:true,trailer:true,"transfer-encoding":true,upgrade:true,"user-agent":true,"x-amzn-trace-id":true};t.PROXY_HEADER_PATTERN=/^proxy-/;t.SEC_HEADER_PATTERN=/^sec-/;t.UNSIGNABLE_PATTERNS=[/^proxy-/i,/^sec-/i];t.ALGORITHM_IDENTIFIER="AWS4-HMAC-SHA256";t.ALGORITHM_IDENTIFIER_V4A="AWS4-ECDSA-P256-SHA256";t.EVENT_ALGORITHM_IDENTIFIER="AWS4-HMAC-SHA256-PAYLOAD";t.UNSIGNED_PAYLOAD="UNSIGNED-PAYLOAD";t.MAX_CACHE_SIZE=50;t.KEY_TYPE_IDENTIFIER="aws4_request";t.MAX_PRESIGNED_TTL=60*60*24*7},8023:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.clearCredentialCache=t.getSigningKey=t.createScope=void 0;const n=o(1968);const r=o(342);const s={};const i=[];const createScope=(e,t,o)=>`${e}/${t}/${o}/${r.KEY_TYPE_IDENTIFIER}`;t.createScope=createScope;const getSigningKey=async(e,t,o,a,c)=>{const l=await hmac(e,t.secretAccessKey,t.accessKeyId);const u=`${o}:${a}:${c}:${(0,n.toHex)(l)}:${t.sessionToken}`;if(u in s){return s[u]}i.push(u);while(i.length>r.MAX_CACHE_SIZE){delete s[i.shift()]}let d=`AWS4${t.secretAccessKey}`;for(const t of[o,a,c,r.KEY_TYPE_IDENTIFIER]){d=await hmac(e,d,t)}return s[u]=d};t.getSigningKey=getSigningKey;const clearCredentialCache=()=>{i.length=0;Object.keys(s).forEach((e=>{delete s[e]}))};t.clearCredentialCache=clearCredentialCache;const hmac=(e,t,o)=>{const n=new e(t);n.update(o);return n.digest()}},3590:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getCanonicalHeaders=void 0;const n=o(342);const getCanonicalHeaders=({headers:e},t,o)=>{const r={};for(const s of Object.keys(e).sort()){if(e[s]==undefined){continue}const i=s.toLowerCase();if(i in n.ALWAYS_UNSIGNABLE_HEADERS||(t===null||t===void 0?void 0:t.has(i))||n.PROXY_HEADER_PATTERN.test(i)||n.SEC_HEADER_PATTERN.test(i)){if(!o||o&&!o.has(i)){continue}}r[i]=e[s].trim().replace(/\s+/g," ")}return r};t.getCanonicalHeaders=getCanonicalHeaders},2019:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getCanonicalQuery=void 0;const n=o(7952);const r=o(342);const getCanonicalQuery=({query:e={}})=>{const t=[];const o={};for(const s of Object.keys(e).sort()){if(s.toLowerCase()===r.SIGNATURE_HEADER){continue}t.push(s);const i=e[s];if(typeof i==="string"){o[s]=`${(0,n.escapeUri)(s)}=${(0,n.escapeUri)(i)}`}else if(Array.isArray(i)){o[s]=i.slice(0).sort().reduce(((e,t)=>e.concat([`${(0,n.escapeUri)(s)}=${(0,n.escapeUri)(t)}`])),[]).join("&")}}return t.map((e=>o[e])).filter((e=>e)).join("&")};t.getCanonicalQuery=getCanonicalQuery},7080:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getPayloadHash=void 0;const n=o(9126);const r=o(1968);const s=o(342);const getPayloadHash=async({headers:e,body:t},o)=>{for(const t of Object.keys(e)){if(t.toLowerCase()===s.SHA256_HEADER){return e[t]}}if(t==undefined){return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}else if(typeof t==="string"||ArrayBuffer.isView(t)||(0,n.isArrayBuffer)(t)){const e=new o;e.update(t);return(0,r.toHex)(await e.digest())}return s.UNSIGNED_PAYLOAD};t.getPayloadHash=getPayloadHash},4120:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.deleteHeader=t.getHeaderValue=t.hasHeader=void 0;const hasHeader=(e,t)=>{e=e.toLowerCase();for(const o of Object.keys(t)){if(e===o.toLowerCase()){return true}}return false};t.hasHeader=hasHeader;const getHeaderValue=(e,t)=>{e=e.toLowerCase();for(const o of Object.keys(t)){if(e===o.toLowerCase()){return t[o]}}return undefined};t.getHeaderValue=getHeaderValue;const deleteHeader=(e,t)=>{e=e.toLowerCase();for(const o of Object.keys(t)){if(e===o.toLowerCase()){delete t[o]}}};t.deleteHeader=deleteHeader},4275:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prepareRequest=t.moveHeadersToQuery=t.getPayloadHash=t.getCanonicalQuery=t.getCanonicalHeaders=void 0;const n=o(4351);n.__exportStar(o(5086),t);var r=o(3590);Object.defineProperty(t,"getCanonicalHeaders",{enumerable:true,get:function(){return r.getCanonicalHeaders}});var s=o(2019);Object.defineProperty(t,"getCanonicalQuery",{enumerable:true,get:function(){return s.getCanonicalQuery}});var i=o(7080);Object.defineProperty(t,"getPayloadHash",{enumerable:true,get:function(){return i.getPayloadHash}});var a=o(8201);Object.defineProperty(t,"moveHeadersToQuery",{enumerable:true,get:function(){return a.moveHeadersToQuery}});var c=o(5772);Object.defineProperty(t,"prepareRequest",{enumerable:true,get:function(){return c.prepareRequest}});n.__exportStar(o(8023),t)},8201:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.moveHeadersToQuery=void 0;const n=o(3141);const moveHeadersToQuery=(e,t={})=>{var o;const{headers:r,query:s={}}=typeof e.clone==="function"?e.clone():(0,n.cloneRequest)(e);for(const e of Object.keys(r)){const n=e.toLowerCase();if(n.slice(0,6)==="x-amz-"&&!((o=t.unhoistableHeaders)===null||o===void 0?void 0:o.has(n))){s[e]=r[e];delete r[e]}}return{...e,headers:r,query:s}};t.moveHeadersToQuery=moveHeadersToQuery},5772:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prepareRequest=void 0;const n=o(3141);const r=o(342);const prepareRequest=e=>{e=typeof e.clone==="function"?e.clone():(0,n.cloneRequest)(e);for(const t of Object.keys(e.headers)){if(r.GENERATED_HEADERS.indexOf(t.toLowerCase())>-1){delete e.headers[t]}}return e};t.prepareRequest=prepareRequest},4799:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toDate=t.iso8601=void 0;const iso8601=e=>(0,t.toDate)(e).toISOString().replace(/\.\d{3}Z$/,"Z");t.iso8601=iso8601;const toDate=e=>{if(typeof e==="number"){return new Date(e*1e3)}if(typeof e==="string"){if(Number(e)){return new Date(Number(e)*1e3)}return new Date(e)}return e};t.toDate=toDate},6034:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Client=void 0;const n=o(1461);class Client{constructor(e){this.middlewareStack=(0,n.constructStack)();this.config=e}send(e,t,o){const n=typeof t!=="function"?t:undefined;const r=typeof t==="function"?t:o;const s=e.resolveMiddleware(this.middlewareStack,this.config,n);if(r){s(e).then((e=>r(null,e.output)),(e=>r(e))).catch((()=>{}))}else{return s(e).then((e=>e.output))}}destroy(){if(this.config.requestHandler.destroy)this.config.requestHandler.destroy()}}t.Client=Client},4014:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Command=void 0;const n=o(1461);class Command{constructor(){this.middlewareStack=(0,n.constructStack)()}}t.Command=Command},8392:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SENSITIVE_STRING=void 0;t.SENSITIVE_STRING="***SensitiveInformation***"},4695:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseEpochTimestamp=t.parseRfc7231DateTime=t.parseRfc3339DateTime=t.dateToUtcString=void 0;const n=o(4809);const r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function dateToUtcString(e){const t=e.getUTCFullYear();const o=e.getUTCMonth();const n=e.getUTCDay();const i=e.getUTCDate();const a=e.getUTCHours();const c=e.getUTCMinutes();const l=e.getUTCSeconds();const u=i<10?`0${i}`:`${i}`;const d=a<10?`0${a}`:`${a}`;const p=c<10?`0${c}`:`${c}`;const m=l<10?`0${l}`:`${l}`;return`${r[n]}, ${u} ${s[o]} ${t} ${d}:${p}:${m} GMT`}t.dateToUtcString=dateToUtcString;const i=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/);const parseRfc3339DateTime=e=>{if(e===null||e===undefined){return undefined}if(typeof e!=="string"){throw new TypeError("RFC-3339 date-times must be expressed as strings")}const t=i.exec(e);if(!t){throw new TypeError("Invalid RFC-3339 date-time value")}const[o,r,s,a,c,l,u,d]=t;const p=(0,n.strictParseShort)(stripLeadingZeroes(r));const m=parseDateValue(s,"month",1,12);const g=parseDateValue(a,"day",1,31);return buildDate(p,m,g,{hours:c,minutes:l,seconds:u,fractionalMilliseconds:d})};t.parseRfc3339DateTime=parseRfc3339DateTime;const a=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/);const c=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/);const l=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/);const parseRfc7231DateTime=e=>{if(e===null||e===undefined){return undefined}if(typeof e!=="string"){throw new TypeError("RFC-7231 date-times must be expressed as strings")}let t=a.exec(e);if(t){const[e,o,r,s,i,a,c,l]=t;return buildDate((0,n.strictParseShort)(stripLeadingZeroes(s)),parseMonthByShortName(r),parseDateValue(o,"day",1,31),{hours:i,minutes:a,seconds:c,fractionalMilliseconds:l})}t=c.exec(e);if(t){const[e,o,n,r,s,i,a,c]=t;return adjustRfc850Year(buildDate(parseTwoDigitYear(r),parseMonthByShortName(n),parseDateValue(o,"day",1,31),{hours:s,minutes:i,seconds:a,fractionalMilliseconds:c}))}t=l.exec(e);if(t){const[e,o,r,s,i,a,c,l]=t;return buildDate((0,n.strictParseShort)(stripLeadingZeroes(l)),parseMonthByShortName(o),parseDateValue(r.trimLeft(),"day",1,31),{hours:s,minutes:i,seconds:a,fractionalMilliseconds:c})}throw new TypeError("Invalid RFC-7231 date-time value")};t.parseRfc7231DateTime=parseRfc7231DateTime;const parseEpochTimestamp=e=>{if(e===null||e===undefined){return undefined}let t;if(typeof e==="number"){t=e}else if(typeof e==="string"){t=(0,n.strictParseDouble)(e)}else{throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation")}if(Number.isNaN(t)||t===Infinity||t===-Infinity){throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics")}return new Date(Math.round(t*1e3))};t.parseEpochTimestamp=parseEpochTimestamp;const buildDate=(e,t,o,n)=>{const r=t-1;validateDayOfMonth(e,r,o);return new Date(Date.UTC(e,r,o,parseDateValue(n.hours,"hour",0,23),parseDateValue(n.minutes,"minute",0,59),parseDateValue(n.seconds,"seconds",0,60),parseMilliseconds(n.fractionalMilliseconds)))};const parseTwoDigitYear=e=>{const t=(new Date).getUTCFullYear();const o=Math.floor(t/100)*100+(0,n.strictParseShort)(stripLeadingZeroes(e));if(o{if(e.getTime()-(new Date).getTime()>u){return new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()))}return e};const parseMonthByShortName=e=>{const t=s.indexOf(e);if(t<0){throw new TypeError(`Invalid month: ${e}`)}return t+1};const d=[31,28,31,30,31,30,31,31,30,31,30,31];const validateDayOfMonth=(e,t,o)=>{let n=d[t];if(t===1&&isLeapYear(e)){n=29}if(o>n){throw new TypeError(`Invalid day for ${s[t]} in ${e}: ${o}`)}};const isLeapYear=e=>e%4===0&&(e%100!==0||e%400===0);const parseDateValue=(e,t,o,r)=>{const s=(0,n.strictParseByte)(stripLeadingZeroes(e));if(sr){throw new TypeError(`${t} must be between ${o} and ${r}, inclusive`)}return s};const parseMilliseconds=e=>{if(e===null||e===undefined){return 0}return(0,n.strictParseFloat32)("0."+e)*1e3};const stripLeadingZeroes=e=>{let t=0;while(t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.throwDefaultError=void 0;const n=o(7778);const throwDefaultError=({output:e,parsedBody:t,exceptionCtor:o,errorCode:r})=>{const s=deserializeMetadata(e);const i=s.httpStatusCode?s.httpStatusCode+"":undefined;const a=new o({name:t.code||t.Code||r||i||"UnknowError",$fault:"client",$metadata:s});throw(0,n.decorateServiceException)(a,t)};t.throwDefaultError=throwDefaultError;const deserializeMetadata=e=>{var t;return{httpStatusCode:e.statusCode,requestId:(t=e.headers["x-amzn-requestid"])!==null&&t!==void 0?t:e.headers["x-amzn-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}}},3088:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.loadConfigsForDefaultMode=void 0;const loadConfigsForDefaultMode=e=>{switch(e){case"standard":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}};t.loadConfigsForDefaultMode=loadConfigsForDefaultMode},2363:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.emitWarningIfUnsupportedVersion=void 0;let o=false;const emitWarningIfUnsupportedVersion=e=>{if(e&&!o&&parseInt(e.substring(1,e.indexOf(".")))<14){o=true;process.emitWarning(`The AWS SDK for JavaScript (v3) will\n`+`no longer support Node.js ${e} on November 1, 2022.\n\n`+`To continue receiving updates to AWS services, bug fixes, and security\n`+`updates please upgrade to Node.js 14.x or later.\n\n`+`For details, please refer our blog post: https://a.co/48dbdYz`,`NodeDeprecationWarning`)}};t.emitWarningIfUnsupportedVersion=emitWarningIfUnsupportedVersion},7778:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decorateServiceException=t.ServiceException=void 0;class ServiceException extends Error{constructor(e){super(e.message);Object.setPrototypeOf(this,ServiceException.prototype);this.name=e.name;this.$fault=e.$fault;this.$metadata=e.$metadata}}t.ServiceException=ServiceException;const decorateServiceException=(e,t={})=>{Object.entries(t).filter((([,e])=>e!==undefined)).forEach((([t,o])=>{if(e[t]==undefined||e[t]===""){e[t]=o}}));const o=e.message||e.Message||"UnknownError";e.message=o;delete e.Message;return e};t.decorateServiceException=decorateServiceException},1927:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.extendedEncodeURIComponent=void 0;function extendedEncodeURIComponent(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}t.extendedEncodeURIComponent=extendedEncodeURIComponent},6457:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getArrayIfSingleItem=void 0;const getArrayIfSingleItem=e=>Array.isArray(e)?e:[e];t.getArrayIfSingleItem=getArrayIfSingleItem},5830:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getValueFromTextNode=void 0;const getValueFromTextNode=e=>{const o="#text";for(const n in e){if(e.hasOwnProperty(n)&&e[n][o]!==undefined){e[n]=e[n][o]}else if(typeof e[n]==="object"&&e[n]!==null){e[n]=(0,t.getValueFromTextNode)(e[n])}}return e};t.getValueFromTextNode=getValueFromTextNode},4963:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(6034),t);n.__exportStar(o(4014),t);n.__exportStar(o(8392),t);n.__exportStar(o(4695),t);n.__exportStar(o(7222),t);n.__exportStar(o(3088),t);n.__exportStar(o(2363),t);n.__exportStar(o(7778),t);n.__exportStar(o(1927),t);n.__exportStar(o(6457),t);n.__exportStar(o(5830),t);n.__exportStar(o(3613),t);n.__exportStar(o(1599),t);n.__exportStar(o(4809),t);n.__exportStar(o(308),t);n.__exportStar(o(8e3),t);n.__exportStar(o(8730),t)},3613:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LazyJsonString=t.StringWrapper=void 0;const StringWrapper=function(){const e=Object.getPrototypeOf(this).constructor;const t=Function.bind.apply(String,[null,...arguments]);const o=new t;Object.setPrototypeOf(o,e.prototype);return o};t.StringWrapper=StringWrapper;t.StringWrapper.prototype=Object.create(String.prototype,{constructor:{value:t.StringWrapper,enumerable:false,writable:true,configurable:true}});Object.setPrototypeOf(t.StringWrapper,String);class LazyJsonString extends t.StringWrapper{deserializeJSON(){return JSON.parse(super.toString())}toJSON(){return super.toString()}static fromObject(e){if(e instanceof LazyJsonString){return e}else if(e instanceof String||typeof e==="string"){return new LazyJsonString(e)}return new LazyJsonString(JSON.stringify(e))}}t.LazyJsonString=LazyJsonString},1599:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.convertMap=t.map=void 0;function map(e,t,o){let n;let r;let s;if(typeof t==="undefined"&&typeof o==="undefined"){n={};s=e}else{n=e;if(typeof t==="function"){r=t;s=o;return mapWithFilter(n,r,s)}else{s=t}}for(const e of Object.keys(s)){if(!Array.isArray(s[e])){n[e]=s[e];continue}let[t,o]=s[e];if(typeof o==="function"){let r;const s=t===undefined&&(r=o())!=null;const i=typeof t==="function"&&!!t(void 0)||typeof t!=="function"&&!!t;if(s){n[e]=r}else if(i){n[e]=o()}}else{const r=t===undefined&&o!=null;const s=typeof t==="function"&&!!t(o)||typeof t!=="function"&&!!t;if(r||s){n[e]=o}}}return n}t.map=map;const convertMap=e=>{const t={};for(const[o,n]of Object.entries(e||{})){t[o]=[,n]}return t};t.convertMap=convertMap;const mapWithFilter=(e,t,o)=>map(e,Object.entries(o).reduce(((e,[o,n])=>{if(Array.isArray(n)){e[o]=n}else{if(typeof n==="function"){e[o]=[t,n()]}else{e[o]=[t,n]}}return e}),{}))},4809:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.logger=t.strictParseByte=t.strictParseShort=t.strictParseInt32=t.strictParseInt=t.strictParseLong=t.limitedParseFloat32=t.limitedParseFloat=t.handleFloat=t.limitedParseDouble=t.strictParseFloat32=t.strictParseFloat=t.strictParseDouble=t.expectUnion=t.expectString=t.expectObject=t.expectNonNull=t.expectByte=t.expectShort=t.expectInt32=t.expectInt=t.expectLong=t.expectFloat32=t.expectNumber=t.expectBoolean=t.parseBoolean=void 0;const parseBoolean=e=>{switch(e){case"true":return true;case"false":return false;default:throw new Error(`Unable to parse boolean value "${e}"`)}};t.parseBoolean=parseBoolean;const expectBoolean=e=>{if(e===null||e===undefined){return undefined}if(typeof e==="number"){if(e===0||e===1){t.logger.warn(stackTraceWarning(`Expected boolean, got ${typeof e}: ${e}`))}if(e===0){return false}if(e===1){return true}}if(typeof e==="string"){const o=e.toLowerCase();if(o==="false"||o==="true"){t.logger.warn(stackTraceWarning(`Expected boolean, got ${typeof e}: ${e}`))}if(o==="false"){return false}if(o==="true"){return true}}if(typeof e==="boolean"){return e}throw new TypeError(`Expected boolean, got ${typeof e}: ${e}`)};t.expectBoolean=expectBoolean;const expectNumber=e=>{if(e===null||e===undefined){return undefined}if(typeof e==="string"){const o=parseFloat(e);if(!Number.isNaN(o)){if(String(o)!==String(e)){t.logger.warn(stackTraceWarning(`Expected number but observed string: ${e}`))}return o}}if(typeof e==="number"){return e}throw new TypeError(`Expected number, got ${typeof e}: ${e}`)};t.expectNumber=expectNumber;const o=Math.ceil(2**127*(2-2**-23));const expectFloat32=e=>{const n=(0,t.expectNumber)(e);if(n!==undefined&&!Number.isNaN(n)&&n!==Infinity&&n!==-Infinity){if(Math.abs(n)>o){throw new TypeError(`Expected 32-bit float, got ${e}`)}}return n};t.expectFloat32=expectFloat32;const expectLong=e=>{if(e===null||e===undefined){return undefined}if(Number.isInteger(e)&&!Number.isNaN(e)){return e}throw new TypeError(`Expected integer, got ${typeof e}: ${e}`)};t.expectLong=expectLong;t.expectInt=t.expectLong;const expectInt32=e=>expectSizedInt(e,32);t.expectInt32=expectInt32;const expectShort=e=>expectSizedInt(e,16);t.expectShort=expectShort;const expectByte=e=>expectSizedInt(e,8);t.expectByte=expectByte;const expectSizedInt=(e,o)=>{const n=(0,t.expectLong)(e);if(n!==undefined&&castInt(n,o)!==n){throw new TypeError(`Expected ${o}-bit integer, got ${e}`)}return n};const castInt=(e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}};const expectNonNull=(e,t)=>{if(e===null||e===undefined){if(t){throw new TypeError(`Expected a non-null value for ${t}`)}throw new TypeError("Expected a non-null value")}return e};t.expectNonNull=expectNonNull;const expectObject=e=>{if(e===null||e===undefined){return undefined}if(typeof e==="object"&&!Array.isArray(e)){return e}const t=Array.isArray(e)?"array":typeof e;throw new TypeError(`Expected object, got ${t}: ${e}`)};t.expectObject=expectObject;const expectString=e=>{if(e===null||e===undefined){return undefined}if(typeof e==="string"){return e}if(["boolean","number","bigint"].includes(typeof e)){t.logger.warn(stackTraceWarning(`Expected string, got ${typeof e}: ${e}`));return String(e)}throw new TypeError(`Expected string, got ${typeof e}: ${e}`)};t.expectString=expectString;const expectUnion=e=>{if(e===null||e===undefined){return undefined}const o=(0,t.expectObject)(e);const n=Object.entries(o).filter((([,e])=>e!=null)).map((([e])=>e));if(n.length===0){throw new TypeError(`Unions must have exactly one non-null member. None were found.`)}if(n.length>1){throw new TypeError(`Unions must have exactly one non-null member. Keys ${n} were not null.`)}return o};t.expectUnion=expectUnion;const strictParseDouble=e=>{if(typeof e=="string"){return(0,t.expectNumber)(parseNumber(e))}return(0,t.expectNumber)(e)};t.strictParseDouble=strictParseDouble;t.strictParseFloat=t.strictParseDouble;const strictParseFloat32=e=>{if(typeof e=="string"){return(0,t.expectFloat32)(parseNumber(e))}return(0,t.expectFloat32)(e)};t.strictParseFloat32=strictParseFloat32;const n=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g;const parseNumber=e=>{const t=e.match(n);if(t===null||t[0].length!==e.length){throw new TypeError(`Expected real number, got implicit NaN`)}return parseFloat(e)};const limitedParseDouble=e=>{if(typeof e=="string"){return parseFloatString(e)}return(0,t.expectNumber)(e)};t.limitedParseDouble=limitedParseDouble;t.handleFloat=t.limitedParseDouble;t.limitedParseFloat=t.limitedParseDouble;const limitedParseFloat32=e=>{if(typeof e=="string"){return parseFloatString(e)}return(0,t.expectFloat32)(e)};t.limitedParseFloat32=limitedParseFloat32;const parseFloatString=e=>{switch(e){case"NaN":return NaN;case"Infinity":return Infinity;case"-Infinity":return-Infinity;default:throw new Error(`Unable to parse float value: ${e}`)}};const strictParseLong=e=>{if(typeof e==="string"){return(0,t.expectLong)(parseNumber(e))}return(0,t.expectLong)(e)};t.strictParseLong=strictParseLong;t.strictParseInt=t.strictParseLong;const strictParseInt32=e=>{if(typeof e==="string"){return(0,t.expectInt32)(parseNumber(e))}return(0,t.expectInt32)(e)};t.strictParseInt32=strictParseInt32;const strictParseShort=e=>{if(typeof e==="string"){return(0,t.expectShort)(parseNumber(e))}return(0,t.expectShort)(e)};t.strictParseShort=strictParseShort;const strictParseByte=e=>{if(typeof e==="string"){return(0,t.expectByte)(parseNumber(e))}return(0,t.expectByte)(e)};t.strictParseByte=strictParseByte;const stackTraceWarning=e=>String(new TypeError(e).stack||e).split("\n").slice(0,5).filter((e=>!e.includes("stackTraceWarning"))).join("\n");t.logger={warn:console.warn}},308:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolvedPath=void 0;const n=o(1927);const resolvedPath=(e,t,o,r,s,i)=>{if(t!=null&&t[o]!==undefined){const t=r();if(t.length<=0){throw new Error("Empty value provided for input HTTP label: "+o+".")}e=e.replace(s,i?t.split("/").map((e=>(0,n.extendedEncodeURIComponent)(e))).join("/"):(0,n.extendedEncodeURIComponent)(t))}else{throw new Error("No value provided for input HTTP label: "+o+".")}return e};t.resolvedPath=resolvedPath},8e3:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.serializeFloat=void 0;const serializeFloat=e=>{if(e!==e){return"NaN"}switch(e){case Infinity:return"Infinity";case-Infinity:return"-Infinity";default:return e}};t.serializeFloat=serializeFloat},8730:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.splitEvery=void 0;function splitEvery(e,t,o){if(o<=0||!Number.isInteger(o)){throw new Error("Invalid number of delimiters ("+o+") for splitEvery.")}const n=e.split(t);if(o===1){return n}const r=[];let s="";for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseUrl=void 0;const n=o(7424);const parseUrl=e=>{if(typeof e==="string"){return(0,t.parseUrl)(new URL(e))}const{hostname:o,pathname:r,port:s,protocol:i,search:a}=e;let c;if(a){c=(0,n.parseQueryString)(a)}return{hostname:o,port:s?parseInt(s):undefined,protocol:i,path:r,query:c}};t.parseUrl=parseUrl},8588:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toBase64=t.fromBase64=void 0;const n=o(6010);const r=/^[A-Za-z0-9+/]*={0,2}$/;function fromBase64(e){if(e.length*3%4!==0){throw new TypeError(`Incorrect padding on base64 string.`)}if(!r.exec(e)){throw new TypeError(`Invalid base64 string.`)}const t=(0,n.fromString)(e,"base64");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}t.fromBase64=fromBase64;function toBase64(e){return(0,n.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength).toString("base64")}t.toBase64=toBase64},9190:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.calculateBodyLength=void 0;const n=o(7147);const calculateBodyLength=e=>{if(!e){return 0}if(typeof e==="string"){return Buffer.from(e).length}else if(typeof e.byteLength==="number"){return e.byteLength}else if(typeof e.size==="number"){return e.size}else if(typeof e.path==="string"||Buffer.isBuffer(e.path)){return(0,n.lstatSync)(e.path).size}else if(typeof e.fd==="number"){return(0,n.fstatSync)(e.fd).size}throw new Error(`Body Length computation failed for ${e}`)};t.calculateBodyLength=calculateBodyLength},4147:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(9190),t)},6010:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.fromString=t.fromArrayBuffer=void 0;const n=o(9126);const r=o(4300);const fromArrayBuffer=(e,t=0,o=e.byteLength-t)=>{if(!(0,n.isArrayBuffer)(e)){throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof e} (${e})`)}return r.Buffer.from(e,t,o)};t.fromArrayBuffer=fromArrayBuffer;const fromString=(e,t)=>{if(typeof e!=="string"){throw new TypeError(`The "input" argument must be of type string. Received type ${typeof e} (${e})`)}return t?r.Buffer.from(e,t):r.Buffer.from(e)};t.fromString=fromString},9509:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.booleanSelector=t.SelectorType=void 0;var o;(function(e){e["ENV"]="env";e["CONFIG"]="shared config entry"})(o=t.SelectorType||(t.SelectorType={}));const booleanSelector=(e,t,o)=>{if(!(t in e))return undefined;if(e[t]==="true")return true;if(e[t]==="false")return false;throw new Error(`Cannot load ${o} "${t}". Expected "true" or "false", got ${e[t]}.`)};t.booleanSelector=booleanSelector},6168:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(9509),t)},6488:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IMDS_REGION_PATH=t.DEFAULTS_MODE_OPTIONS=t.ENV_IMDS_DISABLED=t.AWS_DEFAULT_REGION_ENV=t.AWS_REGION_ENV=t.AWS_EXECUTION_ENV=void 0;t.AWS_EXECUTION_ENV="AWS_EXECUTION_ENV";t.AWS_REGION_ENV="AWS_REGION";t.AWS_DEFAULT_REGION_ENV="AWS_DEFAULT_REGION";t.ENV_IMDS_DISABLED="AWS_EC2_METADATA_DISABLED";t.DEFAULTS_MODE_OPTIONS=["in-region","cross-region","mobile","standard","legacy"];t.IMDS_REGION_PATH="/latest/meta-data/placement/region"},8450:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NODE_DEFAULTS_MODE_CONFIG_OPTIONS=void 0;const o="AWS_DEFAULTS_MODE";const n="defaults_mode";t.NODE_DEFAULTS_MODE_CONFIG_OPTIONS={environmentVariableSelector:e=>e[o],configFileSelector:e=>e[n],default:"legacy"}},4243:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(8238),t)},8238:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveDefaultsModeConfig=void 0;const n=o(6153);const r=o(5898);const s=o(7684);const i=o(4462);const a=o(6488);const c=o(8450);const resolveDefaultsModeConfig=({region:e=(0,s.loadConfig)(n.NODE_REGION_CONFIG_OPTIONS),defaultsMode:t=(0,s.loadConfig)(c.NODE_DEFAULTS_MODE_CONFIG_OPTIONS)}={})=>(0,i.memoize)((async()=>{const o=typeof t==="function"?await t():t;switch(o===null||o===void 0?void 0:o.toLowerCase()){case"auto":return resolveNodeDefaultsModeAuto(e);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(o===null||o===void 0?void 0:o.toLocaleLowerCase());case undefined:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${a.DEFAULTS_MODE_OPTIONS.join(", ")}, got ${o}`)}}));t.resolveDefaultsModeConfig=resolveDefaultsModeConfig;const resolveNodeDefaultsModeAuto=async e=>{if(e){const t=typeof e==="function"?await e():e;const o=await inferPhysicalRegion();if(!o){return"standard"}if(t===o){return"in-region"}else{return"cross-region"}}return"standard"};const inferPhysicalRegion=async()=>{var e;if(process.env[a.AWS_EXECUTION_ENV]&&(process.env[a.AWS_REGION_ENV]||process.env[a.AWS_DEFAULT_REGION_ENV])){return(e=process.env[a.AWS_REGION_ENV])!==null&&e!==void 0?e:process.env[a.AWS_DEFAULT_REGION_ENV]}if(!process.env[a.ENV_IMDS_DISABLED]){try{const e=await(0,r.getInstanceMetadataEndpoint)();return(await(0,r.httpRequest)({...e,path:a.IMDS_REGION_PATH})).toString()}catch(e){}}}},1968:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toHex=t.fromHex=void 0;const o={};const n={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();if(t.length===1){t=`0${t}`}o[e]=t;n[t]=e}function fromHex(e){if(e.length%2!==0){throw new Error("Hex encoded strings must have an even number length")}const t=new Uint8Array(e.length/2);for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(7776),t)},7776:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.normalizeProvider=void 0;const normalizeProvider=e=>{if(typeof e==="function")return e;const t=Promise.resolve(e);return()=>t};t.normalizeProvider=normalizeProvider},5774:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.escapeUriPath=void 0;const n=o(4652);const escapeUriPath=e=>e.split("/").map(n.escapeUri).join("/");t.escapeUriPath=escapeUriPath},4652:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.escapeUri=void 0;const escapeUri=e=>encodeURIComponent(e).replace(/[!'()*]/g,hexEncode);t.escapeUri=escapeUri;const hexEncode=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`},7952:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(4652),t);n.__exportStar(o(5774),t)},8095:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.defaultUserAgent=t.UA_APP_ID_INI_NAME=t.UA_APP_ID_ENV_NAME=void 0;const n=o(7684);const r=o(2037);const s=o(7282);const i=o(8390);t.UA_APP_ID_ENV_NAME="AWS_SDK_UA_APP_ID";t.UA_APP_ID_INI_NAME="sdk-ua-app-id";const defaultUserAgent=({serviceId:e,clientVersion:o})=>{const a=[["aws-sdk-js",o],[`os/${(0,r.platform)()}`,(0,r.release)()],["lang/js"],["md/nodejs",`${s.versions.node}`]];const c=(0,i.isCrtAvailable)();if(c){a.push(c)}if(e){a.push([`api/${e}`,o])}if(s.env.AWS_EXECUTION_ENV){a.push([`exec-env/${s.env.AWS_EXECUTION_ENV}`])}const l=(0,n.loadConfig)({environmentVariableSelector:e=>e[t.UA_APP_ID_ENV_NAME],configFileSelector:e=>e[t.UA_APP_ID_INI_NAME],default:undefined})();let u=undefined;return async()=>{if(!u){const e=await l;u=e?[...a,[`app/${e}`]]:[...a]}return u}};t.defaultUserAgent=defaultUserAgent},8390:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isCrtAvailable=void 0;const isCrtAvailable=()=>{try{if(true&&o(7578)){return["md/crt-avail"]}return null}catch(e){return null}};t.isCrtAvailable=isCrtAvailable},6278:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toUtf8=t.fromUtf8=void 0;const n=o(6010);const fromUtf8=e=>{const t=(0,n.fromString)(e,"utf8");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT)};t.fromUtf8=fromUtf8;const toUtf8=e=>(0,n.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength).toString("utf8");t.toUtf8=toUtf8},8880:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createWaiter=void 0;const n=o(2105);const r=o(6001);const s=o(4996);const abortTimeout=async e=>new Promise((t=>{e.onabort=()=>t({state:s.WaiterState.ABORTED})}));const createWaiter=async(e,t,o)=>{const i={...s.waiterServiceDefaults,...e};(0,r.validateWaiterOptions)(i);const a=[(0,n.runPolling)(i,t,o)];if(e.abortController){a.push(abortTimeout(e.abortController.signal))}if(e.abortSignal){a.push(abortTimeout(e.abortSignal))}return Promise.race(a)};t.createWaiter=createWaiter},1627:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(8880),t);n.__exportStar(o(4996),t)},2105:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.runPolling=void 0;const n=o(7397);const r=o(4996);const exponentialBackoffWithJitter=(e,t,o,n)=>{if(n>o)return t;const r=e*2**(n-1);return randomInRange(e,r)};const randomInRange=(e,t)=>e+Math.random()*(t-e);const runPolling=async({minDelay:e,maxDelay:t,maxWaitTime:o,abortController:s,client:i,abortSignal:a},c,l)=>{var u;const{state:d,reason:p}=await l(i,c);if(d!==r.WaiterState.RETRY){return{state:d,reason:p}}let m=1;const g=Date.now()+o*1e3;const f=Math.log(t/e)/Math.log(2)+1;while(true){if(((u=s===null||s===void 0?void 0:s.signal)===null||u===void 0?void 0:u.aborted)||(a===null||a===void 0?void 0:a.aborted)){return{state:r.WaiterState.ABORTED}}const o=exponentialBackoffWithJitter(e,t,f,m);if(Date.now()+o*1e3>g){return{state:r.WaiterState.TIMEOUT}}await(0,n.sleep)(o);const{state:d,reason:p}=await l(i,c);if(d!==r.WaiterState.RETRY){return{state:d,reason:p}}m+=1}};t.runPolling=runPolling},6001:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=o(4351);n.__exportStar(o(7397),t);n.__exportStar(o(3931),t)},7397:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.sleep=void 0;const sleep=e=>new Promise((t=>setTimeout(t,e*1e3)));t.sleep=sleep},3931:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validateWaiterOptions=void 0;const validateWaiterOptions=e=>{if(e.maxWaitTime<1){throw new Error(`WaiterConfiguration.maxWaitTime must be greater than 0`)}else if(e.minDelay<1){throw new Error(`WaiterConfiguration.minDelay must be greater than 0`)}else if(e.maxDelay<1){throw new Error(`WaiterConfiguration.maxDelay must be greater than 0`)}else if(e.maxWaitTime<=e.minDelay){throw new Error(`WaiterConfiguration.maxWaitTime [${e.maxWaitTime}] must be greater than WaiterConfiguration.minDelay [${e.minDelay}] for this waiter`)}else if(e.maxDelay{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.checkExceptions=t.WaiterState=t.waiterServiceDefaults=void 0;t.waiterServiceDefaults={minDelay:2,maxDelay:120};var o;(function(e){e["ABORTED"]="ABORTED";e["FAILURE"]="FAILURE";e["SUCCESS"]="SUCCESS";e["RETRY"]="RETRY";e["TIMEOUT"]="TIMEOUT"})(o=t.WaiterState||(t.WaiterState={}));const checkExceptions=e=>{if(e.state===o.ABORTED){const t=new Error(`${JSON.stringify({...e,reason:"Request was aborted"})}`);t.name="AbortError";throw t}else if(e.state===o.TIMEOUT){const t=new Error(`${JSON.stringify({...e,reason:"Waiter has timed out"})}`);t.name="TimeoutError";throw t}else if(e.state!==o.SUCCESS){throw new Error(`${JSON.stringify({result:e})}`)}return e};t.checkExceptions=checkExceptions},1040:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function once(e,t,{signal:o}={}){return new Promise(((n,r)=>{function cleanup(){o===null||o===void 0?void 0:o.removeEventListener("abort",cleanup);e.removeListener(t,onEvent);e.removeListener("error",onError)}function onEvent(...e){cleanup();n(e)}function onError(e){cleanup();r(e)}o===null||o===void 0?void 0:o.addEventListener("abort",cleanup);e.on(t,onEvent);e.on("error",onError)}))}t["default"]=once},9690:function(e,t,o){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};const r=o(2361);const s=n(o(8237));const i=n(o(6570));const a=s.default("agent-base");function isAgent(e){return Boolean(e)&&typeof e.addRequest==="function"}function isSecureEndpoint(){const{stack:e}=new Error;if(typeof e!=="string")return false;return e.split("\n").some((e=>e.indexOf("(https.js:")!==-1||e.indexOf("node:https:")!==-1))}function createAgent(e,t){return new createAgent.Agent(e,t)}(function(e){class Agent extends r.EventEmitter{constructor(e,t){super();let o=t;if(typeof e==="function"){this.callback=e}else if(e){o=e}this.timeout=null;if(o&&typeof o.timeout==="number"){this.timeout=o.timeout}this.maxFreeSockets=1;this.maxSockets=1;this.maxTotalSockets=Infinity;this.sockets={};this.freeSockets={};this.requests={};this.options={}}get defaultPort(){if(typeof this.explicitDefaultPort==="number"){return this.explicitDefaultPort}return isSecureEndpoint()?443:80}set defaultPort(e){this.explicitDefaultPort=e}get protocol(){if(typeof this.explicitProtocol==="string"){return this.explicitProtocol}return isSecureEndpoint()?"https:":"http:"}set protocol(e){this.explicitProtocol=e}callback(e,t,o){throw new Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(e,t){const o=Object.assign({},t);if(typeof o.secureEndpoint!=="boolean"){o.secureEndpoint=isSecureEndpoint()}if(o.host==null){o.host="localhost"}if(o.port==null){o.port=o.secureEndpoint?443:80}if(o.protocol==null){o.protocol=o.secureEndpoint?"https:":"http:"}if(o.host&&o.path){delete o.path}delete o.agent;delete o.hostname;delete o._defaultAgent;delete o.defaultPort;delete o.createConnection;e._last=true;e.shouldKeepAlive=false;let n=false;let r=null;const s=o.timeout||this.timeout;const onerror=t=>{if(e._hadError)return;e.emit("error",t);e._hadError=true};const ontimeout=()=>{r=null;n=true;const e=new Error(`A "socket" was not created for HTTP request before ${s}ms`);e.code="ETIMEOUT";onerror(e)};const callbackError=e=>{if(n)return;if(r!==null){clearTimeout(r);r=null}onerror(e)};const onsocket=t=>{if(n)return;if(r!=null){clearTimeout(r);r=null}if(isAgent(t)){a("Callback returned another Agent instance %o",t.constructor.name);t.addRequest(e,o);return}if(t){t.once("free",(()=>{this.freeSocket(t,o)}));e.onSocket(t);return}const s=new Error(`no Duplex stream was returned to agent-base for \`${e.method} ${e.path}\``);onerror(s)};if(typeof this.callback!=="function"){onerror(new Error("`callback` is not defined"));return}if(!this.promisifiedCallback){if(this.callback.length>=3){a("Converting legacy callback function to promise");this.promisifiedCallback=i.default(this.callback)}else{this.promisifiedCallback=this.callback}}if(typeof s==="number"&&s>0){r=setTimeout(ontimeout,s)}if("port"in o&&typeof o.port!=="number"){o.port=Number(o.port)}try{a("Resolving socket for %o request: %o",o.protocol,`${e.method} ${e.path}`);Promise.resolve(this.promisifiedCallback(e,o)).then(onsocket,callbackError)}catch(e){Promise.reject(e).catch(callbackError)}}freeSocket(e,t){a("Freeing socket %o %o",e.constructor.name,t);e.destroy()}destroy(){a("Destroying agent %o",this.constructor.name)}}e.Agent=Agent;e.prototype=e.Agent.prototype})(createAgent||(createAgent={}));e.exports=createAgent},6570:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function promisify(e){return function(t,o){return new Promise(((n,r)=>{e.call(this,t,o,((e,t)=>{if(e){r(e)}else{n(t)}}))}))}}t["default"]=promisify},8222:(e,t,o)=>{t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.destroy=(()=>{let e=false;return()=>{if(!e){e=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const o="color: "+this.color;t.splice(1,0,o,"color: inherit");let n=0;let r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}n++;if(e==="%c"){r=n}}));t.splice(r,0,o)}t.log=console.debug||console.log||(()=>{});function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=o(6243)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},6243:(e,t,o)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=o(900);createDebug.destroy=destroy;Object.keys(e).forEach((t=>{createDebug[t]=e[t]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let o=0;o{if(t==="%%"){return"%"}s++;const r=createDebug.formatters[n];if(typeof r==="function"){const n=e[s];t=r.call(o,n);e.splice(s,1);s--}return t}));createDebug.formatArgs.call(o,e);const i=o.log||createDebug.log;i.apply(o,e)}debug.namespace=e;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(o!==null){return o}if(n!==createDebug.namespaces){n=createDebug.namespaces;r=createDebug.enabled(e)}return r},set:e=>{o=e}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(e,t){const o=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);o.log=this.log;return o}function enable(e){createDebug.save(e);createDebug.namespaces=e;createDebug.names=[];createDebug.skips=[];let t;const o=(typeof e==="string"?e:"").split(/[\s,]+/);const n=o.length;for(t=0;t"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){if(e[e.length-1]==="*"){return true}let t;let o;for(t=0,o=createDebug.skips.length;t{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=o(8222)}else{e.exports=o(4874)}},4874:(e,t,o)=>{const n=o(6224);const r=o(3837);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.destroy=r.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");t.colors=[6,2,3,4,5,1];try{const e=o(9318);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const o=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let n=process.env[t];if(/^(yes|on|true|enabled)$/i.test(n)){n=true}else if(/^(no|off|false|disabled)$/i.test(n)){n=false}else if(n==="null"){n=null}else{n=Number(n)}e[o]=n;return e}),{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:o,useColors:n}=this;if(n){const n=this.color;const r="[3"+(n<8?n:"8;5;"+n);const s=` ${r};1m${o} `;t[0]=s+t[0].split("\n").join("\n"+s);t.push(r+"m+"+e.exports.humanize(this.diff)+"")}else{t[0]=getDate()+o+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(r.format(...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const o=Object.keys(t.inspectOpts);for(let n=0;ne.trim())).join(" ")};s.O=function(e){this.inspectOpts.colors=this.useColors;return r.inspect(e,this.inspectOpts)}},5107:function(e,t,o){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var r=n(o(9323));var s=n(o(9591));var i=n(o(2586));var a=n(o(1227));var c=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;t.decodeXML=getStrictDecoder(i.default);t.decodeHTMLStrict=getStrictDecoder(r.default);function getStrictDecoder(e){var t=getReplacer(e);return function(e){return String(e).replace(c,t)}}var sorter=function(e,t){return e65535){e-=65536;t+=String.fromCharCode(e>>>10&1023|55296);e=56320|e&1023}t+=String.fromCharCode(e);return t};function decodeCodePoint(e){if(e>=55296&&e<=57343||e>1114111){return"�"}if(e in r.default){e=r.default[e]}return s(e)}t["default"]=decodeCodePoint},2006:function(e,t,o){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var r=n(o(2586));var s=getInverseObj(r.default);var i=getInverseReplacer(s);t.encodeXML=getASCIIEncoder(s);var a=n(o(9323));var c=getInverseObj(a.default);var l=getInverseReplacer(c);t.encodeHTML=getInverse(c,l);t.encodeNonAsciiHTML=getASCIIEncoder(c);function getInverseObj(e){return Object.keys(e).sort().reduce((function(t,o){t[e[o]]="&"+o+";";return t}),{})}function getInverseReplacer(e){var t=[];var o=[];for(var n=0,r=Object.keys(e);n1?d(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}function getInverse(e,t){return function(o){return o.replace(t,(function(t){return e[t]})).replace(u,singleCharReplacer)}}var p=new RegExp(i.source+"|"+u.source,"g");function escape(e){return e.replace(p,singleCharReplacer)}t.escape=escape;function escapeUTF8(e){return e.replace(i,singleCharReplacer)}t.escapeUTF8=escapeUTF8;function getASCIIEncoder(e){return function(t){return t.replace(p,(function(t){return e[t]||singleCharReplacer(t)}))}}},3e3:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var n=o(5107);var r=o(2006);function decode(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)}t.decode=decode;function decodeStrict(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)}t.decodeStrict=decodeStrict;function encode(e,t){return(!t||t<=0?r.encodeXML:r.encodeHTML)(e)}t.encode=encode;var s=o(2006);Object.defineProperty(t,"encodeXML",{enumerable:true,get:function(){return s.encodeXML}});Object.defineProperty(t,"encodeHTML",{enumerable:true,get:function(){return s.encodeHTML}});Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:true,get:function(){return s.encodeNonAsciiHTML}});Object.defineProperty(t,"escape",{enumerable:true,get:function(){return s.escape}});Object.defineProperty(t,"escapeUTF8",{enumerable:true,get:function(){return s.escapeUTF8}});Object.defineProperty(t,"encodeHTML4",{enumerable:true,get:function(){return s.encodeHTML}});Object.defineProperty(t,"encodeHTML5",{enumerable:true,get:function(){return s.encodeHTML}});var i=o(5107);Object.defineProperty(t,"decodeXML",{enumerable:true,get:function(){return i.decodeXML}});Object.defineProperty(t,"decodeHTML",{enumerable:true,get:function(){return i.decodeHTML}});Object.defineProperty(t,"decodeHTMLStrict",{enumerable:true,get:function(){return i.decodeHTMLStrict}});Object.defineProperty(t,"decodeHTML4",{enumerable:true,get:function(){return i.decodeHTML}});Object.defineProperty(t,"decodeHTML5",{enumerable:true,get:function(){return i.decodeHTML}});Object.defineProperty(t,"decodeHTML4Strict",{enumerable:true,get:function(){return i.decodeHTMLStrict}});Object.defineProperty(t,"decodeHTML5Strict",{enumerable:true,get:function(){return i.decodeHTMLStrict}});Object.defineProperty(t,"decodeXMLStrict",{enumerable:true,get:function(){return i.decodeXML}})},5152:(e,t,o)=>{"use strict";const n=o(8280).buildOptions;const r={attributeNamePrefix:"@_",attrNodeName:false,textNodeName:"#text",ignoreAttributes:true,cdataTagName:false,cdataPositionChar:"\\c",format:false,indentBy:" ",supressEmptyNode:false,tagValueProcessor:function(e){return e},attrValueProcessor:function(e){return e}};const s=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","cdataTagName","cdataPositionChar","format","indentBy","supressEmptyNode","tagValueProcessor","attrValueProcessor"];function Parser(e){this.options=n(e,r,s);if(this.options.ignoreAttributes||this.options.attrNodeName){this.isAttribute=function(){return false}}else{this.attrPrefixLen=this.options.attributeNamePrefix.length;this.isAttribute=isAttribute}if(this.options.cdataTagName){this.isCDATA=isCDATA}else{this.isCDATA=function(){return false}}this.replaceCDATAstr=replaceCDATAstr;this.replaceCDATAarr=replaceCDATAarr;if(this.options.format){this.indentate=indentate;this.tagEndChar=">\n";this.newLine="\n"}else{this.indentate=function(){return""};this.tagEndChar=">";this.newLine=""}if(this.options.supressEmptyNode){this.buildTextNode=buildEmptyTextNode;this.buildObjNode=buildEmptyObjNode}else{this.buildTextNode=buildTextValNode;this.buildObjNode=buildObjectNode}this.buildTextValNode=buildTextValNode;this.buildObjectNode=buildObjectNode}Parser.prototype.parse=function(e){return this.j2x(e,0).val};Parser.prototype.j2x=function(e,t){let o="";let n="";const r=Object.keys(e);const s=r.length;for(let i=0;i")}return e+this.newLine}}function buildObjectNode(e,t,o,n){if(o&&!e.includes("<")){return this.indentate(n)+"<"+t+o+">"+e+""+this.options.tagValueProcessor(e)+"{"use strict";const char=function(e){return String.fromCharCode(e)};const n={nilChar:char(176),missingChar:char(201),nilPremitive:char(175),missingPremitive:char(200),emptyChar:char(178),emptyValue:char(177),boundryChar:char(179),objStart:char(198),arrStart:char(204),arrayEnd:char(185)};const r=[n.nilChar,n.nilPremitive,n.missingChar,n.missingPremitive,n.boundryChar,n.emptyChar,n.emptyValue,n.arrayEnd,n.objStart,n.arrStart];const _e=function(e,t,o){if(typeof t==="string"){if(e&&e[0]&&e[0].val!==undefined){return getValue(e[0].val,t)}else{return getValue(e,t)}}else{const r=hasData(e);if(r===true){let r="";if(Array.isArray(t)){r+=n.arrStart;const s=t[0];const i=e.length;if(typeof s==="string"){for(let t=0;t{"use strict";const n=o(8280);const convertToJson=function(e,t,o){const r={};if((!e.child||n.isEmptyObject(e.child))&&(!e.attrsMap||n.isEmptyObject(e.attrsMap))){return n.isExist(e.val)?e.val:""}if(n.isExist(e.val)&&!(typeof e.val==="string"&&(e.val===""||e.val===t.cdataPositionChar))){const s=n.isTagNameInArrayMode(e.tagname,t.arrayMode,o);r[t.textNodeName]=s?[e.val]:e.val}n.merge(r,e.attrsMap,t.arrayMode);const s=Object.keys(e.child);for(let i=0;i1){r[a]=[];for(let o in e.child[a]){if(e.child[a].hasOwnProperty(o)){r[a].push(convertToJson(e.child[a][o],t,a))}}}else{const s=convertToJson(e.child[a][0],t,a);const i=t.arrayMode===true&&typeof s==="object"||n.isTagNameInArrayMode(a,t.arrayMode,o);r[a]=i?[s]:s}}return r};t.convertToJson=convertToJson},6014:(e,t,o)=>{"use strict";const n=o(8280);const r=o(8280).buildOptions;const s=o(6712);const convertToJsonString=function(e,t){t=r(t,s.defaultOptions,s.props);t.indentBy=t.indentBy||"";return _cToJsonStr(e,t,0)};const _cToJsonStr=function(e,t,o){let r="{";const s=Object.keys(e.child);for(let o=0;o1){r+='"'+i+'" : [ ';for(var a in e.child[i]){r+=_cToJsonStr(e.child[i][a],t)+" , "}r=r.substr(0,r.length-1)+" ] "}else{r+='"'+i+'" : '+_cToJsonStr(e.child[i][0],t)+" ,"}}n.merge(r,e.attrsMap);if(n.isEmptyObject(r)){return n.isExist(e.val)?e.val:""}else{if(n.isExist(e.val)){if(!(typeof e.val==="string"&&(e.val===""||e.val===t.cdataPositionChar))){r+='"'+t.textNodeName+'" : '+stringval(e.val)}}}if(r[r.length-1]===","){r=r.substr(0,r.length-2)}return r+"}"};function stringval(e){if(e===true||e===false||!isNaN(e)){return e}else{return'"'+e+'"'}}function indentate(e,t){return e.indentBy.repeat(t)}t.convertToJsonString=convertToJsonString},7448:(e,t,o)=>{"use strict";const n=o(8270);const r=o(6712);const s=o(6712);const i=o(8280).buildOptions;const a=o(1739);t.parse=function(e,t,o){if(o){if(o===true)o={};const t=a.validate(e,o);if(t!==true){throw Error(t.err.msg)}}t=i(t,s.defaultOptions,s.props);const c=r.getTraversalObj(e,t);return n.convertToJson(c,t)};t.convertTonimn=o(1901).convert2nimn;t.getTraversalObj=r.getTraversalObj;t.convertToJson=n.convertToJson;t.convertToJsonString=o(6014).convertToJsonString;t.validate=a.validate;t.j2xParser=o(5152);t.parseToNimn=function(e,o,n){return t.convertTonimn(t.getTraversalObj(e,n),o,n)};function print(e,t){if(e){console.log(t+"{");console.log(t+' "tagName": "'+e.tagname+'", ');if(e.parent){console.log(t+' "parent": "'+e.parent.tagname+'", ')}console.log(t+' "val": "'+e.val+'", ');console.log(t+' "attrs": '+JSON.stringify(e.attrsMap,null,4)+", ");if(e.child){console.log(t+'"child": {');const o=t+t;Object.keys(e.child).forEach((function(n){const r=e.child[n];if(Array.isArray(r)){console.log(t+'"'+n+'" :[');r.forEach((function(e,t){print(e,o)}));console.log(t+"],")}else{console.log(t+' "'+n+'" : {');print(r,o);console.log(t+"},")}}));console.log(t+"},")}console.log(t+"},")}}},8280:(e,t)=>{"use strict";const o=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD";const n=o+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040";const r="["+o+"]["+n+"]*";const s=new RegExp("^"+r+"$");const getAllMatches=function(e,t){const o=[];let n=t.exec(e);while(n){const r=[];const s=n.length;for(let e=0;e{"use strict";const n=o(8280);const r={allowBooleanAttributes:false};const s=["allowBooleanAttributes"];t.validate=function(e,t){t=n.buildOptions(t,r,s);const o=[];let i=false;let a=false;if(e[0]==="\ufeff"){e=e.substr(1)}for(let n=0;n"&&e[n]!==" "&&e[n]!=="\t"&&e[n]!=="\n"&&e[n]!=="\r";n++){s+=e[n]}s=s.trim();if(s[s.length-1]==="/"){s=s.substring(0,s.length-1);n--}if(!validateTagName(s)){let t;if(s.trim().length===0){t="There is an unnecessary space between tag name and backward slash '0){return getErrorObject("InvalidTag","Closing tag '"+s+"' can't have attributes or invalid starting.",getLineNumberForPosition(e,n))}else{const t=o.pop();if(s!==t){return getErrorObject("InvalidTag","Closing tag '"+t+"' is expected inplace of '"+s+"'.",getLineNumberForPosition(e,n))}if(o.length==0){a=true}}}else{const r=validateAttributeString(l,t);if(r!==true){return getErrorObject(r.err.code,r.err.msg,getLineNumberForPosition(e,n-l.length+r.err.line))}if(a===true){return getErrorObject("InvalidXml","Multiple possible root nodes found.",getLineNumberForPosition(e,n))}else{o.push(s)}i=true}for(n++;n0){return getErrorObject("InvalidXml","Invalid '"+JSON.stringify(o,null,4).replace(/\r?\n/g,"")+"' found.",1)}return true};function readPI(e,t){var o=t;for(;t5&&n==="xml"){return getErrorObject("InvalidXml","XML declaration allowed only at the start of the document.",getLineNumberForPosition(e,t))}else if(e[t]=="?"&&e[t+1]==">"){t++;break}else{continue}}}return t}function readCommentAndCDATA(e,t){if(e.length>t+5&&e[t+1]==="-"&&e[t+2]==="-"){for(t+=3;t"){t+=2;break}}}else if(e.length>t+8&&e[t+1]==="D"&&e[t+2]==="O"&&e[t+3]==="C"&&e[t+4]==="T"&&e[t+5]==="Y"&&e[t+6]==="P"&&e[t+7]==="E"){let o=1;for(t+=8;t"){o--;if(o===0){break}}}}else if(e.length>t+9&&e[t+1]==="["&&e[t+2]==="C"&&e[t+3]==="D"&&e[t+4]==="A"&&e[t+5]==="T"&&e[t+6]==="A"&&e[t+7]==="["){for(t+=8;t"){t+=2;break}}}return t}var i='"';var a="'";function readAttributeStr(e,t){let o="";let n="";let r=false;for(;t"){if(n===""){r=true;break}}o+=e[t]}if(n!==""){return false}return{value:o,index:t,tagClosed:r}}const c=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function validateAttributeString(e,t){const o=n.getAllMatches(e,c);const r={};for(let n=0;n{"use strict";e.exports=function(e,t,o){this.tagname=e;this.parent=t;this.child={};this.attrsMap={};this.val=o;this.addChild=function(e){if(Array.isArray(this.child[e.tagname])){this.child[e.tagname].push(e)}else{this.child[e.tagname]=[e]}}}},6712:(e,t,o)=>{"use strict";const n=o(8280);const r=o(8280).buildOptions;const s=o(9539);const i="<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,n.nameRegexp);if(!Number.parseInt&&window.parseInt){Number.parseInt=window.parseInt}if(!Number.parseFloat&&window.parseFloat){Number.parseFloat=window.parseFloat}const a={attributeNamePrefix:"@_",attrNodeName:false,textNodeName:"#text",ignoreAttributes:true,ignoreNameSpace:false,allowBooleanAttributes:false,parseNodeValue:true,parseAttributeValue:false,arrayMode:false,trimValues:true,cdataTagName:false,cdataPositionChar:"\\c",tagValueProcessor:function(e,t){return e},attrValueProcessor:function(e,t){return e},stopNodes:[]};t.defaultOptions=a;const c=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","ignoreNameSpace","allowBooleanAttributes","parseNodeValue","parseAttributeValue","arrayMode","trimValues","cdataTagName","cdataPositionChar","tagValueProcessor","attrValueProcessor","parseTrueNumberOnly","stopNodes"];t.props=c;function processTagValue(e,t,o){if(t){if(o.trimValues){t=t.trim()}t=o.tagValueProcessor(t,e);t=parseValue(t,o.parseNodeValue,o.parseTrueNumberOnly)}return t}function resolveNameSpace(e,t){if(t.ignoreNameSpace){const t=e.split(":");const o=e.charAt(0)==="/"?"/":"";if(t[0]==="xmlns"){return""}if(t.length===2){e=o+t[1]}}return e}function parseValue(e,t,o){if(t&&typeof e==="string"){let t;if(e.trim()===""||isNaN(e)){t=e==="true"?true:e==="false"?false:e}else{if(e.indexOf("0x")!==-1){t=Number.parseInt(e,16)}else if(e.indexOf(".")!==-1){t=Number.parseFloat(e);e=e.replace(/\.?0+$/,"")}else{t=Number.parseInt(e,10)}if(o){t=String(t)===e?t:e}}return t}else{if(n.isExist(e)){return e}else{return""}}}const l=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])(.*?)\\3)?","g");function buildAttributesMap(e,t){if(!t.ignoreAttributes&&typeof e==="string"){e=e.replace(/\r?\n/g," ");const o=n.getAllMatches(e,l);const r=o.length;const s={};for(let e=0;e",o,"Closing Tag is not closed.");let s=e.substring(o+2,r).trim();if(t.ignoreNameSpace){const e=s.indexOf(":");if(e!==-1){s=s.substr(e+1)}}if(i){if(i.val){i.val=n.getValue(i.val)+""+processTagValue(s,l,t)}else{i.val=processTagValue(s,l,t)}}if(t.stopNodes.length&&t.stopNodes.includes(i.tagname)){i.child=[];if(i.attrsMap==undefined){i.attrsMap={}}i.val=e.substr(i.startIndex+1,o-i.startIndex-1)}i=i.parent;l="";o=r}else if(e[o+1]==="?"){o=findClosingIndex(e,"?>",o,"Pi Tag is not closed.")}else if(e.substr(o+1,3)==="!--"){o=findClosingIndex(e,"--\x3e",o,"Comment is not closed.")}else if(e.substr(o+1,2)==="!D"){const t=findClosingIndex(e,">",o,"DOCTYPE is not closed.");const n=e.substring(o,t);if(n.indexOf("[")>=0){o=e.indexOf("]>",o)+1}else{o=t}}else if(e.substr(o+1,2)==="!["){const r=findClosingIndex(e,"]]>",o,"CDATA is not closed.")-2;const a=e.substring(o+9,r);if(l){i.val=n.getValue(i.val)+""+processTagValue(i.tagname,l,t);l=""}if(t.cdataTagName){const e=new s(t.cdataTagName,i,a);i.addChild(e);i.val=n.getValue(i.val)+t.cdataPositionChar;if(a){e.val=a}}else{i.val=(i.val||"")+(a||"")}o=r+2}else{const r=closingIndexForOpeningTag(e,o+1);let a=r.data;const c=r.index;const u=a.indexOf(" ");let d=a;let p=true;if(u!==-1){d=a.substr(0,u).replace(/\s\s*$/,"");a=a.substr(u+1)}if(t.ignoreNameSpace){const e=d.indexOf(":");if(e!==-1){d=d.substr(e+1);p=d!==r.data.substr(e+1)}}if(i&&l){if(i.tagname!=="!xml"){i.val=n.getValue(i.val)+""+processTagValue(i.tagname,l,t)}}if(a.length>0&&a.lastIndexOf("/")===a.length-1){if(d[d.length-1]==="/"){d=d.substr(0,d.length-1);a=d}else{a=a.substr(0,a.length-1)}const e=new s(d,i,"");if(d!==a){e.attrsMap=buildAttributesMap(a,t)}i.addChild(e)}else{const e=new s(d,i);if(t.stopNodes.length&&t.stopNodes.includes(e.tagname)){e.startIndex=c}if(d!==a&&p){e.attrsMap=buildAttributesMap(a,t)}i.addChild(e);i=e}l="";o=c}}else{l+=e[o]}}return o};function closingIndexForOpeningTag(e,t){let o;let n="";for(let r=t;r"){return{data:n,index:r}}else if(t==="\t"){t=" "}n+=t}}function findClosingIndex(e,t,o,n){const r=e.indexOf(t,o);if(r===-1){throw new Error(n)}else{return r+t.length-1}}t.getTraversalObj=getTraversalObj},1621:e=>{"use strict";e.exports=(e,t=process.argv)=>{const o=e.startsWith("-")?"":e.length===1?"-":"--";const n=t.indexOf(o+e);const r=t.indexOf("--");return n!==-1&&(r===-1||n0){d("Patching connection write() output buffer with updated header");t=e.output[0];o=t.indexOf("\r\n\r\n")+4;e.output[0]=e._header+t.substring(o);d("Output buffer: %o",e.output)}else if(e.outputData&&e.outputData.length>0){d("Patching connection write() output buffer with updated header");t=e.outputData[0].data;o=t.indexOf("\r\n\r\n")+4;e.outputData[0].data=e._header+t.substring(o);d("Output buffer: %o",e.outputData[0].data)}}yield(0,l.default)(c,"connect");return c}))}}t["default"]=HttpProxyAgent},3764:function(e,t,o){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};const r=n(o(7492));function createHttpProxyAgent(e){return new r.default(e)}(function(e){e.HttpProxyAgent=r.default;e.prototype=r.default.prototype})(createHttpProxyAgent||(createHttpProxyAgent={}));e.exports=createHttpProxyAgent},5098:function(e,t,o){"use strict";var n=this&&this.__awaiter||function(e,t,o,n){function adopt(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,r){function fulfilled(e){try{step(n.next(e))}catch(e){r(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){r(e)}}function step(e){e.done?o(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=r(o(1808));const i=r(o(4404));const a=r(o(7310));const c=r(o(9491));const l=r(o(8237));const u=o(9690);const d=r(o(595));const p=l.default("https-proxy-agent:agent");class HttpsProxyAgent extends u.Agent{constructor(e){let t;if(typeof e==="string"){t=a.default.parse(e)}else{t=e}if(!t){throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!")}p("creating new HttpsProxyAgent instance: %o",t);super(t);const o=Object.assign({},t);this.secureProxy=t.secureProxy||isHTTPS(o.protocol);o.host=o.hostname||o.host;if(typeof o.port==="string"){o.port=parseInt(o.port,10)}if(!o.port&&o.host){o.port=this.secureProxy?443:80}if(this.secureProxy&&!("ALPNProtocols"in o)){o.ALPNProtocols=["http 1.1"]}if(o.host&&o.path){delete o.path;delete o.pathname}this.proxy=o}callback(e,t){return n(this,void 0,void 0,(function*(){const{proxy:o,secureProxy:n}=this;let r;if(n){p("Creating `tls.Socket`: %o",o);r=i.default.connect(o)}else{p("Creating `net.Socket`: %o",o);r=s.default.connect(o)}const a=Object.assign({},o.headers);const l=`${t.host}:${t.port}`;let u=`CONNECT ${l} HTTP/1.1\r\n`;if(o.auth){a["Proxy-Authorization"]=`Basic ${Buffer.from(o.auth).toString("base64")}`}let{host:m,port:g,secureEndpoint:f}=t;if(!isDefaultPort(g,f)){m+=`:${g}`}a.Host=m;a.Connection="close";for(const e of Object.keys(a)){u+=`${e}: ${a[e]}\r\n`}const y=d.default(r);r.write(`${u}\r\n`);const{statusCode:h,buffered:v}=yield y;if(h===200){e.once("socket",resume);if(t.secureEndpoint){p("Upgrading socket connection to TLS");const e=t.servername||t.host;return i.default.connect(Object.assign(Object.assign({},omit(t,"host","hostname","path","port")),{socket:r,servername:e}))}return r}r.destroy();const w=new s.default.Socket({writable:false});w.readable=true;e.once("socket",(e=>{p("replaying proxy buffer for failed request");c.default(e.listenerCount("data")>0);e.push(v);e.push(null)}));return w}))}}t["default"]=HttpsProxyAgent;function resume(e){e.resume()}function isDefaultPort(e,t){return Boolean(!t&&e===80||t&&e===443)}function isHTTPS(e){return typeof e==="string"?/^https:?$/i.test(e):false}function omit(e,...t){const o={};let n;for(n in e){if(!t.includes(n)){o[n]=e[n]}}return o}},7219:function(e,t,o){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};const r=n(o(5098));function createHttpsProxyAgent(e){return new r.default(e)}(function(e){e.HttpsProxyAgent=r.default;e.prototype=r.default.prototype})(createHttpsProxyAgent||(createHttpsProxyAgent={}));e.exports=createHttpsProxyAgent},595:function(e,t,o){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const r=n(o(8237));const s=r.default("https-proxy-agent:parse-proxy-response");function parseProxyResponse(e){return new Promise(((t,o)=>{let n=0;const r=[];function read(){const t=e.read();if(t)ondata(t);else e.once("readable",read)}function cleanup(){e.removeListener("end",onend);e.removeListener("error",onerror);e.removeListener("close",onclose);e.removeListener("readable",read)}function onclose(e){s("onclose had error %o",e)}function onend(){s("onend")}function onerror(e){cleanup();s("onerror %o",e);o(e)}function ondata(e){r.push(e);n+=e.length;const o=Buffer.concat(r,n);const i=o.indexOf("\r\n\r\n");if(i===-1){s("have not received end of HTTP headers yet...");read();return}const a=o.toString("ascii",0,o.indexOf("\r\n"));const c=+a.split(" ")[1];s("got proxy server response: %o",a);t({statusCode:c,buffered:o})}e.on("error",onerror);e.on("close",onclose);e.on("end",onend);read()}))}t["default"]=parseProxyResponse},900:e=>{var t=1e3;var o=t*60;var n=o*60;var r=n*24;var s=r*7;var i=r*365.25;e.exports=function(e,t){t=t||{};var o=typeof e;if(o==="string"&&e.length>0){return parse(e)}else if(o==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a){return}var c=parseFloat(a[1]);var l=(a[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"weeks":case"week":case"w":return c*s;case"days":case"day":case"d":return c*r;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*o;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return undefined}}function fmtShort(e){var s=Math.abs(e);if(s>=r){return Math.round(e/r)+"d"}if(s>=n){return Math.round(e/n)+"h"}if(s>=o){return Math.round(e/o)+"m"}if(s>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var s=Math.abs(e);if(s>=r){return plural(e,s,r,"day")}if(s>=n){return plural(e,s,n,"hour")}if(s>=o){return plural(e,s,o,"minute")}if(s>=t){return plural(e,s,t,"second")}return e+" ms"}function plural(e,t,o,n){var r=t>=o*1.5;return Math.round(e/o)+" "+n+(r?"s":"")}},9318:(e,t,o)=>{"use strict";const n=o(2037);const r=o(6224);const s=o(1621);const{env:i}=process;let a;if(s("no-color")||s("no-colors")||s("color=false")||s("color=never")){a=0}else if(s("color")||s("colors")||s("color=true")||s("color=always")){a=1}if("FORCE_COLOR"in i){if(i.FORCE_COLOR==="true"){a=1}else if(i.FORCE_COLOR==="false"){a=0}else{a=i.FORCE_COLOR.length===0?1:Math.min(parseInt(i.FORCE_COLOR,10),3)}}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e,t){if(a===0){return 0}if(s("color=16m")||s("color=full")||s("color=truecolor")){return 3}if(s("color=256")){return 2}if(e&&!t&&a===undefined){return 0}const o=a||0;if(i.TERM==="dumb"){return o}if(process.platform==="win32"){const e=n.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in i){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in i))||i.CI_NAME==="codeship"){return 1}return o}if("TEAMCITY_VERSION"in i){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0}if(i.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(i.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)){return 1}if("COLORTERM"in i){return 1}return o}function getSupportLevel(e){const t=supportsColor(e,e&&e.isTTY);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,r.isatty(1))),stderr:translateLevel(supportsColor(true,r.isatty(2)))}},4351:e=>{var t;var o;var n;var r;var s;var i;var a;var c;var l;var u;var d;var p;var m;var g;var f;var y;var h;var v;var w;var E;var S;var C;var x;var _;var R;(function(t){var o=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(o,createExporter(e)))}))}else if(true&&typeof e.exports==="object"){t(createExporter(o,createExporter(e.exports)))}else{t(createExporter(o))}function createExporter(e,t){if(e!==o){if(typeof Object.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}return function(o,n){return e[o]=t?t(o,n):n}}})((function(e){var b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o))e[o]=t[o]};t=function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");b(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)};o=Object.assign||function(e){for(var t,o=1,n=arguments.length;o=0;a--)if(i=e[a])s=(r<3?i(s):r>3?i(t,o,s):i(t,o))||s;return r>3&&s&&Object.defineProperty(t,o,s),s};s=function(e,t){return function(o,n){t(o,n,e)}};i=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)};a=function(e,t,o,n){function adopt(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,r){function fulfilled(e){try{step(n.next(e))}catch(e){r(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){r(e)}}function step(e){e.done?o(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};c=function(e,t){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,r,s,i;return i={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function verb(e){return function(t){return step([e,t])}}function step(i){if(n)throw new TypeError("Generator is already executing.");while(o)try{if(n=1,r&&(s=i[0]&2?r["return"]:i[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,i[1])).done)return s;if(r=0,s)i=[i[0]&2,s.value];switch(i[0]){case 0:case 1:s=i;break;case 4:o.label++;return{value:i[1],done:false};case 5:o.label++;r=i[1];i=[0];continue;case 7:i=o.ops.pop();o.trys.pop();continue;default:if(!(s=o.trys,s=s.length>0&&s[s.length-1])&&(i[0]===6||i[0]===2)){o=0;continue}if(i[0]===3&&(!s||i[1]>s[0]&&i[1]=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 o=typeof Symbol==="function"&&e[Symbol.iterator];if(!o)return e;var n=o.call(e),r,s=[],i;try{while((t===void 0||t-- >0)&&!(r=n.next()).done)s.push(r.value)}catch(e){i={error:e}}finally{try{if(r&&!r.done&&(o=n["return"]))o.call(n)}finally{if(i)throw i.error}}return s};p=function(){for(var e=[],t=0;t1||resume(e,t)}))}}function resume(e,t){try{step(n[e](t))}catch(e){settle(s[0][3],e)}}function step(e){e.value instanceof f?Promise.resolve(e.value.v).then(fulfill,reject):settle(s[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),s.shift(),s.length)resume(s[0][0],s[0][1])}};h=function(e){var t,o;return t={},verb("next"),verb("throw",(function(e){throw e})),verb("return"),t[Symbol.iterator]=function(){return this},t;function verb(n,r){t[n]=e[n]?function(t){return(o=!o)?{value:f(e[n](t)),done:n==="return"}:r?r(t):t}:r}};v=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],o;return t?t.call(e):(e=typeof u==="function"?u(e):e[Symbol.iterator](),o={},verb("next"),verb("throw"),verb("return"),o[Symbol.asyncIterator]=function(){return this},o);function verb(t){o[t]=e[t]&&function(o){return new Promise((function(n,r){o=e[t](o),settle(n,r,o.done,o.value)}))}}function settle(e,t,o,n){Promise.resolve(n).then((function(t){e({value:t,done:o})}),t)}};w=function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var P=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t};E=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o))R(t,e,o);P(t,e);return t};S=function(e){return e&&e.__esModule?e:{default:e}};C=function(e,t,o,n){if(o==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return o==="m"?n:o==="a"?n.call(e):n?n.value:t.get(e)};x=function(e,t,o,n,r){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?r.call(e,o):r?r.value=o:t.set(e,o),o};_=function(e,t){if(t===null||typeof t!=="object"&&typeof t!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e==="function"?t===e:e.has(t)};e("__extends",t);e("__assign",o);e("__rest",n);e("__decorate",r);e("__param",s);e("__metadata",i);e("__awaiter",a);e("__generator",c);e("__exportStar",l);e("__createBinding",R);e("__values",u);e("__read",d);e("__spread",p);e("__spreadArrays",m);e("__spreadArray",g);e("__await",f);e("__asyncGenerator",y);e("__asyncDelegator",h);e("__asyncValues",v);e("__makeTemplateObject",w);e("__importStar",E);e("__importDefault",S);e("__classPrivateFieldGet",C);e("__classPrivateFieldSet",x);e("__classPrivateFieldIn",_)}))},4294:(e,t,o)=>{e.exports=o(4219)},4219:(e,t,o)=>{"use strict";var n=o(1808);var r=o(4404);var s=o(3685);var i=o(5687);var a=o(2361);var c=o(9491);var l=o(3837);t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=s.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=s.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=i.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=i.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||s.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",(function onFree(e,o,n,r){var s=toOptions(o,n,r);for(var i=0,a=t.requests.length;i=this.maxSockets){r.requests.push(s);return}r.createSocket(s,(function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){r.emit("free",t,s)}function onCloseOrRemove(e){r.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var o=this;var n={};o.sockets.push(n);var r=mergeOptions({},o.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){r.localAddress=e.localAddress}if(r.proxyAuth){r.headers=r.headers||{};r.headers["Proxy-Authorization"]="Basic "+new Buffer(r.proxyAuth).toString("base64")}u("making CONNECT request");var s=o.request(r);s.useChunkedEncodingByDefault=false;s.once("response",onResponse);s.once("upgrade",onUpgrade);s.once("connect",onConnect);s.once("error",onError);s.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,o){process.nextTick((function(){onConnect(e,t,o)}))}function onConnect(r,i,a){s.removeAllListeners();i.removeAllListeners();if(r.statusCode!==200){u("tunneling socket could not be established, statusCode=%d",r.statusCode);i.destroy();var c=new Error("tunneling socket could not be established, "+"statusCode="+r.statusCode);c.code="ECONNRESET";e.request.emit("error",c);o.removeSocket(n);return}if(a.length>0){u("got illegal response body from proxy");i.destroy();var c=new Error("got illegal response body from proxy");c.code="ECONNRESET";e.request.emit("error",c);o.removeSocket(n);return}u("tunneling connection has established");o.sockets[o.sockets.indexOf(n)]=i;return t(i)}function onError(t){s.removeAllListeners();u("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var r=new Error("tunneling socket could not be established, "+"cause="+t.message);r.code="ECONNRESET";e.request.emit("error",r);o.removeSocket(n)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var o=this.requests.shift();if(o){this.createSocket(o,(function(e){o.request.onSocket(e)}))}};function createSecureSocket(e,t){var o=this;TunnelingAgent.prototype.createSocket.call(o,e,(function(n){var s=e.request.getHeader("host");var i=mergeOptions({},o.options,{socket:n,servername:s?s.replace(/:.*$/,""):e.host});var a=r.connect(0,i);o.sockets[o.sockets.indexOf(n)]=a;t(a)}))}function toOptions(e,t,o){if(typeof e==="string"){return{host:e,port:t,localAddress:o}}return e}function mergeOptions(e){for(var t=1,o=arguments.length;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"v1",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"v3",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"v4",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"v5",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"NIL",{enumerable:true,get:function(){return a.default}});Object.defineProperty(t,"version",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return d.default}});var n=_interopRequireDefault(o(8628));var r=_interopRequireDefault(o(6409));var s=_interopRequireDefault(o(5122));var i=_interopRequireDefault(o(9120));var a=_interopRequireDefault(o(5332));var c=_interopRequireDefault(o(1595));var l=_interopRequireDefault(o(6900));var u=_interopRequireDefault(o(8950));var d=_interopRequireDefault(o(2746));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},4569:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(o(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function md5(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return n.default.createHash("md5").update(e).digest()}var r=md5;t["default"]=r},5332:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var o="00000000-0000-0000-0000-000000000000";t["default"]=o},2746:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(o(6900));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parse(e){if(!(0,n.default)(e)){throw TypeError("Invalid UUID")}let t;const o=new Uint8Array(16);o[0]=(t=parseInt(e.slice(0,8),16))>>>24;o[1]=t>>>16&255;o[2]=t>>>8&255;o[3]=t&255;o[4]=(t=parseInt(e.slice(9,13),16))>>>8;o[5]=t&255;o[6]=(t=parseInt(e.slice(14,18),16))>>>8;o[7]=t&255;o[8]=(t=parseInt(e.slice(19,23),16))>>>8;o[9]=t&255;o[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255;o[11]=t/4294967296&255;o[12]=t>>>24&255;o[13]=t>>>16&255;o[14]=t>>>8&255;o[15]=t&255;return o}var r=parse;t["default"]=r},814:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;t["default"]=o},807:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=rng;var n=_interopRequireDefault(o(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const r=new Uint8Array(256);let s=r.length;function rng(){if(s>r.length-16){n.default.randomFillSync(r);s=0}return r.slice(s,s+=16)}},5274:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(o(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function sha1(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return n.default.createHash("sha1").update(e).digest()}var r=sha1;t["default"]=r},8950:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(o(6900));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const r=[];for(let e=0;e<256;++e){r.push((e+256).toString(16).substr(1))}function stringify(e,t=0){const o=(r[e[t+0]]+r[e[t+1]]+r[e[t+2]]+r[e[t+3]]+"-"+r[e[t+4]]+r[e[t+5]]+"-"+r[e[t+6]]+r[e[t+7]]+"-"+r[e[t+8]]+r[e[t+9]]+"-"+r[e[t+10]]+r[e[t+11]]+r[e[t+12]]+r[e[t+13]]+r[e[t+14]]+r[e[t+15]]).toLowerCase();if(!(0,n.default)(o)){throw TypeError("Stringified UUID is invalid")}return o}var s=stringify;t["default"]=s},8628:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(o(807));var r=_interopRequireDefault(o(8950));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let s;let i;let a=0;let c=0;function v1(e,t,o){let l=t&&o||0;const u=t||new Array(16);e=e||{};let d=e.node||s;let p=e.clockseq!==undefined?e.clockseq:i;if(d==null||p==null){const t=e.random||(e.rng||n.default)();if(d==null){d=s=[t[0]|1,t[1],t[2],t[3],t[4],t[5]]}if(p==null){p=i=(t[6]<<8|t[7])&16383}}let m=e.msecs!==undefined?e.msecs:Date.now();let g=e.nsecs!==undefined?e.nsecs:c+1;const f=m-a+(g-c)/1e4;if(f<0&&e.clockseq===undefined){p=p+1&16383}if((f<0||m>a)&&e.nsecs===undefined){g=0}if(g>=1e4){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}a=m;c=g;i=p;m+=122192928e5;const y=((m&268435455)*1e4+g)%4294967296;u[l++]=y>>>24&255;u[l++]=y>>>16&255;u[l++]=y>>>8&255;u[l++]=y&255;const h=m/4294967296*1e4&268435455;u[l++]=h>>>8&255;u[l++]=h&255;u[l++]=h>>>24&15|16;u[l++]=h>>>16&255;u[l++]=p>>>8|128;u[l++]=p&255;for(let e=0;e<6;++e){u[l+e]=d[e]}return t||(0,r.default)(u)}var l=v1;t["default"]=l},6409:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(o(5998));var r=_interopRequireDefault(o(4569));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=(0,n.default)("v3",48,r.default);var i=s;t["default"]=i},5998:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;t.URL=t.DNS=void 0;var n=_interopRequireDefault(o(8950));var r=_interopRequireDefault(o(2746));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function stringToBytes(e){e=unescape(encodeURIComponent(e));const t=[];for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(o(807));var r=_interopRequireDefault(o(8950));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function v4(e,t,o){e=e||{};const s=e.random||(e.rng||n.default)();s[6]=s[6]&15|64;s[8]=s[8]&63|128;if(t){o=o||0;for(let e=0;e<16;++e){t[o+e]=s[e]}return t}return(0,r.default)(s)}var s=v4;t["default"]=s},9120:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(o(5998));var r=_interopRequireDefault(o(5274));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=(0,n.default)("v5",80,r.default);var i=s;t["default"]=i},6900:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(o(814));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function validate(e){return typeof e==="string"&&n.default.test(e)}var r=validate;t["default"]=r},1595:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(o(6900));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function version(e){if(!(0,n.default)(e)){throw TypeError("Invalid UUID")}return parseInt(e.substr(14,1),16)}var r=version;t["default"]=r},6949:function(e,t,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,o,n){if(n===undefined)n=o;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[o]}})}:function(e,t,o,n){if(n===undefined)n=o;e[n]=t[o]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o))n(t,e,o);r(t,e);return t};var i=this&&this.__awaiter||function(e,t,o,n){function adopt(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,r){function fulfilled(e){try{step(n.next(e))}catch(e){r(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){r(e)}}function step(e){e.done?o(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getRegistriesData=t.getAccountIDs=t.getRegion=t.isPubECR=t.isECR=void 0;const a=s(o(2186));const c=o(8923);const l=o(2308);const u=o(8805);const d=o(3764);const p=o(7219);const m=/^(([0-9]{12})\.dkr\.ecr\.(.+)\.amazonaws\.com(.cn)?)(\/([^:]+)(:.+)?)?$/;const isECR=e=>m.test(e)||(0,t.isPubECR)(e);t.isECR=isECR;const isPubECR=e=>e==="public.ecr.aws";t.isPubECR=isPubECR;const getRegion=e=>{if((0,t.isPubECR)(e)){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}const o=e.match(m);if(!o){return""}return o[3]};t.getRegion=getRegion;const getAccountIDs=e=>{if((0,t.isPubECR)(e)){return[]}const o=e.match(m);if(!o){return[]}const n=[o[2]];if(process.env.AWS_ACCOUNT_IDS){n.push(...process.env.AWS_ACCOUNT_IDS.split(","))}return n.filter(((e,t)=>n.indexOf(e)===t))};t.getAccountIDs=getAccountIDs;const getRegistriesData=(e,o,n)=>i(void 0,void 0,void 0,(function*(){const r=(0,t.getRegion)(e);const s=(0,t.getAccountIDs)(e);const i={};if(s.length>0){a.debug(`Requesting AWS ECR auth token for ${s.join(", ")}`);i["registryIds"]=s}let m;const g=process.env.http_proxy||process.env.HTTP_PROXY||"";if(g){a.debug(`Using http proxy ${g}`);m=new d.HttpProxyAgent(g)}let f;const y=process.env.https_proxy||process.env.HTTPS_PROXY||"";if(y){a.debug(`Using https proxy ${y}`);f=new p.HttpsProxyAgent(y)}const h=o&&n?{accessKeyId:o,secretAccessKey:n}:undefined;if((0,t.isPubECR)(e)){a.info(`AWS Public ECR detected with ${r} region`);const e=new l.ECRPUBLIC({customUserAgent:"docker-login-action",credentials:h,region:r,requestHandler:new u.NodeHttpHandler({httpAgent:m,httpsAgent:f})});const t=yield e.getAuthorizationToken(i);if(!t.authorizationData||!t.authorizationData.authorizationToken){throw new Error("Could not retrieve an authorization token from AWS Public ECR")}const o=Buffer.from(t.authorizationData.authorizationToken,"base64").toString("utf-8");const n=o.split(":",2);a.setSecret(n[0]);a.setSecret(n[1]);return[{registry:"public.ecr.aws",username:n[0],password:n[1]}]}else{a.info(`AWS ECR detected with ${r} region`);const e=new c.ECR({customUserAgent:"docker-login-action",credentials:h,region:r,requestHandler:new u.NodeHttpHandler({httpAgent:m,httpsAgent:f})});const t=yield e.getAuthorizationToken(i);if(!Array.isArray(t.authorizationData)||!t.authorizationData.length){throw new Error("Could not retrieve an authorization token from AWS ECR")}const o=[];for(const e of t.authorizationData){const t=Buffer.from(e.authorizationToken||"","base64").toString("utf-8");const n=t.split(":",2);a.setSecret(n[0]);a.setSecret(n[1]);o.push({registry:e.proxyEndpoint||"",username:n[0],password:n[1]})}return o}}));t.getRegistriesData=getRegistriesData},8954:function(e,t,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,o,n){if(n===undefined)n=o;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[o]}})}:function(e,t,o,n){if(n===undefined)n=o;e[n]=t[o]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o))n(t,e,o);r(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getInputs=void 0;const i=s(o(2186));function getInputs(){return{registry:i.getInput("registry"),username:i.getInput("username"),password:i.getInput("password"),ecr:i.getInput("ecr"),logout:i.getBooleanInput("logout")}}t.getInputs=getInputs},6512:function(e,t,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,o,n){if(n===undefined)n=o;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[o]}})}:function(e,t,o,n){if(n===undefined)n=o;e[n]=t[o]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o))n(t,e,o);r(t,e);return t};var i=this&&this.__awaiter||function(e,t,o,n){function adopt(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,r){function fulfilled(e){try{step(n.next(e))}catch(e){r(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){r(e)}}function step(e){e.done?o(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.loginECR=t.loginStandard=t.logout=t.login=void 0;const a=s(o(6949));const c=s(o(2186));const l=s(o(1514));function login(e,t,o,n){return i(this,void 0,void 0,(function*(){if(/true/i.test(n)||n=="auto"&&a.isECR(e)){yield loginECR(e,t,o)}else{yield loginStandard(e,t,o)}}))}t.login=login;function logout(e){return i(this,void 0,void 0,(function*(){yield l.getExecOutput("docker",["logout",e],{ignoreReturnCode:true}).then((e=>{if(e.stderr.length>0&&e.exitCode!=0){c.warning(e.stderr.trim())}}))}))}t.logout=logout;function loginStandard(e,t,o){return i(this,void 0,void 0,(function*(){if(!t||!o){throw new Error("Username and password required")}const n=["login","--password-stdin"];n.push("--username",t);n.push(e);if(e){c.info(`Logging into ${e}...`)}else{c.info(`Logging into Docker Hub...`)}yield l.getExecOutput("docker",n,{ignoreReturnCode:true,silent:true,input:Buffer.from(o)}).then((e=>{if(e.stderr.length>0&&e.exitCode!=0){throw new Error(e.stderr.trim())}c.info(`Login Succeeded!`)}))}))}t.loginStandard=loginStandard;function loginECR(e,t,o){return i(this,void 0,void 0,(function*(){c.info(`Retrieving registries data through AWS SDK...`);const n=yield a.getRegistriesData(e,t,o);for(const e of n){c.info(`Logging into ${e.registry}...`);yield l.getExecOutput("docker",["login","--password-stdin","--username",e.username,e.registry],{ignoreReturnCode:true,silent:true,input:Buffer.from(e.password)}).then((e=>{if(e.stderr.length>0&&e.exitCode!=0){throw new Error(e.stderr.trim())}c.info("Login Succeeded!")}))}}))}t.loginECR=loginECR},399:function(e,t,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,o,n){if(n===undefined)n=o;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[o]}})}:function(e,t,o,n){if(n===undefined)n=o;e[n]=t[o]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o))n(t,e,o);r(t,e);return t};var i=this&&this.__awaiter||function(e,t,o,n){function adopt(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,r){function fulfilled(e){try{step(n.next(e))}catch(e){r(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){r(e)}}function step(e){e.done?o(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.run=void 0;const a=s(o(2186));const c=s(o(8954));const l=s(o(6512));const u=s(o(963));function run(){return i(this,void 0,void 0,(function*(){try{const e=c.getInputs();u.setRegistry(e.registry);u.setLogout(e.logout);yield l.login(e.registry,e.username,e.password,e.ecr)}catch(e){a.setFailed(e.message)}}))}t.run=run;function logout(){return i(this,void 0,void 0,(function*(){if(!u.logout){return}yield l.logout(u.registry)}))}if(!u.IsPost){run()}else{logout()}},963:function(e,t,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,o,n){if(n===undefined)n=o;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[o]}})}:function(e,t,o,n){if(n===undefined)n=o;e[n]=t[o]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o))n(t,e,o);r(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.setLogout=t.setRegistry=t.logout=t.registry=t.IsPost=void 0;const i=s(o(2186));t.IsPost=!!process.env["STATE_isPost"];t.registry=process.env["STATE_registry"]||"";t.logout=/true/i.test(process.env["STATE_logout"]||"");function setRegistry(e){i.saveState("registry",e)}t.setRegistry=setRegistry;function setLogout(e){i.saveState("logout",e)}t.setLogout=setLogout;if(!t.IsPost){i.saveState("isPost","true")}},7578:module=>{module.exports=eval("require")("aws-crt")},9491:e=>{"use strict";e.exports=require("assert")},4300:e=>{"use strict";e.exports=require("buffer")},2081:e=>{"use strict";e.exports=require("child_process")},6113:e=>{"use strict";e.exports=require("crypto")},2361:e=>{"use strict";e.exports=require("events")},7147:e=>{"use strict";e.exports=require("fs")},3685:e=>{"use strict";e.exports=require("http")},5158:e=>{"use strict";e.exports=require("http2")},5687:e=>{"use strict";e.exports=require("https")},1808:e=>{"use strict";e.exports=require("net")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},7282:e=>{"use strict";e.exports=require("process")},2781:e=>{"use strict";e.exports=require("stream")},1576:e=>{"use strict";e.exports=require("string_decoder")},9512:e=>{"use strict";e.exports=require("timers")},4404:e=>{"use strict";e.exports=require("tls")},6224:e=>{"use strict";e.exports=require("tty")},7310:e=>{"use strict";e.exports=require("url")},3837:e=>{"use strict";e.exports=require("util")},5929:e=>{"use strict";e.exports=JSON.parse('{"name":"@aws-sdk/client-ecr-public","description":"AWS SDK for JavaScript Ecr Public Client for Node.js, Browser and React Native","version":"3.186.0","scripts":{"build":"concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"2.0.0","@aws-crypto/sha256-js":"2.0.0","@aws-sdk/client-sts":"3.186.0","@aws-sdk/config-resolver":"3.186.0","@aws-sdk/credential-provider-node":"3.186.0","@aws-sdk/fetch-http-handler":"3.186.0","@aws-sdk/hash-node":"3.186.0","@aws-sdk/invalid-dependency":"3.186.0","@aws-sdk/middleware-content-length":"3.186.0","@aws-sdk/middleware-host-header":"3.186.0","@aws-sdk/middleware-logger":"3.186.0","@aws-sdk/middleware-recursion-detection":"3.186.0","@aws-sdk/middleware-retry":"3.186.0","@aws-sdk/middleware-serde":"3.186.0","@aws-sdk/middleware-signing":"3.186.0","@aws-sdk/middleware-stack":"3.186.0","@aws-sdk/middleware-user-agent":"3.186.0","@aws-sdk/node-config-provider":"3.186.0","@aws-sdk/node-http-handler":"3.186.0","@aws-sdk/protocol-http":"3.186.0","@aws-sdk/smithy-client":"3.186.0","@aws-sdk/types":"3.186.0","@aws-sdk/url-parser":"3.186.0","@aws-sdk/util-base64-browser":"3.186.0","@aws-sdk/util-base64-node":"3.186.0","@aws-sdk/util-body-length-browser":"3.186.0","@aws-sdk/util-body-length-node":"3.186.0","@aws-sdk/util-defaults-mode-browser":"3.186.0","@aws-sdk/util-defaults-mode-node":"3.186.0","@aws-sdk/util-user-agent-browser":"3.186.0","@aws-sdk/util-user-agent-node":"3.186.0","@aws-sdk/util-utf8-browser":"3.186.0","@aws-sdk/util-utf8-node":"3.186.0","tslib":"^2.3.1"},"devDependencies":{"@aws-sdk/service-client-documentation-generator":"3.186.0","@tsconfig/recommended":"1.0.1","@types/node":"^12.7.5","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typedoc":"0.19.2","typescript":"~4.6.2"},"overrides":{"typedoc":{"typescript":"~4.6.2"}},"engines":{"node":">=12.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ecr-public","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-ecr-public"}}')},4289:e=>{"use strict";e.exports=JSON.parse('{"name":"@aws-sdk/client-ecr","description":"AWS SDK for JavaScript Ecr Client for Node.js, Browser and React Native","version":"3.186.0","scripts":{"build":"concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"2.0.0","@aws-crypto/sha256-js":"2.0.0","@aws-sdk/client-sts":"3.186.0","@aws-sdk/config-resolver":"3.186.0","@aws-sdk/credential-provider-node":"3.186.0","@aws-sdk/fetch-http-handler":"3.186.0","@aws-sdk/hash-node":"3.186.0","@aws-sdk/invalid-dependency":"3.186.0","@aws-sdk/middleware-content-length":"3.186.0","@aws-sdk/middleware-host-header":"3.186.0","@aws-sdk/middleware-logger":"3.186.0","@aws-sdk/middleware-recursion-detection":"3.186.0","@aws-sdk/middleware-retry":"3.186.0","@aws-sdk/middleware-serde":"3.186.0","@aws-sdk/middleware-signing":"3.186.0","@aws-sdk/middleware-stack":"3.186.0","@aws-sdk/middleware-user-agent":"3.186.0","@aws-sdk/node-config-provider":"3.186.0","@aws-sdk/node-http-handler":"3.186.0","@aws-sdk/protocol-http":"3.186.0","@aws-sdk/smithy-client":"3.186.0","@aws-sdk/types":"3.186.0","@aws-sdk/url-parser":"3.186.0","@aws-sdk/util-base64-browser":"3.186.0","@aws-sdk/util-base64-node":"3.186.0","@aws-sdk/util-body-length-browser":"3.186.0","@aws-sdk/util-body-length-node":"3.186.0","@aws-sdk/util-defaults-mode-browser":"3.186.0","@aws-sdk/util-defaults-mode-node":"3.186.0","@aws-sdk/util-user-agent-browser":"3.186.0","@aws-sdk/util-user-agent-node":"3.186.0","@aws-sdk/util-utf8-browser":"3.186.0","@aws-sdk/util-utf8-node":"3.186.0","@aws-sdk/util-waiter":"3.186.0","tslib":"^2.3.1"},"devDependencies":{"@aws-sdk/service-client-documentation-generator":"3.186.0","@tsconfig/recommended":"1.0.1","@types/node":"^12.7.5","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typedoc":"0.19.2","typescript":"~4.6.2"},"overrides":{"typedoc":{"typescript":"~4.6.2"}},"engines":{"node":">=12.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ecr","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-ecr"}}')},1092:e=>{"use strict";e.exports=JSON.parse('{"name":"@aws-sdk/client-sso","description":"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native","version":"3.186.0","scripts":{"build":"concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"2.0.0","@aws-crypto/sha256-js":"2.0.0","@aws-sdk/config-resolver":"3.186.0","@aws-sdk/fetch-http-handler":"3.186.0","@aws-sdk/hash-node":"3.186.0","@aws-sdk/invalid-dependency":"3.186.0","@aws-sdk/middleware-content-length":"3.186.0","@aws-sdk/middleware-host-header":"3.186.0","@aws-sdk/middleware-logger":"3.186.0","@aws-sdk/middleware-recursion-detection":"3.186.0","@aws-sdk/middleware-retry":"3.186.0","@aws-sdk/middleware-serde":"3.186.0","@aws-sdk/middleware-stack":"3.186.0","@aws-sdk/middleware-user-agent":"3.186.0","@aws-sdk/node-config-provider":"3.186.0","@aws-sdk/node-http-handler":"3.186.0","@aws-sdk/protocol-http":"3.186.0","@aws-sdk/smithy-client":"3.186.0","@aws-sdk/types":"3.186.0","@aws-sdk/url-parser":"3.186.0","@aws-sdk/util-base64-browser":"3.186.0","@aws-sdk/util-base64-node":"3.186.0","@aws-sdk/util-body-length-browser":"3.186.0","@aws-sdk/util-body-length-node":"3.186.0","@aws-sdk/util-defaults-mode-browser":"3.186.0","@aws-sdk/util-defaults-mode-node":"3.186.0","@aws-sdk/util-user-agent-browser":"3.186.0","@aws-sdk/util-user-agent-node":"3.186.0","@aws-sdk/util-utf8-browser":"3.186.0","@aws-sdk/util-utf8-node":"3.186.0","tslib":"^2.3.1"},"devDependencies":{"@aws-sdk/service-client-documentation-generator":"3.186.0","@tsconfig/recommended":"1.0.1","@types/node":"^12.7.5","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typedoc":"0.19.2","typescript":"~4.6.2"},"overrides":{"typedoc":{"typescript":"~4.6.2"}},"engines":{"node":">=12.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-sso"}}')},7947:e=>{"use strict";e.exports=JSON.parse('{"name":"@aws-sdk/client-sts","description":"AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native","version":"3.186.0","scripts":{"build":"concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","test":"yarn test:unit","test:unit":"jest"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"2.0.0","@aws-crypto/sha256-js":"2.0.0","@aws-sdk/config-resolver":"3.186.0","@aws-sdk/credential-provider-node":"3.186.0","@aws-sdk/fetch-http-handler":"3.186.0","@aws-sdk/hash-node":"3.186.0","@aws-sdk/invalid-dependency":"3.186.0","@aws-sdk/middleware-content-length":"3.186.0","@aws-sdk/middleware-host-header":"3.186.0","@aws-sdk/middleware-logger":"3.186.0","@aws-sdk/middleware-recursion-detection":"3.186.0","@aws-sdk/middleware-retry":"3.186.0","@aws-sdk/middleware-sdk-sts":"3.186.0","@aws-sdk/middleware-serde":"3.186.0","@aws-sdk/middleware-signing":"3.186.0","@aws-sdk/middleware-stack":"3.186.0","@aws-sdk/middleware-user-agent":"3.186.0","@aws-sdk/node-config-provider":"3.186.0","@aws-sdk/node-http-handler":"3.186.0","@aws-sdk/protocol-http":"3.186.0","@aws-sdk/smithy-client":"3.186.0","@aws-sdk/types":"3.186.0","@aws-sdk/url-parser":"3.186.0","@aws-sdk/util-base64-browser":"3.186.0","@aws-sdk/util-base64-node":"3.186.0","@aws-sdk/util-body-length-browser":"3.186.0","@aws-sdk/util-body-length-node":"3.186.0","@aws-sdk/util-defaults-mode-browser":"3.186.0","@aws-sdk/util-defaults-mode-node":"3.186.0","@aws-sdk/util-user-agent-browser":"3.186.0","@aws-sdk/util-user-agent-node":"3.186.0","@aws-sdk/util-utf8-browser":"3.186.0","@aws-sdk/util-utf8-node":"3.186.0","entities":"2.2.0","fast-xml-parser":"3.19.0","tslib":"^2.3.1"},"devDependencies":{"@aws-sdk/service-client-documentation-generator":"3.186.0","@tsconfig/recommended":"1.0.1","@types/node":"^12.7.5","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typedoc":"0.19.2","typescript":"~4.6.2"},"overrides":{"typedoc":{"typescript":"~4.6.2"}},"engines":{"node":">=12.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sts","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-sts"}}')},3600:e=>{"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},9323:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},9591:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},2586:e=>{"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')}};var __webpack_module_cache__={};function __nccwpck_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var o=__webpack_module_cache__[e]={exports:{}};var n=true;try{__webpack_modules__[e].call(o.exports,o,o.exports,__nccwpck_require__);n=false}finally{if(n)delete __webpack_module_cache__[e]}return o.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var __webpack_exports__=__nccwpck_require__(399);module.exports=__webpack_exports__})(); //# sourceMappingURL=index.js.map